This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Question about "ble_app_hids_keyboard" example

Hello,

I have tried the nRF51822 SDK example , "ble_app_hids_keyboard", it can send text "hello" to iPhone. When I cut off the power of the nRF51822 and turn it on again, it can re-connect to iPhone successfully; However, it can no longer send "hello" after reconnect. I need to delete the pairing record and do pairing again in order to make it work properly. Is there any way to solve this problem?

Parents
  • Thanks for your reply :) ! I use following setting and procedure, hope it can help you analysis the problem.

    Setting:

    nRF51822 Evaluation Kit nRF51 SDK v. 4.4.1 and Keil iPhone 4S, iOS 7.0.2

    I just changed the Button and LED pin number of "ble_nrf6310_pins.h" to make it work with nRF51822 Evaluation Kit.

    Steps:

    1. Pair and connect nRF51822 EV Kit with iPhone.
    2. Press button of nRF51822 EV Kit to send "Hello" to iPhone. It works successfully.
    3. Remove the power of nRF51822 EV Kit and power on it again after 5 seconds. It can re-connect to iPhone successfully.
    4. Press button of nRF51822 EV Kit to send "Hello" to iPhone. However, it fail to do so though the Bluetooth connection is built up.
    5. Forget pairing record on iPhone and pair it again with nRF51822 EV Kit.
    6. Press button of nRF51822 EV Kit to send "Hello" to iPhone. It works successfully again.
Reply
  • Thanks for your reply :) ! I use following setting and procedure, hope it can help you analysis the problem.

    Setting:

    nRF51822 Evaluation Kit nRF51 SDK v. 4.4.1 and Keil iPhone 4S, iOS 7.0.2

    I just changed the Button and LED pin number of "ble_nrf6310_pins.h" to make it work with nRF51822 Evaluation Kit.

    Steps:

    1. Pair and connect nRF51822 EV Kit with iPhone.
    2. Press button of nRF51822 EV Kit to send "Hello" to iPhone. It works successfully.
    3. Remove the power of nRF51822 EV Kit and power on it again after 5 seconds. It can re-connect to iPhone successfully.
    4. Press button of nRF51822 EV Kit to send "Hello" to iPhone. However, it fail to do so though the Bluetooth connection is built up.
    5. Forget pairing record on iPhone and pair it again with nRF51822 EV Kit.
    6. Press button of nRF51822 EV Kit to send "Hello" to iPhone. It works successfully again.
Children
No Data
Related