White List for Passive BLE Observer | Cypress Semiconductor
White List for Passive BLE Observer
Hi. I want a passive BLE Observer to accept advertising packets from one and only one designated BLE Peripheral. Is this possible? I've studied the Cypress BLE_Whitelist project on GitHub but I am still having trouble. I believe all I need to do is, in my Observer's main.c, pass my designated Peripheral's 6 byte public address by calling CyBle_GapAddDeviceToWhiteList(). Then if my Observer is set to passive scanning and whitelist only filtering, it should work, correct?
The problem I am having is correctly getting the designated Peripheral's 6 byte address into the bdAddr of my CYBLE_GAP_BD_ADDR_T struct. Could you show me what that should look like?