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

BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION Disconnection Reason

Hi,

In past we have observed BLE_HCI_LOCAL_HOST_TERMINATED_CONNECTION as a disconnection reason when the application layer tries to disconnect because of a timeout. But we we some instances where we are seeing such disconnections without any trigger from the application layer. What are the possible reasons for such disconnections?

Parents Reply Children
  • Hi Einar,

    We do see a connection parameter update around this time but it was not initiated by the slave:

    [04:43:47.743] <info>: Received BLE GAP event: 18
    [04:43:47.744] <info>: Received Connection Params: MIN_CI: 25, MAX_CI: 25, SL: 0, ST: 400
    [04:43:50.805] <info>: Received BLE GAP event: 17
    [04:43:50.805] <info>: Disconnected Reason: 22

    There is no other firmware activity at this time, what can possibly cause this timeout? Where do we configure timeout for connection parameter update? 

    Thanks

Related