Lines Matching refs:uint16_t
38 uint16_t local_channel_id;
39 uint16_t remote_mtu;
46 static void connect_completed_cb(uint16_t local_channel_id, uint16_t error_code);
47 static void config_request_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *requested_parameters);
48 static void config_completed_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *negotiated_parameters);
49 static void disconnect_request_cb(uint16_t local_channel_id, bool ack_required);
50 static void disconnect_completed_cb(uint16_t local_channel_id, uint16_t error_code);
51 static void congestion_cb(uint16_t local_channel_id, bool is_congested);
52 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet);
53 static void write_completed_cb(uint16_t local_channel_id, uint16_t packets_completed);
57 static l2cap_client_t *find(uint16_t local_channel_id);
60 static const uint16_t L2CAP_MTU_DEFAULT = 672;
61 static const uint16_t L2CAP_MTU_MINIMUM = 48;
131 bool l2cap_client_connect(l2cap_client_t *client, const bt_bdaddr_t *remote_bdaddr, uint16_t psm) { in l2cap_client_connect()
188 static void connect_completed_cb(uint16_t local_channel_id, uint16_t error_code) { in connect_completed_cb()
212 static void config_request_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *requested_parameters) { in config_request_cb()
257 static void config_completed_cb(uint16_t local_channel_id, tL2CAP_CFG_INFO *negotiated_parameters) { in config_completed_cb()
291 static void disconnect_request_cb(uint16_t local_channel_id, bool ack_required) { in disconnect_request_cb()
308 static void disconnect_completed_cb(uint16_t local_channel_id, UNUSED_ATTR uint16_t error_code) { in disconnect_completed_cb()
323 static void congestion_cb(uint16_t local_channel_id, bool is_congested) { in congestion_cb()
344 static void read_ready_cb(uint16_t local_channel_id, BT_HDR *packet) { in read_ready_cb()
362 static void write_completed_cb(UNUSED_ATTR uint16_t local_channel_id, UNUSED_ATTR uint16_t packets_… in write_completed_cb()
423 static l2cap_client_t *find(uint16_t local_channel_id) { in find()