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

Event upon connection start

Hello,

I have an application in which the available power is so extremely limited that the hardware cannot do anything else at the same time as conencting to a central. Therefore I need to abort all other activities when a central is trying to connect to the device.

Is there any way of getting an event when a central is initiating a connection? I know that it is possible to get an event when central has managed to connect (BLE_GAP_EVT_CONNECTED), but what I'm looking for is an event for the start of the connection sequence.

Grateful for any tips!

Parents
  • Hi Victor,

    There is no handshaking or connection establishing procedure with BLE when a connection in starting. BLE_GAP_EVT_CONNECTED event occurs when the softdevice receive the connect request packet from central. Please have a look at section 4.5.4 Vol 6 Part B in Bluetooth Core Spec v4.2.

    And I think you should be aware that with the same interval, advertising consume more power than in connection, because we have to advertise in 3 channel when in connection we listen and transmit on 1 channel at a time.

Reply
  • Hi Victor,

    There is no handshaking or connection establishing procedure with BLE when a connection in starting. BLE_GAP_EVT_CONNECTED event occurs when the softdevice receive the connect request packet from central. Please have a look at section 4.5.4 Vol 6 Part B in Bluetooth Core Spec v4.2.

    And I think you should be aware that with the same interval, advertising consume more power than in connection, because we have to advertise in 3 channel when in connection we listen and transmit on 1 channel at a time.

Children
Related