i want to pair 5-6 phones to my ble chip and chip will not discoverable to others. any one know the code for this.? thanks in advance
i want to pair 5-6 phones to my ble chip and chip will not discoverable to others. any one know the code for this.? thanks in advance
You mean that your nRF5x application is BLE GAP Peripheral device (broadcasting/advertising) and you want control or limit number/type of connecting BLE GAP Central devices?
yup exactly... any idea you have?
Well you can perform directed advertisement with whitelist, proper BLE central devices should respect that and only whitelisted devices should detect it and connect. However you obviously cannot magically disappear from spectrum so your advertisement packets will be detected by all observing radios and those stacks which support it will pass this to the application (you can take any sniffer device as example). In case that some device don't respect broadcasted whitelist you can also disconnect from peripheral side right after CONNECT_REQ based on whatever information you receive (and peer MAC address is available to you).
You can read more about advertisement with whitelist in SDK documentation here and here.
Cheers Jan
ok thanks. is it possible to make my phone central device?
Sure, that's the default mode for most of BLE applications on "host" side. Both iOS and Android APIs support it, that's the mode where nRF MCP app operates etc. The rest you should consult with your mobile app developer I guess...;)