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.

BLE with unique ID

Hi,

I would like to have a unique ID for each of the BLE peripheral device.

How can i do it?

BR 

Gautam

  • Hi,

    There are a couple of ways depending on how and when you need the device address:

    1) Within the Peripheral Devices, you can use API GAPRole_GetParameter(GAPROLE_BD_ADDR, ownAddress);

    2) Read the address manually from chip using Flash Programmer.

    3) From the Central Device, example is found in simpleBLECentral, see simpleBLECentralEventCB function where simpleBLEAddDeviceInfo is called after the device discovery has been performed (GAP_DEVICE_INFO_EVENT). Note that this is before actually connecting to the device. 

    Best Regards

  • This below code is better to get the information simply.

      uint8 volatile *externalMemory = (uint8 volatile *)0x780E;
      osal_memcpy(ownAddress, (void*)externalMemory, B_ADDR_LEN);

    John