AnsweredAssumed Answered

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

Question asked by austin.m_v on Dec 11, 2015

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 *********************************************/

Outcomes