summaryrefslogtreecommitdiffstats
path: root/btif/include/btif_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'btif/include/btif_common.h')
-rw-r--r--btif/include/btif_common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/btif/include/btif_common.h b/btif/include/btif_common.h
index 2c4276d92..7e8c50640 100644
--- a/btif/include/btif_common.h
+++ b/btif/include/btif_common.h
@@ -145,6 +145,16 @@ enum
#define PERSIST_BDADDR_PROPERTY "persist.service.bdroid.bdaddr"
#endif
+/**
+ * FACTORY_BT_BDADDR_PROPERTY
+ * If there is no valid bdaddr available from PROPERTY_BT_BDADDR_PATH
+ * and there is no available persistent bdaddr available from
+ * PERSIST_BDADDR_PROPERTY use a factory set address
+ */
+#ifndef FACTORY_BT_ADDR_PROPERTY
+#define FACTORY_BT_ADDR_PROPERTY "ro.boot.btmacaddr"
+#endif
+
#define FACTORY_BT_BDADDR_STORAGE_LEN 17