| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
| D | gatt_client_test.c | 243 .subscribe = test_subscribed, 252 .subscribe = test_subscribed, 298 static void subscribe(struct bt_gatt_subscribe_params *params, bool subscribe) in subscribe() function 302 if (subscribe) { in subscribe() 309 TEST_FAIL("Failed to %ssubscribe (err %d)", subscribe ? "un":"", err); in subscribe() 311 printk("%ssubscribe request sent\n", subscribe ? "un":""); in subscribe() 354 subscribe(&sub_params_short, true); in test_main() 355 subscribe(&sub_params_long, true); in test_main() 365 subscribe(&sub_params_short, false); in test_main() 366 subscribe(&sub_params_long, false); in test_main()
|
| /Zephyr-latest/subsys/bluetooth/mesh/ |
| D | gatt_cli.c | 47 struct bt_gatt_subscribe_params subscribe; member 143 (void)memset(&server->subscribe, 0, sizeof(server->subscribe)); in discover_func() 145 server->subscribe.notify = notify_func; in discover_func() 146 server->subscribe.subscribe = notify_enabled; in discover_func() 147 server->subscribe.value = BT_GATT_CCC_NOTIFY; in discover_func() 148 server->subscribe.ccc_handle = attr->handle; in discover_func() 149 server->subscribe.value_handle = attr->handle - 1; in discover_func() 151 err = bt_gatt_subscribe(conn, &server->subscribe); in discover_func()
|
| /Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
| D | gatt.rst | 13 You can now subscribe to those new services on the client side. Here is an example on how to 14 subscribe to the test service: 18 uart:~$ gatt subscribe 26 25
|
| /Zephyr-latest/tests/bsim/bluetooth/host/misc/acl_tx_frag/src/ |
| D | peer.c | 103 static void subscribe(struct bt_conn *conn, uint16_t handle, bt_gatt_notify_func_t cb) in subscribe() function 109 sub_params.subscribe = sub_cb; in subscribe() 142 subscribe(conn, g_handle, received_notification); in test_iteration()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/ |
| D | gatt_utils.h | 15 void gatt_subscribe_to_service_changed(bool subscribe);
|
| D | gatt_utils.c | 202 void gatt_subscribe_to_service_changed(bool subscribe) in gatt_subscribe_to_service_changed() argument 208 subscribe_params.subscribe = sc_subscribed; in gatt_subscribe_to_service_changed() 210 if (subscribe) { in gatt_subscribe_to_service_changed() 230 subscribe ? "S" : "Uns", in gatt_subscribe_to_service_changed() 231 subscribe ? "to" : "from"); in gatt_subscribe_to_service_changed()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/ |
| D | client.c | 111 static void subscribe(struct bt_conn *conn, in subscribe() function 119 sub_params.subscribe = sub_cb; in subscribe() 166 subscribe(conn, handle, received_notification); in client_procedure()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/src/ |
| D | peer.c | 117 static void subscribe(struct bt_conn *conn, in subscribe() function 125 sub_params.subscribe = sub_cb; in subscribe() 187 subscribe(conn, handle, received_notification); in entrypoint_peer()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/ |
| D | central.c | 61 static void subscribe(void) in subscribe() function 68 subscribe_params.subscribe = sc_subscribed; in subscribe() 185 subscribe(); in central()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/dut/src/ |
| D | main.c | 203 void subscribe(void) in subscribe() function 210 .subscribe = subscribed, in subscribe() 256 subscribe(); in test_procedure_0()
|
| /Zephyr-latest/subsys/bluetooth/audio/ |
| D | Kconfig.has | 20 This option enables support for clients to subscribe for notifications 45 This option enables support for clients to subscribe for notifications
|
| /Zephyr-latest/tests/bsim/bluetooth/host/att/sequential/dut/src/ |
| D | main.c | 222 void subscribe(void) in subscribe() function 229 .subscribe = subscribed, in subscribe() 302 subscribe(); in test_procedure_0()
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_stress/src/ |
| D | gatt_server_test.c | 80 static void subscribe(const struct bt_gatt_attr *attr, uint16_t value) in subscribe() function 95 BT_GATT_CCC(subscribe, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE));
|
| /Zephyr-latest/samples/net/cloud/aws_iot_mqtt/ |
| D | Kconfig | 30 string "MQTT subscribe topic" 33 MQTT topic the client should subscribe to.
|
| /Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
| D | test_heartbeat.c | 209 TEST_CASE(subscribe, unicast, "Heartbeat: Subscribe to heartbeat from unicast"), 211 TEST_CASE(subscribe, all, "Heartbeat: Subscribe to heartbeat all nodes"),
|
| /Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc/src/ |
| D | main.c | 211 static void subscribe(struct bt_conn *conn, in subscribe() function 219 params.subscribe = subscribed; in subscribe() 261 subscribe(conn, handle, notified); in connect_and_subscribe()
|
| /Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/ |
| D | mqtt_sn_packet.c | 71 static uint8_t subscribe[] = { 12, 0x12, 0x80, 0x1C, 0x1D, '/', 'z', 'e', 'p', 'h', 'y', 'r' }; variable 455 MQTT_SN_ENCODE_TEST(subscribe), 458 .params.subscribe = {
|
| /Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/ |
| D | README.rst | 53 be configured to publish and the LED servers to subscribe. 78 to publish to group 0xC000 and LED1 to subscribe to that group. 80 to publish to group 0xC000 and LED3 to subscribe to that group.
|
| /Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/ |
| D | Kconfig | 34 prompt "Quality of Service level used for MQTT publish and subscribe"
|
| /Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
| D | tbs.rst | 28 subscribe to all notifications (default is to subscribe to all). 36 the client may subscribe and use either when sending requests if 44 discover :Discover TBS [subscribe]
|
| /Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/ |
| D | gatt_client_test.c | 239 .subscribe = test_short_subscribed, 248 .subscribe = test_long_subscribed,
|
| /Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
| D | has_client_test.c | 463 subscribe_params->subscribe = subscribe_cb; in discover_features_cb() 529 subscribe_params->subscribe = subscribe_cb; in discover_active_preset_index_cb() 594 subscribe_params->subscribe = subscribe_cb; in discover_control_point_cb()
|
| /Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
| D | main.c | 273 static void subscribe(struct mqtt_client *client) in subscribe() function 377 subscribe(client); in try_to_connect()
|
| /Zephyr-latest/samples/boards/nordic/mesh/onoff-app/ |
| D | README.rst | 25 be configured to publish and the LED servers to subscribe. 63 to publish to group 0xc000 and LED 1 to subscribe to that group.
|
| /Zephyr-latest/subsys/net/lib/mqtt_sn/ |
| D | mqtt_sn_msg.h | 214 struct mqtt_sn_param_subscribe subscribe; member
|