How to get BT MAC addr when using NimBLE
Posted: Mon Aug 26, 2019 3:40 am
Hi guys,
I have a question regarding how to get bluetooth device address. for the Bluedroid stack, it states clearly that after “esp_bluedroid_enable”, one is able to call this function " esp_bt_dev_get_address(void)" to get the bt mac address. it works OK.
However for the NimBLE stack, i have been looking for examples or API documents and there are none explaining how to get the MAC addr for BT when using this stack. Any clues would be appreciated, thanks.
I have a question regarding how to get bluetooth device address. for the Bluedroid stack, it states clearly that after “esp_bluedroid_enable”, one is able to call this function " esp_bt_dev_get_address(void)" to get the bt mac address. it works OK.
However for the NimBLE stack, i have been looking for examples or API documents and there are none explaining how to get the MAC addr for BT when using this stack. Any clues would be appreciated, thanks.