Closed KKopyscinski closed 2 months ago
Rest of functions that use ble_hs_conn_find_assert
are reachable from host and should indeed cause assert to be triggered, or have conn already checked, as described in 8ec1b8d BLE Host - Check conn state once before proc.
Two functions:
ble_l2cap_coc_continue_tx
andble_l2cap_coc_recv_ready
can be reached from other task than host, for example separate thread running in application, by callingble_l2cap_recv_ready
orble_l2cap_send
. Because pointer to chan passed into these functions may be outdated (connection is being terminated by host) this will lead to either: