cancel
Showing results for 
Search instead for 
Did you mean: 

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

mvaustin03
Associate
Posted on December 11, 2015 at 07:15

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

#bluenrg #stm32l053r8t6-nucleop
0 REPLIES 0