Hi,
I have 2 DA1469x Dev Kit Pro's that I'm trying to get talking to each other over BLE - one as central, the other as peripheral. I'm using the ble_multi_link code as a starting point. I'm also using nRF Connect on my Android phone to scan and connect to the dev kits. If I load the ble_multi_link code onto both of my boards, I can only see one of them at a time from nRF Connect. I believe this is because both boards have the same BLE address - 01:00:80:CA:EA:80. I've tried to call ble_gap_address_set() to change the address, but that does not seem to change it - I'm using ble_gap_address_get() to verify if the address changed. I also tried loading the pxp_reporter code onto one of the boards, but that also results in the same BLE address.
What is the right way to resolve the issue with both boards having the same address?
Thanks...
Brian
Hi bpeavey,
Please try to use the ble_adv example of the SDK and change the BD address. You should add the following macro definition in the custom_config_xxxx.h :
#define defaultBLE_STATIC_ADDRESS { 0xFE, 0xCA, 0xFE, 0xCA, 0xEA, 0x80 }
First, connect to the multilink application from the phone. Name of device shall be "Dialog Multi-link". After a successful connection, the device will become the main device: the main device controls which peers the Dialog Multi-link shall connect to.
Find the Peripheral Address characteristic and write one or more BD addresses of peripheral devices which you would like Dialog Multi-link to connect to. The first octet of data written to Peripheral Address characteristic is the address type, either public (0x00) or private (0x01). The next 6 octets represent the BD address. In order to connect to a device with public address 80:EA:CA:FE:CA:FE, the data written to the characteristic should be: [0x00 0xFE 0xCA 0xFE 0xCA 0xEA 0x80]
Thanks, PM_Dialog
SmartSnippets toolbox can change the BD_ADDRESS of a board from parameter partition through the QSPI Parititon Table menu.
Good to know this is an option - I will try it out as well