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

PIN Code timeout event

Hi

I'm using the nrf51822 with Softdevice S110. I want to find out why a pairing has not worked, PIN-Code was wrong, PIN-Code timeout.

Which events I can use for that failures?

Parents
  • It isn't quite clear to me exactly what you need to know, but you can specify the timeout you want to use for pin entering in the timeout field of the ble_gap_sec_params_t structure. By setting this to for example 30 s, the link will be disconnected if the user doesn't enter the passkey on the peer device within 30 s.

    Edit: On second look, this is actually not correct, the softdevice will require this value to be 30 s, and you can not adjust it. I'm sorry for the confusion.

Reply
  • It isn't quite clear to me exactly what you need to know, but you can specify the timeout you want to use for pin entering in the timeout field of the ble_gap_sec_params_t structure. By setting this to for example 30 s, the link will be disconnected if the user doesn't enter the passkey on the peer device within 30 s.

    Edit: On second look, this is actually not correct, the softdevice will require this value to be 30 s, and you can not adjust it. I'm sorry for the confusion.

Children
No Data
Related