Other Parts Discussed in Thread: CC2541
I'm using CC2541 in a Peripheral Role. I believe it should be possible to enable the White List in the Peripheral device, which should then mean the Peripheral will *only* accept connection requests from (bonded) devices in the White List.
How do I enable this feature in the Peripheral? Is it as simple as setting the GAPBOND_AUTO_SYNC_WL parameter to TRUE?
Will this then prevent the Peripheral from accepting connection requests from devices that are not in the White List?
If my above understanding is correct... when the Peripheral device boots, what is the correct way to decide whether I should enable the White List? Is this as easy as reading the GAPBOND_BOND_COUNT parameter, and if it's greater than zero, then I can enable the White List? Anything else I need to watch out for here?
Thanks for your help!