/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | tbs_client.c | 571 uint16_t handle = params->value_handle; in notify_handler() 575 LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle); in notify_handler() 576 params->value_handle = 0U; in notify_handler() 589 if (handle == tbs_inst->call_state_sub_params.value_handle) { in notify_handler() 592 } else if (handle == tbs_inst->name_sub_params.value_handle) { in notify_handler() 597 } else if (handle == tbs_inst->technology_sub_params.value_handle) { in notify_handler() 601 } else if (handle == tbs_inst->signal_strength_sub_params.value_handle) { in notify_handler() 606 } else if (handle == tbs_inst->status_flags_sub_params.value_handle) { in notify_handler() 611 } else if (handle == tbs_inst->current_calls_sub_params.value_handle) { in notify_handler() 616 } else if (handle == tbs_inst->in_target_uri_sub_params.value_handle) { in notify_handler() [all …]
|
D | has_client.c | 50 if (HANDLE_IS_VALID(inst->control_point_subscription.value_handle)) { in get_capabilities() 206 params->value_handle = 0u; in control_point_notify_cb() 243 HANDLE_IS_VALID(inst->active_index_subscription.value_handle)) { in discover_complete() 258 const uint16_t value_handle = inst->control_point_subscription.value_handle; in cp_write() local 260 if (!HANDLE_IS_VALID(value_handle)) { in cp_write() 265 inst->params.write.handle = value_handle; in cp_write() 382 params->value_handle = 0u; in active_preset_notify_cb() 426 static int active_index_subscribe(struct bt_has_client *inst, uint16_t value_handle) in active_index_subscribe() argument 430 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in active_index_subscribe() 434 inst->active_index_subscription.value_handle = value_handle; in active_index_subscribe() [all …]
|
D | vocs_client.c | 52 uint16_t handle = params->value_handle; in vocs_client_notify_handler() 372 inst->start_handle = chrc->value_handle; in vocs_discover_func() 374 inst->end_handle = chrc->value_handle; in vocs_discover_func() 378 inst->state_handle = chrc->value_handle; in vocs_discover_func() 382 inst->location_handle = chrc->value_handle; in vocs_discover_func() 391 inst->control_handle = chrc->value_handle; in vocs_discover_func() 394 inst->desc_handle = chrc->value_handle; in vocs_discover_func() 407 sub_params->value_handle = chrc->value_handle; in vocs_discover_func()
|
D | bap_unicast_client.c | 1318 params->value_handle = 0x0000; in unicast_client_cp_notify() 1580 params->value_handle = 0x0000; in unicast_client_ep_notify() 1627 if (client_ep->subscribe.value_handle) { in unicast_client_ep_subscribe() 1631 client_ep->subscribe.value_handle = client_ep->handle; in unicast_client_ep_subscribe() 1721 if (!client->cp_subscribe.value_handle) { in unicast_client_ep_set_cp() 1724 client->cp_subscribe.value_handle = handle; in unicast_client_ep_set_cp() 3202 uint16_t value_handle; in unicast_client_cp_discover_func() local 3212 value_handle = chrc->value_handle; in unicast_client_cp_discover_func() 3215 LOG_DBG("conn %p attr %p handle 0x%04x", conn, attr, value_handle); in unicast_client_cp_discover_func() 3217 unicast_client_ep_set_cp(conn, value_handle); in unicast_client_cp_discover_func() [all …]
|
D | mcc.c | 1000 uint16_t handle = params->value_handle; in mcs_notify_handler() 1004 LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle); in mcs_notify_handler() 1005 params->value_handle = 0U; in mcs_notify_handler() 1402 mcs_inst->otc.feature_handle = chrc->value_handle; in discover_otc_char_func() 1405 mcs_inst->otc.obj_name_handle = chrc->value_handle; in discover_otc_char_func() 1408 mcs_inst->otc.obj_type_handle = chrc->value_handle; in discover_otc_char_func() 1411 mcs_inst->otc.obj_size_handle = chrc->value_handle; in discover_otc_char_func() 1414 mcs_inst->otc.obj_id_handle = chrc->value_handle; in discover_otc_char_func() 1416 LOG_DBG("Object properties %d", chrc->value_handle); in discover_otc_char_func() 1417 mcs_inst->otc.obj_properties_handle = chrc->value_handle; in discover_otc_char_func() [all …]
|
D | csip_set_coordinator.c | 370 uint16_t handle = params->value_handle; in sirk_notify_func() 374 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in sirk_notify_func() 375 params->value_handle = 0U; in sirk_notify_func() 441 uint16_t handle = params->value_handle; in size_notify_func() 445 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in size_notify_func() 446 params->value_handle = 0U; in size_notify_func() 487 uint16_t handle = params->value_handle; in lock_notify_func() 491 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in lock_notify_func() 492 params->value_handle = 0U; in lock_notify_func() 708 cur_inst->set_sirk_handle = chrc->value_handle; in discover_func() [all …]
|
D | aics_client.c | 53 uint16_t handle = params->value_handle; in aics_client_notify_handler() 577 inst->cli.start_handle = chrc->value_handle; in aics_discover_func() 579 inst->cli.end_handle = chrc->value_handle; in aics_discover_func() 583 inst->cli.state_handle = chrc->value_handle; in aics_discover_func() 587 inst->cli.gain_handle = chrc->value_handle; in aics_discover_func() 590 inst->cli.type_handle = chrc->value_handle; in aics_discover_func() 593 inst->cli.status_handle = chrc->value_handle; in aics_discover_func() 597 inst->cli.control_handle = chrc->value_handle; in aics_discover_func() 600 inst->cli.desc_handle = chrc->value_handle; in aics_discover_func() 614 sub_params->value_handle = chrc->value_handle; in aics_discover_func()
|
D | gmap_client.c | 167 err = gmap_read_bgr_feat(gmap_cli, chrc->value_handle); in bgr_feat_discover_func() 266 err = gmap_read_bgs_feat(gmap_cli, chrc->value_handle); in bgs_feat_discover_func() 367 err = gmap_read_ugt_feat(gmap_cli, chrc->value_handle); in ugt_feat_discover_func() 470 err = gmap_read_ugg_feat(gmap_cli, chrc->value_handle); in ugg_feat_discover_func() 574 err = gmap_read_role(gmap_cli, chrc->value_handle); in role_discover_func()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
D | gatt_client_test.c | 160 chrc_handle = chrc->value_handle; in discover_func() 163 long_chrc_handle = chrc->value_handle; in discover_func() 166 csf_handle = chrc->value_handle; in discover_func() 209 if (params->value_handle == chrc_handle) { in test_subscribed() 212 } else if (params->value_handle == long_chrc_handle) { in test_subscribed() 216 FAIL("Unknown handle %d\n", params->value_handle); in test_subscribed() 340 sub_params_short.value_handle = chrc_handle; in test_main() 341 sub_params_long.value_handle = long_chrc_handle; in test_main()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/eatt_notif/src/ |
D | server_test.c | 98 chrc_handle = chrc->value_handle; in discover_func() 134 params->value_handle = 0U; in notify_cb() 145 params->value_handle, in subscribed_cb() 158 subscribe_params.value_handle = chrc_handle; in gatt_subscribe()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/notify/src/ |
D | gatt_client_test.c | 142 chrc_handle = chrc->value_handle; in discover_func() 145 long_chrc_handle = chrc->value_handle; in discover_func() 249 sub_params_short.value_handle = chrc_handle; in gatt_subscribe_short() 263 sub_params_short.value_handle = chrc_handle; in gatt_unsubscribe_short() 278 sub_params_long.value_handle = long_chrc_handle; in gatt_subscribe_long() 293 sub_params_long.value_handle = long_chrc_handle; in gatt_unsubscribe_long()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | gatt_utils.c | 149 gatt_handles[CLIENT_FEATURES] = chrc->value_handle; in discover_func() 153 gatt_handles[SERVICE_CHANGED] = chrc->value_handle; in discover_func() 157 gatt_handles[TEST_CHAR] = chrc->value_handle; in discover_func() 170 params->value_handle = 0U; in sc_indicated() 204 subscribe_params.value_handle = gatt_handles[SERVICE_CHANGED]; in gatt_subscribe_to_service_changed()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/authorization/src/ |
D | gatt_client_test.c | 140 unhandled_chrc_handle = chrc->value_handle; in discover_func() 143 unauthorized_chrc_handle = chrc->value_handle; in discover_func() 146 authorized_chrc_handle = chrc->value_handle; in discover_func() 149 cp_chrc_handle = chrc->value_handle; in discover_func()
|
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/ |
D | btp_ccp.c | 242 tbs_handles.provider_name = tbs_inst->name_sub_params.value_handle; in tbs_client_read_val_cb() 244 tbs_handles.bearer_technology = tbs_inst->technology_sub_params.value_handle; in tbs_client_read_val_cb() 246 tbs_handles.signal_strength = tbs_inst->signal_strength_sub_params.value_handle; in tbs_client_read_val_cb() 248 tbs_handles.current_calls = tbs_inst->current_calls_sub_params.value_handle; in tbs_client_read_val_cb() 250 tbs_handles.status_flags = tbs_inst->status_flags_sub_params.value_handle; in tbs_client_read_val_cb() 251 tbs_handles.bearer_uri = tbs_inst->in_target_uri_sub_params.value_handle; in tbs_client_read_val_cb() 252 tbs_handles.call_state = tbs_inst->call_state_sub_params.value_handle; in tbs_client_read_val_cb() 253 tbs_handles.control_point = tbs_inst->call_cp_sub_params.value_handle; in tbs_client_read_val_cb() 256 tbs_handles.incoming_call = tbs_inst->incoming_call_sub_params.value_handle; in tbs_client_read_val_cb() 257 tbs_handles.friendly_name = tbs_inst->friendly_name_sub_params.value_handle; in tbs_client_read_val_cb()
|
D | btp_hap.c | 103 ev.has_hearing_aid_features_handle = inst->features_subscription.value_handle; in has_client_discover_cb() 104 ev.has_control_point_handle = inst->control_point_subscription.value_handle; in has_client_discover_cb() 105 ev.has_active_preset_index_handle = inst->active_index_subscription.value_handle; in has_client_discover_cb()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/sc_indicate/src/ |
D | central.c | 63 subscribe_params.value_handle = gatt_handles[SC]; in subscribe() 98 gatt_handles[SC] = chrc->value_handle; in discover_func()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/general/src/ |
D | gatt_client_test.c | 154 chrc_handle = chrc->value_handle; in discover_func() 157 long_chrc_handle = chrc->value_handle; in discover_func() 160 enc_chrc_handle = chrc->value_handle; in discover_func() 163 lesc_chrc_handle = chrc->value_handle; in discover_func()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/shell/ |
D | gatt.c | 561 params->value_handle = 0U; in notify_func() 566 params->value_handle, length); in notify_func() 576 if (subscribe_params.value_handle) { in cmd_subscribe() 578 "already exists", subscribe_params.value_handle); in cmd_subscribe() 588 subscribe_params.value_handle = strtoul(argv[2], NULL, 16); in cmd_subscribe() 609 subscribe_params.value_handle = 0U; in cmd_subscribe() 624 if (subscribe_params.value_handle) { in cmd_resubscribe() 626 " already exists", subscribe_params.value_handle); in cmd_resubscribe() 637 subscribe_params.value_handle = strtoul(argv[4], NULL, 16); in cmd_resubscribe() 648 subscribe_params.value_handle = 0U; in cmd_resubscribe() [all …]
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/audio/src/ |
D | pacs_notify_client_test.c | 104 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_supported_contexts() 171 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_available_contexts() 238 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_src_loc() 305 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_snk_loc() 372 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_pacs_src() 439 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_pacs_snk()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/disconnect/dut/src/ |
D | main.c | 165 params->value_handle); in notified() 210 .value_handle = HVX_HANDLE, in subscribe()
|
/Zephyr-Core-3.6.0/samples/bluetooth/mtu_update/central/src/ |
D | central_mtu_update.c | 50 params->value_handle = 0U; in notify_func() 90 subscribe_params.value_handle = bt_gatt_attr_value_handle(attr); in discover_func()
|
/Zephyr-Core-3.6.0/samples/bluetooth/central_hr/src/ |
D | main.c | 36 params->value_handle = 0U; in notify_func() 75 subscribe_params.value_handle = bt_gatt_attr_value_handle(attr); in discover_func()
|
/Zephyr-Core-3.6.0/samples/bluetooth/central_ht/src/ |
D | main.c | 58 params->value_handle = 0U; in notify_func() 102 subscribe_params.value_handle = bt_gatt_attr_value_handle(attr); in discover_func()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/sequential/dut/src/ |
D | main.c | 198 params->value_handle); in notified() 231 .value_handle = HVX_HANDLE, in subscribe()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/disable/src/ |
D | gatt_client_test.c | 139 chrc_handle = chrc->value_handle; in discover_func() 142 long_chrc_handle = chrc->value_handle; in discover_func()
|