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.

CC2640R2F: Why the MAC address is dynamic after booting up every time?

Part Number: CC2640R2F

Dear TI expert:

==== My code enviroment showed as following ====

My SDK version is : 3_40

IDE Tool: CCS 9.1.0

Using Example: examples\rtos\CC2640R2_LAUNCHXL\ble5apps\simple_serial_socket_server

==============================================

Description:

 I use the mobile phone App named "Bluefruit Connect" to scan the TI CC2640R2F.

But the address field always different after I restart CC2640R2F.

Is this a normal situation? The address is the BT MAC Address? It seems different with the MAC address which I read from the "Flash Programmer 2 Tool"

Or it is a special function?

Thanks!

  • Hi,

    If you haven't change the code provided, then the server is set to use Resolvable Private Address with Public Identity Address. This is done in simple_serial_socket_server.c:

      //Initialize GAP layer for Peripheral role and register to receive GAP events
      GAP_DeviceInit(GAP_PROFILE_PERIPHERAL, selfEntity, ADDRMODE_RP_WITH_PUBLIC_ID, NULL);

    You can change the address mode to any other address mode type (see structure GAP_Addr_Modes_t in gap.h). For example, selecting "ADDRMODE_PUBLIC" would ask the device to use its public address i.e. would remain the same across the time. 

    I hope this will help,

    Kind regards,