Searched refs:get_conn (Results 1 – 4 of 4) sorted by relevance
215 err = bt_gatt_subscribe(get_conn(), &subscribe_params); in gatt_subscribe_to_service_changed()221 err = bt_gatt_unsubscribe(get_conn(), &subscribe_params); in gatt_subscribe_to_service_changed()248 err = bt_gatt_discover(get_conn(), &discover_params); in gatt_discover()284 err = bt_gatt_write(get_conn(), &write_params); in activate_robust_caching()339 err = bt_gatt_read(get_conn(), &read_params); in read_char()
142 struct bt_conn *get_conn(void) in get_conn() function217 conn = get_conn(); in connect_as_central()228 conn = get_conn(); in connect_as_peripheral()
60 struct bt_conn *get_conn(void);
2849 static struct bt_conn *get_conn(struct bt_att_chan *att_chan) in get_conn() function2857 struct bt_conn *conn = get_conn(att_chan); in bt_att_recv()