sandeepmistry / arduino-BLEPeripheral

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

save pairing data of more than one device #213

Closed cheeta1 closed 6 years ago

cheeta1 commented 6 years ago

hi there. i am trying to make a hid keyboard which can save the pairing data of multiple mobile. i was going through the code and found the following lines in nrf51822.cpp

image

does that means that in this library there is only support of saving bonding data of one device?

i looked at the nordic sdk and they have a list for the bonded devices

image

can we make a similar thing in this library as well?

this kind of functionality i intend to implement https://www.youtube.com/watch?v=zZRuJXXi-Ew&feature=youtu.be

thanks again for the awesome library

sandeepmistry commented 6 years ago

does that means that in this library there is only support of saving bonding data of one device?

That's correct.

can we make a similar thing in this library as well?

Sure, the code is open source so modify as you wish.

The nRF8001 only supports a single paired device, so the nRF51 code is based around this.