/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs_client.c | 689 uint16_t handle = params->value_handle; in notify_handler() 693 LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle); in notify_handler() 694 params->value_handle = 0U; in notify_handler() 707 if (handle == tbs_inst->call_state_sub_params.value_handle) { in notify_handler() 710 } else if (handle == tbs_inst->name_sub_params.value_handle) { in notify_handler() 715 } else if (handle == tbs_inst->technology_sub_params.value_handle) { in notify_handler() 719 } else if (handle == tbs_inst->signal_strength_sub_params.value_handle) { in notify_handler() 724 } else if (handle == tbs_inst->status_flags_sub_params.value_handle) { in notify_handler() 729 } else if (handle == tbs_inst->current_calls_sub_params.value_handle) { in notify_handler() 734 } else if (handle == tbs_inst->in_target_uri_sub_params.value_handle) { in notify_handler() [all …]
|
D | has_client.c | 59 if (HANDLE_IS_VALID(inst->control_point_subscription.value_handle)) { in get_capabilities() 215 params->value_handle = 0u; in control_point_notify_cb() 252 HANDLE_IS_VALID(inst->active_index_subscription.value_handle)) { in discover_complete() 267 const uint16_t value_handle = inst->control_point_subscription.value_handle; in cp_write() local 269 if (!HANDLE_IS_VALID(value_handle)) { in cp_write() 274 inst->params.write.handle = value_handle; in cp_write() 391 params->value_handle = 0u; in active_preset_notify_cb() 435 static int active_index_subscribe(struct bt_has_client *inst, uint16_t value_handle) in active_index_subscribe() argument 439 LOG_DBG("conn %p handle 0x%04x", (void *)inst->conn, value_handle); in active_index_subscribe() 443 inst->active_index_subscription.value_handle = value_handle; in active_index_subscribe() [all …]
|
D | vocs_client.c | 60 uint16_t handle = params->value_handle; in vocs_client_notify_handler() 382 inst->start_handle = chrc->value_handle; in vocs_discover_func() 384 inst->end_handle = chrc->value_handle; in vocs_discover_func() 388 inst->state_handle = chrc->value_handle; in vocs_discover_func() 392 inst->location_handle = chrc->value_handle; in vocs_discover_func() 401 inst->control_handle = chrc->value_handle; in vocs_discover_func() 404 inst->desc_handle = chrc->value_handle; in vocs_discover_func() 417 sub_params->value_handle = chrc->value_handle; in vocs_discover_func()
|
D | bap_unicast_client.c | 1525 params->value_handle = BAP_HANDLE_UNUSED; in unicast_client_cp_notify() 1764 params->value_handle = BAP_HANDLE_UNUSED; in unicast_client_ep_notify() 1811 if (client_ep->subscribe.value_handle) { in unicast_client_ep_subscribe() 1815 client_ep->subscribe.value_handle = client_ep->handle; in unicast_client_ep_subscribe() 1866 if (!client->cp_subscribe.value_handle) { in unicast_client_ep_set_cp() 1869 client->cp_subscribe.value_handle = handle; in unicast_client_ep_set_cp() 3612 uint16_t value_handle; in unicast_client_cp_discover_func() local 3622 value_handle = chrc->value_handle; in unicast_client_cp_discover_func() 3625 LOG_DBG("conn %p attr %p handle 0x%04x", conn, attr, value_handle); in unicast_client_cp_discover_func() 3627 unicast_client_ep_set_cp(conn, value_handle); in unicast_client_cp_discover_func() [all …]
|
D | mcc.c | 1011 uint16_t handle = params->value_handle; in mcs_notify_handler() 1015 LOG_DBG("[UNSUBSCRIBED] 0x%04X", params->value_handle); in mcs_notify_handler() 1016 params->value_handle = 0U; in mcs_notify_handler() 1413 mcs_inst->otc.feature_handle = chrc->value_handle; in discover_otc_char_func() 1416 mcs_inst->otc.obj_name_handle = chrc->value_handle; in discover_otc_char_func() 1419 mcs_inst->otc.obj_type_handle = chrc->value_handle; in discover_otc_char_func() 1422 mcs_inst->otc.obj_size_handle = chrc->value_handle; in discover_otc_char_func() 1425 mcs_inst->otc.obj_id_handle = chrc->value_handle; in discover_otc_char_func() 1427 LOG_DBG("Object properties %d", chrc->value_handle); in discover_otc_char_func() 1428 mcs_inst->otc.obj_properties_handle = chrc->value_handle; in discover_otc_char_func() [all …]
|
D | aics_client.c | 61 uint16_t handle = params->value_handle; in aics_client_notify_handler() 585 inst->cli.start_handle = chrc->value_handle; in aics_discover_func() 587 inst->cli.end_handle = chrc->value_handle; in aics_discover_func() 591 inst->cli.state_handle = chrc->value_handle; in aics_discover_func() 595 inst->cli.gain_handle = chrc->value_handle; in aics_discover_func() 598 inst->cli.type_handle = chrc->value_handle; in aics_discover_func() 601 inst->cli.status_handle = chrc->value_handle; in aics_discover_func() 605 inst->cli.control_handle = chrc->value_handle; in aics_discover_func() 608 inst->cli.desc_handle = chrc->value_handle; in aics_discover_func() 622 sub_params->value_handle = chrc->value_handle; in aics_discover_func()
|
D | csip_set_coordinator.c | 387 uint16_t handle = params->value_handle; in sirk_notify_func() 391 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in sirk_notify_func() 392 params->value_handle = 0U; in sirk_notify_func() 458 uint16_t handle = params->value_handle; in size_notify_func() 462 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in size_notify_func() 463 params->value_handle = 0U; in size_notify_func() 504 uint16_t handle = params->value_handle; in lock_notify_func() 508 LOG_DBG("[UNSUBSCRIBED] %u", params->value_handle); in lock_notify_func() 509 params->value_handle = 0U; in lock_notify_func() 730 client->cur_inst->sirk_handle = chrc->value_handle; in discover_func() [all …]
|
/Zephyr-latest/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() 189 if (params->value_handle == chrc_handle) { in test_short_subscribed() 192 FAIL("Unknown handle %d\n", params->value_handle); in test_short_subscribed() 210 if (params->value_handle == long_chrc_handle) { in test_long_subscribed() 213 FAIL("Unknown handle %d\n", params->value_handle); in test_long_subscribed() 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-latest/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-latest/tests/bsim/bluetooth/host/l2cap/reassembly/dut/src/ |
D | dut.c | 43 TEST_ASSERT(params->value_handle == GATT_HANDLE, in received_notification() 45 GATT_HANDLE, params->value_handle); in received_notification() 76 sub_params.value_handle = handle; in fake_subscribe()
|
/Zephyr-latest/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-latest/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-latest/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-latest/tests/bsim/bluetooth/host/misc/acl_tx_frag/src/ |
D | peer.c | 88 LOG_DBG("Subscribed to handle 0x%04x", params->value_handle); in sub_cb() 111 sub_params.value_handle = handle; in subscribe()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/ |
D | client.c | 105 LOG_DBG("Subscribed to handle 0x%04x", params->value_handle); in sub_cb() 121 sub_params.value_handle = handle; in subscribe()
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/ |
D | peer.c | 102 LOG_DBG("Subscribed to handle 0x%04x", params->value_handle); in sub_cb() 127 sub_params.value_handle = handle; in subscribe()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
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()
|
D | btp_ccp.c | 245 tbs_handles.provider_name = tbs_inst->name_sub_params.value_handle; in tbs_client_read_val_cb() 247 tbs_handles.bearer_technology = tbs_inst->technology_sub_params.value_handle; in tbs_client_read_val_cb() 249 tbs_handles.signal_strength = tbs_inst->signal_strength_sub_params.value_handle; in tbs_client_read_val_cb() 251 tbs_handles.current_calls = tbs_inst->current_calls_sub_params.value_handle; in tbs_client_read_val_cb() 253 tbs_handles.status_flags = tbs_inst->status_flags_sub_params.value_handle; in tbs_client_read_val_cb() 254 tbs_handles.bearer_uri = tbs_inst->in_target_uri_sub_params.value_handle; in tbs_client_read_val_cb() 255 tbs_handles.call_state = tbs_inst->call_state_sub_params.value_handle; in tbs_client_read_val_cb() 256 tbs_handles.control_point = tbs_inst->call_cp_sub_params.value_handle; in tbs_client_read_val_cb() 259 tbs_handles.incoming_call = tbs_inst->incoming_call_sub_params.value_handle; in tbs_client_read_val_cb() 260 tbs_handles.friendly_name = tbs_inst->friendly_name_sub_params.value_handle; in tbs_client_read_val_cb()
|
/Zephyr-latest/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-latest/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-latest/subsys/bluetooth/host/shell/ |
D | gatt.c | 553 params->value_handle = 0U; in notify_func() 558 params->value_handle, length); in notify_func() 568 if (subscribe_params.value_handle) { in cmd_subscribe() 570 subscribe_params.value_handle); in cmd_subscribe() 580 subscribe_params.value_handle = strtoul(argv[2], NULL, 16); in cmd_subscribe() 600 subscribe_params.value_handle = 0U; in cmd_subscribe() 615 if (subscribe_params.value_handle) { in cmd_resubscribe() 617 subscribe_params.value_handle); in cmd_resubscribe() 628 subscribe_params.value_handle = strtoul(argv[4], NULL, 16); in cmd_resubscribe() 639 subscribe_params.value_handle = 0U; in cmd_resubscribe() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/samples/battery_service/src/ |
D | central_test.c | 434 .value_handle = bt_gatt_attr_value_handle(attr), in subscribe_battery_level() 459 .value_handle = bt_gatt_attr_value_handle(attr), in subscribe_battery_critical_status() 485 .value_handle = bt_gatt_attr_value_handle(attr), in subscribe_battery_level_status() 492 .value_handle = bt_gatt_attr_value_handle(attr), in subscribe_battery_level_status()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pacs_notify_client_test.c | 115 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_supported_contexts() 182 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_available_contexts() 249 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_src_loc() 316 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_snk_loc() 383 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_pacs_src() 450 subscribe_params->value_handle = bt_gatt_attr_value_handle(attr); in discover_pacs_snk()
|
/Zephyr-latest/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-latest/tests/bsim/bluetooth/host/misc/disconnect/dut/src/ |
D | main.c | 165 params->value_handle); in notified() 210 .value_handle = HVX_HANDLE, in subscribe()
|