If the BLE_GAP_EVT_CONNECTED event is returned, will the underlying layer definitely send a Connect Indication packet.

During the connection phase, the following situation occasionally occurs: the application layer receives the BLE_GAP_EVT_CONNECTED event returned by the soft device, but the Ellisys packet capture tool fails to capture the Connect Indication packet. Moreover, the master device does not transition its role to sending heartbeat packets; instead, it continues advertising. The slave device also continues broadcasting normally. Subsequently, the BLE_GAP_EVT_DISCONNECTED event is received from the protocol stack, citing error code 0x3E. I am reasonably confident that there are no omissions in the packet capture, as I have tested it many times. What could be the reason for this occurrence?

Parents
  • Hi,

    I have not heard about any such issues, so I have some questions in order to understand more:

    1. Is it on the central you see this issue?
    2. It should connect, and you get the connected event back, and then subsequently the disconnect with 0x3e? 
    3. Does addvertising and connection happen on 1 MBps, 2 Mbps or Coded PHY?
    4. Could it be a sniffer issue (perhaps a configuration issue that prevents it from capturing connection indication packets for some reason (perhaps it is only configured to sniff advertising packets)?
Reply
  • Hi,

    I have not heard about any such issues, so I have some questions in order to understand more:

    1. Is it on the central you see this issue?
    2. It should connect, and you get the connected event back, and then subsequently the disconnect with 0x3e? 
    3. Does addvertising and connection happen on 1 MBps, 2 Mbps or Coded PHY?
    4. Could it be a sniffer issue (perhaps a configuration issue that prevents it from capturing connection indication packets for some reason (perhaps it is only configured to sniff advertising packets)?
Children
Related