Searched refs:get_conn (Results 1 – 4 of 4) sorted by relevance
214 err = bt_gatt_subscribe(get_conn(), &subscribe_params); in gatt_subscribe_to_service_changed()220 err = bt_gatt_unsubscribe(get_conn(), &subscribe_params); in gatt_subscribe_to_service_changed()247 err = bt_gatt_discover(get_conn(), &discover_params); in gatt_discover()283 err = bt_gatt_write(get_conn(), &write_params); in activate_robust_caching()338 err = bt_gatt_read(get_conn(), &read_params); in read_char()
141 struct bt_conn *get_conn(void) in get_conn() function216 conn = get_conn(); in connect_as_central()227 conn = get_conn(); in connect_as_peripheral()
60 struct bt_conn *get_conn(void);
2929 static struct bt_conn *get_conn(struct bt_att_chan *att_chan) in get_conn() function2937 struct bt_conn *conn = get_conn(att_chan); in bt_att_recv()