Hello,
I tested nRF51822 with ble_app_hids_keyboard example, i found it cannot pair with more than one devices.
Procedures:
- Pair PCA10001 with iPhone#1, it can be paired and connected.
- Turn off Bluetooth of iPhone#1 and try to pair PCA10001 with iPhone#2. Although the name of HID keyboard can be scanned but it cannot be paired.
- Reset PCA10001 and try to pair with iPhone#2 again, pairing is succeed.
Sometimes in step 2, I can pair and connect iPhone#2 after several times of trial, but it cannot work properly (fail to send char) and give out an error "NRF_ERROR_FORBIDDEN". I don't know the reason? The default Max number of bonded master is 4 and I have not edited it.
How can I pair a new phone successfully without reseting the nRF51822?
Thanks.