Lines Matching refs:bt_conn
94 static ssize_t read_name(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_name()
105 static ssize_t write_name(struct bt_conn *conn, const struct bt_gatt_attr *attr, in write_name()
128 static ssize_t read_appearance(struct bt_conn *conn, in read_appearance()
150 static ssize_t read_ppcp(struct bt_conn *conn, const struct bt_gatt_attr *attr, in read_ppcp()
171 static ssize_t read_central_addr_res(struct bt_conn *conn, in read_central_addr_res()
311 static void sc_clear(struct bt_conn *conn) in sc_clear()
402 static ssize_t sc_ccc_cfg_write(struct bt_conn *conn, in sc_ccc_cfg_write()
463 static struct gatt_cf_cfg *find_cf_cfg(struct bt_conn *conn) in find_cf_cfg()
482 static ssize_t cf_read(struct bt_conn *conn, const struct bt_gatt_attr *attr, in cf_read()
527 static ssize_t cf_write(struct bt_conn *conn, const struct bt_gatt_attr *attr, in cf_write()
704 static ssize_t db_hash_read(struct bt_conn *conn, in db_hash_read()
730 static void remove_cf_cfg(struct bt_conn *conn) in remove_cf_cfg()
758 static ssize_t sf_read(struct bt_conn *conn, const struct bt_gatt_attr *attr, in sf_read()
900 static void sc_indicate_rsp(struct bt_conn *conn, in sc_indicate_rsp()
963 struct bt_conn *conn_list[CONFIG_BT_MAX_CONN];
967 static bool gatt_ccc_conn_is_queued(struct bt_conn *conn) in gatt_ccc_conn_is_queued()
972 static void gatt_ccc_conn_unqueue(struct bt_conn *conn) in gatt_ccc_conn_unqueue()
999 struct bt_conn *conn = ccc_store->conn_list[i]; in ccc_delayed_store()
1168 ssize_t bt_gatt_attr_read(struct bt_conn *conn, const struct bt_gatt_attr *attr, in bt_gatt_attr_read()
1188 ssize_t bt_gatt_attr_read_service(struct bt_conn *conn, in bt_gatt_attr_read_service()
1245 ssize_t bt_gatt_attr_read_included(struct bt_conn *conn, in bt_gatt_attr_read_included()
1302 ssize_t bt_gatt_attr_read_chrc(struct bt_conn *conn, in bt_gatt_attr_read_chrc()
1486 static struct bt_gatt_ccc_cfg *find_ccc_cfg(const struct bt_conn *conn, in find_ccc_cfg()
1505 ssize_t bt_gatt_attr_read_ccc(struct bt_conn *conn, in bt_gatt_attr_read_ccc()
1547 ssize_t bt_gatt_attr_write_ccc(struct bt_conn *conn, in bt_gatt_attr_write_ccc()
1633 ssize_t bt_gatt_attr_read_cep(struct bt_conn *conn, in bt_gatt_attr_read_cep()
1644 ssize_t bt_gatt_attr_read_cud(struct bt_conn *conn, in bt_gatt_attr_read_cud()
1654 ssize_t bt_gatt_attr_read_cpf(struct bt_conn *conn, in bt_gatt_attr_read_cpf()
1688 static int gatt_notify_mult_send(struct bt_conn *conn, struct net_buf **buf) in gatt_notify_mult_send()
1712 struct bt_conn *conn = bt_conn_lookup_index(i); in notify_mult_process()
1722 static bool gatt_cf_notify_multi(struct bt_conn *conn) in gatt_cf_notify_multi()
1734 static int gatt_notify_mult(struct bt_conn *conn, u16_t handle, in gatt_notify_mult()
1780 static int gatt_notify(struct bt_conn *conn, u16_t handle, in gatt_notify()
1821 static void gatt_indicate_rsp(struct bt_conn *conn, u8_t err, in gatt_indicate_rsp()
1829 static int gatt_send(struct bt_conn *conn, struct net_buf *buf, in gatt_send()
1864 static int gatt_indicate(struct bt_conn *conn, u16_t handle, in gatt_indicate()
1922 struct bt_conn *conn; in notify_cb()
1947 struct bt_conn *conn; in notify_cb()
2002 int bt_gatt_notify_cb(struct bt_conn *conn, in bt_gatt_notify_cb()
2069 int bt_gatt_notify_multiple(struct bt_conn *conn, u16_t num_params, in bt_gatt_notify_multiple()
2089 int bt_gatt_indicate(struct bt_conn *conn, in bt_gatt_indicate()
2155 u16_t bt_gatt_get_mtu(struct bt_conn *conn) in bt_gatt_get_mtu()
2160 u8_t bt_gatt_check_perm(struct bt_conn *conn, const struct bt_gatt_attr *attr, in bt_gatt_check_perm()
2193 static void sc_restore_rsp(struct bt_conn *conn, in sc_restore_rsp()
2218 static void sc_restore(struct bt_conn *conn) in sc_restore()
2255 struct bt_conn *conn;
2262 struct bt_conn *conn = data->conn; in update_ccc()
2324 struct bt_conn *conn = user_data; in disconnected_cb()
2353 struct bt_conn *tmp; in disconnected_cb()
2392 bool bt_gatt_is_subscribed(struct bt_conn *conn, in bt_gatt_is_subscribed()
2442 static void gatt_sub_remove(struct bt_conn *conn, struct gatt_sub *sub, in gatt_sub_remove()
2460 static struct gatt_sub *gatt_sub_find_free(struct bt_conn *conn, in gatt_sub_find_free()
2486 static struct gatt_sub *gatt_sub_add(struct bt_conn *conn) in gatt_sub_add()
2512 void bt_gatt_notification(struct bt_conn *conn, u16_t handle, in bt_gatt_notification()
2539 void bt_gatt_mult_notification(struct bt_conn *conn, const void *data, in bt_gatt_mult_notification()
2588 static void gatt_sub_update(struct bt_conn *conn, struct gatt_sub *sub) in gatt_sub_update()
2598 static void remove_subscriptions(struct bt_conn *conn) in remove_subscriptions()
2624 static void gatt_mtu_rsp(struct bt_conn *conn, u8_t err, const void *pdu, in gatt_mtu_rsp()
2632 int bt_gatt_exchange_mtu(struct bt_conn *conn, in bt_gatt_exchange_mtu()
2661 static void gatt_discover_next(struct bt_conn *conn, u16_t last_handle, in gatt_discover_next()
2691 static void gatt_find_type_rsp(struct bt_conn *conn, u8_t err, in gatt_find_type_rsp()
2750 static int gatt_find_type(struct bt_conn *conn, in gatt_find_type()
2794 static void read_included_uuid_cb(struct bt_conn *conn, u8_t err, in read_included_uuid_cb()
2841 static int read_included_uuid(struct bt_conn *conn, in read_included_uuid()
2860 static u16_t parse_include(struct bt_conn *conn, const void *pdu, in parse_include()
2959 static u16_t parse_characteristic(struct bt_conn *conn, const void *pdu, in parse_characteristic()
3034 static void gatt_read_type_rsp(struct bt_conn *conn, u8_t err, in gatt_read_type_rsp()
3061 static int gatt_read_type(struct bt_conn *conn, in gatt_read_type()
3088 static u16_t parse_service(struct bt_conn *conn, const void *pdu, in parse_service()
3173 static void gatt_read_group_rsp(struct bt_conn *conn, u8_t err, in gatt_read_group_rsp()
3195 static int gatt_read_group(struct bt_conn *conn, in gatt_read_group()
3222 static void gatt_find_info_rsp(struct bt_conn *conn, u8_t err, in gatt_find_info_rsp()
3335 static int gatt_find_info(struct bt_conn *conn, in gatt_find_info()
3356 int bt_gatt_discover(struct bt_conn *conn, in bt_gatt_discover()
3399 static void parse_read_by_uuid(struct bt_conn *conn, in parse_read_by_uuid()
3452 static void gatt_read_rsp(struct bt_conn *conn, u8_t err, const void *pdu, in gatt_read_rsp()
3492 static int gatt_read_blob(struct bt_conn *conn, in gatt_read_blob()
3513 static int gatt_read_uuid(struct bt_conn *conn, in gatt_read_uuid()
3542 static void gatt_read_mult_rsp(struct bt_conn *conn, u8_t err, const void *pdu, in gatt_read_mult_rsp()
3560 static int gatt_read_mult(struct bt_conn *conn, in gatt_read_mult()
3580 static void gatt_read_mult_vl_rsp(struct bt_conn *conn, u8_t err, in gatt_read_mult_vl_rsp()
3623 static int gatt_read_mult_vl(struct bt_conn *conn, in gatt_read_mult_vl()
3644 static int gatt_read_mult(struct bt_conn *conn, in gatt_read_mult()
3650 static int gatt_read_mult_vl(struct bt_conn *conn, in gatt_read_mult_vl()
3657 int bt_gatt_read(struct bt_conn *conn, struct bt_gatt_read_params *params) in bt_gatt_read()
3698 static void gatt_write_rsp(struct bt_conn *conn, u8_t err, const void *pdu, in gatt_write_rsp()
3708 int bt_gatt_write_without_response_cb(struct bt_conn *conn, u16_t handle, in bt_gatt_write_without_response_cb()
3758 static int gatt_exec_write(struct bt_conn *conn, in gatt_exec_write()
3777 static void gatt_prepare_write_rsp(struct bt_conn *conn, u8_t err, in gatt_prepare_write_rsp()
3802 static int gatt_prepare_write(struct bt_conn *conn, in gatt_prepare_write()
3837 int bt_gatt_write(struct bt_conn *conn, struct bt_gatt_write_params *params) in bt_gatt_write()
3878 static void gatt_write_ccc_rsp(struct bt_conn *conn, u8_t err, in gatt_write_ccc_rsp()
3913 static int gatt_write_ccc(struct bt_conn *conn, u16_t handle, u16_t value, in gatt_write_ccc()
3937 int bt_gatt_subscribe(struct bt_conn *conn, in bt_gatt_subscribe()
3994 int bt_gatt_unsubscribe(struct bt_conn *conn, in bt_gatt_unsubscribe()
4052 void bt_gatt_cancel(struct bt_conn *conn, void *params) in bt_gatt_cancel()
4057 static void add_subscriptions(struct bt_conn *conn) in add_subscriptions()
4266 void bt_gatt_connected(struct bt_conn *conn) in bt_gatt_connected()
4322 void bt_gatt_encrypt_change(struct bt_conn *conn) in bt_gatt_encrypt_change()
4334 bool bt_gatt_change_aware(struct bt_conn *conn, bool req) in bt_gatt_change_aware()
4378 static int bt_gatt_store_cf(struct bt_conn *conn) in bt_gatt_store_cf()
4423 void bt_gatt_disconnected(struct bt_conn *conn) in bt_gatt_disconnected()