Hello,
I am attempting to program nRF52 DK modules to communicate using the UART over BLE central and peripheral roles as in the examples provided in SDK 15.2. The data transmitted is a string of 4 characters which is generated on the peripheral end. I would like to implement this in a configuration of 5 pairs of modules that are using whitelisting.
I have followed the case example found here https://devzone.nordicsemi.com/f/nordic-q-a/21941/how-to-implement-whitelist-in-sdk12-2-0 to make the changes on the peripheral end. In advertising_init(), I included this line (init.config.ble_adv_whitelist_enabled = true;) to enable whitelisting, as well as included the changes suggested by the case example. The one difference I made to the example, was to provide the advertising module instance in ble_advertising_whitelist_reply(), like this (err_code = ble_advertising_whitelist_reply(&m_advertising, &whitelist_addr, 1, NULL, 0);). I am able to sent characters from peripheral to central using Putty, and once the whitelist functionality is enabled on the peripheral end, that ability goes away, which leads me to believe that the peripheral is set up correctly.
I need some help setting up the central end for whitelisting, and to set up the advertising packets to sent the 4 characters from peripheral to central as mentioned above please. I am hoping that there are some tutorials that you can point me to to shed some clarity on this topic for me.
I am using Segger (release 4.10a), SDK 15.2.0, PCA 10040, Soft device S132 on a Windows 10 machine (Version 10.0.17134, Processor Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2694 Mhz, 4 Core(s), 8 Logical Processor(s), with 16Gb Ram).
Thank you in advance for your time!
Alin