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

what will cause BLE_GAP_EVT_TIMEOUT?

HI,all!

In the funtion on_ble_evt(), there is one of the events named "BLE_GAP_EVT_TIMEOUT", can someone please tell me what situasions might cause this event? (be better to list all possiable situasions ) By the way, according to my observation, when the device's advertising time proceeds APP_ADV_INTERVAL, it will cause the event, is that right?

Looking forward to your reply, thank you!

Parents
  • Hi there,

    BLE_GAP_TIMEOUT_SRC_SECURITY_REQUEST is caused when the central does not respond to the security request initiated by the peripheral for 30 seconds. The message sequence chart describing this situation is available the SDK Documentation (also in the link below).

    devzone.nordicsemi.com/.../a00856.html

    More on this timeout is available in the section titled 'SM timeout' Volume 3, Part H, Section 3.4 of the Bluetooth Core Speicification. More on Slave Security Request is available in section titled 'Slave Security Request' Volume 3, Part H, Section 2.4.6 of the Bluetooth Core Speicification.

    Cheers, Balaji

Reply
  • Hi there,

    BLE_GAP_TIMEOUT_SRC_SECURITY_REQUEST is caused when the central does not respond to the security request initiated by the peripheral for 30 seconds. The message sequence chart describing this situation is available the SDK Documentation (also in the link below).

    devzone.nordicsemi.com/.../a00856.html

    More on this timeout is available in the section titled 'SM timeout' Volume 3, Part H, Section 3.4 of the Bluetooth Core Speicification. More on Slave Security Request is available in section titled 'Slave Security Request' Volume 3, Part H, Section 2.4.6 of the Bluetooth Core Speicification.

    Cheers, Balaji

Children
Related