Lines Matching refs:conn_handle

43 blecent_on_subscribe(uint16_t conn_handle,  in blecent_on_subscribe()  argument
50 error->status, conn_handle, attr->handle); in blecent_on_subscribe()
60 blecent_on_write(uint16_t conn_handle, in blecent_on_write() argument
67 error->status, conn_handle, attr->handle); in blecent_on_write()
76 const struct peer *peer = peer_find(conn_handle); in blecent_on_write()
90 rc = ble_gattc_write_flat(conn_handle, dsc->dsc.handle, in blecent_on_write()
101 return ble_gap_terminate(peer->conn_handle, BLE_ERR_REM_USER_CONN_TERM); in blecent_on_write()
109 blecent_on_read(uint16_t conn_handle, in blecent_on_read() argument
115 conn_handle); in blecent_on_read()
128 const struct peer *peer = peer_find(conn_handle); in blecent_on_read()
141 rc = ble_gattc_write_flat(conn_handle, chr->chr.val_handle, in blecent_on_read()
152 return ble_gap_terminate(peer->conn_handle, BLE_ERR_REM_USER_CONN_TERM); in blecent_on_read()
183 rc = ble_gattc_read(peer->conn_handle, chr->chr.val_handle, in blecent_read_write_subscribe()
194 ble_gap_terminate(peer->conn_handle, BLE_ERR_REM_USER_CONN_TERM); in blecent_read_write_subscribe()
207 "conn_handle=%d\n", status, peer->conn_handle); in blecent_on_disc_complete()
208 ble_gap_terminate(peer->conn_handle, BLE_ERR_REM_USER_CONN_TERM); in blecent_on_disc_complete()
217 "conn_handle=%d\n", status, peer->conn_handle); in blecent_on_disc_complete()
400 rc = ble_gap_conn_find(event->connect.conn_handle, &desc); in blecent_gap_event()
406 rc = peer_add(event->connect.conn_handle); in blecent_gap_event()
413 rc = peer_disc_all(event->connect.conn_handle, in blecent_gap_event()
435 peer_delete(event->disconnect.conn.conn_handle); in blecent_gap_event()
450 rc = ble_gap_conn_find(event->enc_change.conn_handle, &desc); in blecent_gap_event()
462 event->notify_rx.conn_handle, in blecent_gap_event()
472 event->mtu.conn_handle, in blecent_gap_event()
484 rc = ble_gap_conn_find(event->repeat_pairing.conn_handle, &desc); in blecent_gap_event()