Home
last modified time | relevance | path

Searched refs:read_params (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dmcc.c105 struct bt_gatt_read_params read_params; member
206 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_player_name_cb()
220 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_icon_obj_id_cb()
253 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_icon_url_cb()
308 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_title_cb()
342 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_duration_cb()
376 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_track_position_cb()
434 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_playback_speed_cb()
491 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_seeking_speed_cb()
504 struct mcs_instance_t *mcs_inst = CONTAINER_OF(params, struct mcs_instance_t, read_params); in mcc_read_segments_obj_id_cb()
[all …]
Dtmap.c34 static struct bt_gatt_read_params read_params[CONFIG_BT_MAX_CONN]; variable
111 read_params[conn_id].func = tmap_char_read; in discover_func()
112 read_params[conn_id].handle_count = 1u; in discover_func()
113 read_params[conn_id].single.handle = bt_gatt_attr_value_handle(attr); in discover_func()
114 read_params[conn_id].single.offset = 0; in discover_func()
117 err = bt_gatt_read(conn, &read_params[0]); in discover_func()
Dvocs_client.c273 inst->cli.read_params.func = internal_read_volume_offset_state_cb; in vocs_client_write_vocs_cp_cb()
274 inst->cli.read_params.handle_count = 1; in vocs_client_write_vocs_cp_cb()
275 inst->cli.read_params.single.handle = inst->cli.state_handle; in vocs_client_write_vocs_cp_cb()
277 cb_err = bt_gatt_read(conn, &inst->cli.read_params); in vocs_client_write_vocs_cp_cb()
453 inst->cli.read_params.func = vocs_client_read_offset_state_cb; in bt_vocs_client_state_get()
454 inst->cli.read_params.handle_count = 1; in bt_vocs_client_state_get()
455 inst->cli.read_params.single.handle = inst->cli.state_handle; in bt_vocs_client_state_get()
456 inst->cli.read_params.single.offset = 0U; in bt_vocs_client_state_get()
458 err = bt_gatt_read(inst->cli.conn, &inst->cli.read_params); in bt_vocs_client_state_get()
521 inst->cli.read_params.func = vocs_client_read_location_cb; in bt_vocs_client_location_get()
[all …]
Daics_client.c419 inst->cli.read_params.func = internal_read_state_cb; in aics_client_write_aics_cp_cb()
420 inst->cli.read_params.handle_count = 1; in aics_client_write_aics_cp_cb()
421 inst->cli.read_params.single.handle = inst->cli.state_handle; in aics_client_write_aics_cp_cb()
422 inst->cli.read_params.single.offset = 0U; in aics_client_write_aics_cp_cb()
424 cb_err = bt_gatt_read(conn, &inst->cli.read_params); in aics_client_write_aics_cp_cb()
780 inst->cli.read_params.func = aics_client_read_state_cb; in bt_aics_client_state_get()
781 inst->cli.read_params.handle_count = 1; in bt_aics_client_state_get()
782 inst->cli.read_params.single.handle = inst->cli.state_handle; in bt_aics_client_state_get()
784 err = bt_gatt_read(inst->cli.conn, &inst->cli.read_params); in bt_aics_client_state_get()
818 inst->cli.read_params.func = aics_client_read_gain_settings_cb; in bt_aics_client_gain_setting_get()
[all …]
Dvcp_vol_ctlr.c49 struct bt_gatt_read_params read_params; member
291 vol_ctlr->read_params.func = internal_read_vol_state_cb; in vcp_vol_ctlr_write_vcs_cp_cb()
292 vol_ctlr->read_params.handle_count = 1; in vcp_vol_ctlr_write_vcs_cp_cb()
293 vol_ctlr->read_params.single.handle = vol_ctlr->state_handle; in vcp_vol_ctlr_write_vcs_cp_cb()
294 vol_ctlr->read_params.single.offset = 0U; in vcp_vol_ctlr_write_vcs_cp_cb()
296 cb_err = bt_gatt_read(conn, &vol_ctlr->read_params); in vcp_vol_ctlr_write_vcs_cp_cb()
914 vol_ctlr->read_params.func = vcp_vol_ctlr_read_vol_state_cb; in bt_vcp_vol_ctlr_read_state()
915 vol_ctlr->read_params.handle_count = 1; in bt_vcp_vol_ctlr_read_state()
916 vol_ctlr->read_params.single.handle = vol_ctlr->state_handle; in bt_vcp_vol_ctlr_read_state()
917 vol_ctlr->read_params.single.offset = 0U; in bt_vcp_vol_ctlr_read_state()
[all …]
Dcsip_set_coordinator.c47 static struct bt_gatt_read_params read_params; variable
572 read_params.func = csip_set_coordinator_discover_insts_read_set_sirk_cb; in read_set_sirk()
573 read_params.handle_count = 1; in read_set_sirk()
574 read_params.single.handle = svc_inst->set_sirk_handle; in read_set_sirk()
575 read_params.single.offset = 0U; in read_set_sirk()
577 return bt_gatt_read(svc_inst->conn, &read_params); in read_set_sirk()
604 read_params.func = cb; in csip_set_coordinator_read_set_size()
605 read_params.handle_count = 1; in csip_set_coordinator_read_set_size()
606 read_params.single.handle = cur_inst->set_size_handle; in csip_set_coordinator_read_set_size()
607 read_params.single.offset = 0U; in csip_set_coordinator_read_set_size()
[all …]
Dmicp_mic_ctlr.c42 struct bt_gatt_read_params read_params; member
534 mic_ctlr->read_params.func = micp_mic_ctlr_read_mute_cb; in bt_micp_mic_ctlr_mute_get()
535 mic_ctlr->read_params.handle_count = 1; in bt_micp_mic_ctlr_mute_get()
536 mic_ctlr->read_params.single.handle = mic_ctlr->mute_handle; in bt_micp_mic_ctlr_mute_get()
537 mic_ctlr->read_params.single.offset = 0U; in bt_micp_mic_ctlr_mute_get()
539 err = bt_gatt_read(mic_ctlr->conn, &mic_ctlr->read_params); in bt_micp_mic_ctlr_mute_get()
Dvocs_internal.h55 struct bt_gatt_read_params read_params; member
Dbap_unicast_client.c94 struct bt_gatt_read_params read_params; member
1506 client->read_params.func = unicast_client_ase_ntf_read_func; in long_ase_read()
1507 client->read_params.handle_count = 1U; in long_ase_read()
1508 client->read_params.single.handle = client_ep->handle; in long_ase_read()
1509 client->read_params.single.offset = long_read_buf->len; in long_ase_read()
1511 err = bt_gatt_read(conn, &client->read_params); in long_ase_read()
3274 client->read_params.func = unicast_client_ase_read_func; in unicast_client_ase_discover_cb()
3275 client->read_params.handle_count = 1U; in unicast_client_ase_discover_cb()
3276 client->read_params.single.handle = value_handle; in unicast_client_ase_discover_cb()
3277 client->read_params.single.offset = 0U; in unicast_client_ase_discover_cb()
[all …]
Dtbs_client.c629 (void)memset(&inst->read_params, 0, sizeof(inst->read_params)); in tbs_client_gatt_read_complete()
644 inst->read_params.func = func; in tbs_client_gatt_read()
645 inst->read_params.handle_count = 1U; in tbs_client_gatt_read()
646 inst->read_params.single.handle = handle; in tbs_client_gatt_read()
647 inst->read_params.single.offset = 0U; in tbs_client_gatt_read()
650 err = bt_gatt_read(conn, &inst->read_params); in tbs_client_gatt_read()
690 read_params); in handle_string_long_read()
863 read_params); in read_technology_cb()
918 read_params); in read_signal_strength_cb()
956 read_params); in read_signal_interval_cb()
[all …]
Dbap_broadcast_assistant.c57 struct bt_gatt_read_params read_params; member
969 broadcast_assistant.read_params.func = read_recv_state_cb; in bt_bap_broadcast_assistant_read_recv_state()
970 broadcast_assistant.read_params.handle_count = 1; in bt_bap_broadcast_assistant_read_recv_state()
971 broadcast_assistant.read_params.single.handle = in bt_bap_broadcast_assistant_read_recv_state()
974 err = bt_gatt_read(conn, &broadcast_assistant.read_params); in bt_bap_broadcast_assistant_read_recv_state()
976 (void)memset(&broadcast_assistant.read_params, 0, in bt_bap_broadcast_assistant_read_recv_state()
977 sizeof(broadcast_assistant.read_params)); in bt_bap_broadcast_assistant_read_recv_state()
Daics_internal.h73 struct bt_gatt_read_params read_params; member
Dtbs_internal.h379 struct bt_gatt_read_params read_params; member
/Zephyr-Core-3.4.0/subsys/bluetooth/shell/
Dgatt.c288 static struct bt_gatt_read_params read_params; variable
315 if (read_params.func) { in cmd_read()
320 read_params.func = read_func; in cmd_read()
321 read_params.handle_count = 1; in cmd_read()
322 read_params.single.handle = strtoul(argv[1], NULL, 16); in cmd_read()
323 read_params.single.offset = 0U; in cmd_read()
324 SET_CHAN_OPT_ANY(read_params); in cmd_read()
327 read_params.single.offset = strtoul(argv[2], NULL, 16); in cmd_read()
330 err = bt_gatt_read(default_conn, &read_params); in cmd_read()
351 if (read_params.func) { in cmd_mread()
[all …]
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/gatt/general/src/
Dgatt_client_test.c239 static struct bt_gatt_read_params read_params; in gatt_read() local
244 read_params.func = gatt_read_cb; in gatt_read()
245 read_params.handle_count = 1; in gatt_read()
246 read_params.single.handle = chrc_handle; in gatt_read()
247 read_params.single.offset = 0; in gatt_read()
251 err = bt_gatt_read(g_conn, &read_params); in gatt_read()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/misc/disable/src/
Dgatt_client_test.c241 static struct bt_gatt_read_params read_params; in gatt_read() local
246 read_params.func = gatt_read_cb; in gatt_read()
247 read_params.handle_count = 1; in gatt_read()
248 read_params.single.handle = chrc_handle; in gatt_read()
249 read_params.single.offset = 0; in gatt_read()
253 err = bt_gatt_read(g_conn, &read_params); in gatt_read()
/Zephyr-Core-3.4.0/tests/bluetooth/tester/src/
Dbtp_gatt.c1442 static struct bt_gatt_read_params read_params; variable
1539 read_params.handle_count = 1; in read_data()
1540 read_params.single.handle = sys_le16_to_cpu(cp->handle); in read_data()
1541 read_params.single.offset = 0x0000; in read_data()
1542 read_params.func = read_cb; in read_data()
1543 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_data()
1548 if (bt_gatt_read(conn, &read_params) < 0) { in read_data()
1549 read_destroy(&read_params); in read_data()
1585 read_params.by_uuid.uuid = &uuid.uuid; in read_uuid()
1586 read_params.handle_count = 0; in read_uuid()
[all …]
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/gatt/settings/src/
Dgatt_utils.c338 struct bt_gatt_read_params read_params = { in read_char() local
347 read_params.func = _expect_success; in read_char()
349 read_params.func = _expect_out_of_sync_cb; in read_char()
354 err = bt_gatt_read(get_conn(), &read_params); in read_char()
/Zephyr-Core-3.4.0/subsys/bluetooth/services/ots/
Dots_oacp_internal.h86 } read_params; member
Dots_oacp.c229 const struct bt_gatt_ots_oacp_read_params *params = &proc->read_params; in oacp_read_proc_validate()
257 memcpy(&ots->cur_obj->state.read_op.oacp_params, &proc->read_params, in oacp_read_proc_validate()
429 proc->read_params.offset = in oacp_command_decode()
431 proc->read_params.len = in oacp_command_decode()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/gatt/caching/src/
Dgatt_client_test.c269 static void gatt_read(struct bt_gatt_read_params *read_params) in gatt_read() argument
275 err = bt_gatt_read(g_conn, read_params); in gatt_read()