This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to setup server/device address in blueNRG along with stm32l053r8t6 nucleo in keil

Hi,

how to differentiate two BLE module using there device address?

i am using blueNRG module ,so how can i setup server/device address for two BlueNRG module

/********************************* Ref code *********************************************/

uint8_t SERVER_BDADDR[] = {0x12, 0x34, 0x00, 0xE1, 0x80, 0x03}; // how to generate this address which is device address

/* The Nucleo board must be configured as SERVER */

Osal_MemCpy(bdaddr, SERVER_BDADDR, sizeof(SERVER_BDADDR));

ret = aci_hal_write_config_data(CONFIG_DATA_PUBADDR_OFFSET, CONFIG_DATA_PUBADDR_LEN, bdaddr);

/********************************* Ref code *********************************************/