sandeepmistry / arduino-BLEPeripheral

An Arduino library for creating custom BLE peripherals with Nordic Semiconductor's nRF8001 or nR51822.
MIT License
462 stars 179 forks source link

how to make pairing between device and board #96

Closed iqbalpalemad closed 7 years ago

iqbalpalemad commented 7 years ago

i am using blend micro in my project.i want to connect only one device to the blend micro and i have to block all other request to the board when there is a paired device.and i want to connect one another device only when a certain conditions are occurred how can i do that...........?

sandeepmistry commented 7 years ago

Hi @iqbalpalemad,

A white list is not supported at this time, and probably won't be in the road map. As a workaround you can add an event listener for the connect event and disconnect if the central's address doesn't meet you expectations.

sandeepmistry commented 7 years ago

Question answered, closing.