This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC26X2R1: Finding BLE MAC Address

Part Number: LAUNCHXL-CC26X2R1

Device: CC26X2R1 LaunchXL

SDK :simplelink_cc13x2_26x2_sdk_5_20_00_52

Hi TI,

I want to get the BLE MAC Address

I have an old procedure  for CC2640R2

 GAPRole_GetParameter(GAPROLE_BD_ADDR, u8_macAddress, NULL);

 for (uint8_t u8_index = 0; u8_index < B_ADDR_LEN; u8_index++)
 {

pu8_macAddr[u8_index] = u8_macAddress[(B_ADDR_LEN - 1) - u8_index];
 }

 *(pu16_size) = (uint16_t) B_ADDR_LEN;

GAPRole_GetParameter is defined in multi.h in  simplelink_cc2640r2_sdk_5_10_00_02 for CC2640R2 but in simplelink_cc13x2_26x2_sdk_5_20_00_52 for CC26x2R1 multi.h is discarded and lot of  API's also changed .

I see that in migration of CC2640R2 to CC26X2R1 the API  GAPROLE_BD_ADDR is changed to HCI_ReadBDADDRCmd() I see it's working as it is returning only HCI_Success but it not giving any BLE MAC address .

Can you suggest me the method to get the BLE MAC Address (as of I have mentioned for CC2640R2  in green) and the API's exactly related to it in detail please.