/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/ |
D | main.c | 99 static struct bt_conn *peripheral_setup(enum bt_att_chan_opt bearer, bool timeout) in peripheral_setup() argument 110 static struct bt_conn *central_setup(enum bt_att_chan_opt bearer, bool timeout) in central_setup() argument 128 static void central_read(struct bt_conn *conn, enum bt_att_chan_opt bearer, bool timeout) in central_read() argument 138 bearer, UUID_2, BT_ATT_FIRST_ATTRIBUTE_HANDLE, in central_read() 176 static void test_timeout(enum bt_att_chan_opt bearer) in test_timeout() argument 185 conn = peripheral_setup(bearer, true); in test_timeout() 189 conn = central_setup(bearer, true); in test_timeout() 195 central_read(conn, bearer, true); in test_timeout() 205 conn = peripheral_setup(bearer, false); in test_timeout() 209 conn = central_setup(bearer, false); in test_timeout() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | prov_bearer.h | 48 void (*link_opened)(const struct prov_bearer *bearer, void *cb_data); 50 void (*link_closed)(const struct prov_bearer *bearer, void *cb_data, 53 void (*error)(const struct prov_bearer *bearer, void *cb_data, 56 void (*recv)(const struct prov_bearer *bearer, void *cb_data,
|
D | prov.c | 311 static void prov_recv(const struct prov_bearer *bearer, void *cb_data, in prov_recv() argument 360 static void prov_link_opened(const struct prov_bearer *bearer, void *cb_data) in prov_link_opened() argument 365 bt_mesh_prov->link_open(bearer->type); in prov_link_opened() 368 bt_mesh_prov_link.bearer = bearer; in prov_link_opened() 375 static void prov_link_closed(const struct prov_bearer *bearer, void *cb_data, in prov_link_closed() argument 385 bt_mesh_prov->link_close(bearer->type); in prov_link_closed() 389 static void prov_bearer_error(const struct prov_bearer *bearer, void *cb_data, in prov_bearer_error() argument
|
D | rpr_cli.c | 42 } bearer; variable 57 bearer.link == BEARER_LINK_OPENING) { in link_report() 58 bearer.link = BEARER_LINK_OPENED; in link_report() 60 bearer.cb->link_opened(&pb_remote_cli, &ctx); in link_report() 70 bearer.link != BEARER_LINK_IDLE) { in link_report() 71 bearer.link = BEARER_LINK_IDLE; in link_report() 74 bearer.cb->link_closed(&pb_remote_cli, &ctx, in link_report() 88 if (bearer.tx.cb) { in tx_complete() 89 bearer.tx.cb(err, cb_data); in tx_complete() 255 bearer.cb->recv(&pb_remote_cli, &cb_ctx, buf); in handle_pdu_report() [all …]
|
D | prov.h | 122 const struct prov_bearer *bearer; member 158 return bt_mesh_prov_link.bearer->send(buf, cb, NULL); in bt_mesh_prov_send()
|
D | provisioner.c | 69 bt_mesh_prov_link.bearer->link_close(status); in prov_link_close() 467 bt_mesh_prov_link.bearer->clear_tx(); in prov_pub_key() 583 bt_mesh_prov_link.bearer->link_close(PROV_BEARER_LINK_STATUS_SUCCESS); in prov_complete() 799 static int link_open(const uint8_t *uuid, const struct prov_bearer *bearer, in link_open() argument 824 bt_mesh_prov_link.bearer = bearer; in link_open() 829 err = bt_mesh_prov_link.bearer->link_open( in link_open() 885 bt_mesh_prov_link.bearer = &pb_remote_cli; in reprovision_local_client_server()
|
D | provisionee.c | 473 return bt_mesh_prov_link.bearer && in is_pb_gatt() 474 bt_mesh_prov_link.bearer->type == BT_MESH_PROV_GATT; in is_pb_gatt()
|
D | rpr_srv.c | 442 static void pb_link_opened(const struct prov_bearer *bearer, void *cb_data) in pb_link_opened() argument 457 static void pb_link_closed(const struct prov_bearer *bearer, void *cb_data, in pb_link_closed() argument 491 static void pb_error(const struct prov_bearer *bearer, void *cb_data, in pb_error() argument 506 static void pb_rx(const struct prov_bearer *bearer, void *cb_data, in pb_rx() argument
|
D | main.c | 638 bt_mesh_prov_link.bearer->type == BT_MESH_PROV_ADV) { in bt_mesh_start()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/client/ |
D | main.c | 27 void test_long_read(struct bt_conn *conn, enum bt_att_chan_opt bearer) in test_long_read() argument 46 &handle, NULL, conn, bearer, in test_long_read() 53 NULL, conn, bearer, handle, 0); in test_long_read() 59 NULL, conn, bearer, handle, 1); in test_long_read()
|
/Zephyr-latest/tests/bluetooth/common/testlib/include/testlib/ |
D | att_read.h | 14 struct bt_conn *conn, enum bt_att_chan_opt bearer, 23 enum bt_att_chan_opt bearer, uint16_t handle, 28 enum bt_att_chan_opt bearer, uint16_t handle, uint16_t offset);
|
D | att_write.h | 11 int bt_testlib_att_write(struct bt_conn *conn, enum bt_att_chan_opt bearer, uint16_t handle,
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | ccp.rst | 5 a client and as a (telephone bearer service (TBS)) server. Note that in the 12 The telephone bearer service client will typically exist on a resource 21 Using the telephone bearer service client 25 and a device has been connected, the telephone bearer service client can 56 read_provider_name :Read the bearer name [<{instance_index, 58 read_bearer_uci :Read the bearer UCI [<{instance_index, gtbs}>] 59 read_technology :Read the bearer technology [<{instance_index, 61 read_uri_list :Read the bearer's supported URI list 63 read_signal_strength :Read the bearer signal strength 65 read_signal_interval :Read the bearer signal strength reporting [all …]
|
/Zephyr-latest/tests/bluetooth/common/testlib/src/ |
D | att_read.c | 124 struct bt_conn *conn, enum bt_att_chan_opt bearer, in bt_testlib_att_read_by_type_sync() argument 139 IF_ENABLED(CONFIG_BT_EATT, ({ ctx.params.chan_opt = bearer; })) in bt_testlib_att_read_by_type_sync() 141 if (bearer == BT_ATT_CHAN_OPT_ENHANCED_ONLY) { in bt_testlib_att_read_by_type_sync() 150 enum bt_att_chan_opt bearer, uint16_t handle, in bt_testlib_att_read_by_handle_sync() argument 162 IF_ENABLED(CONFIG_BT_EATT, (ctx.params.chan_opt = bearer)); in bt_testlib_att_read_by_handle_sync() 164 if (bearer == BT_ATT_CHAN_OPT_ENHANCED_ONLY) { in bt_testlib_att_read_by_handle_sync() 173 enum bt_att_chan_opt bearer, uint16_t handle, uint16_t offset) in bt_testlib_gatt_long_read() argument 186 IF_ENABLED(CONFIG_BT_EATT, (ctx.params.chan_opt = bearer)); in bt_testlib_gatt_long_read() 188 if (bearer == BT_ATT_CHAN_OPT_ENHANCED_ONLY) { in bt_testlib_gatt_long_read()
|
D | att_write.c | 38 int bt_testlib_att_write(struct bt_conn *conn, enum bt_att_chan_opt bearer, uint16_t handle, in bt_testlib_att_write() argument
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | main.c | 136 static void test_long_read(enum bt_att_chan_opt bearer, uint16_t chrc_value_handle, in test_long_read() argument 147 EXPECT_ZERO(bt_testlib_gatt_long_read(&attr_value_buf, NULL, NULL, conn, bearer, in test_long_read()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | Kconfig.tbs | 29 Bitfield to set supported features of the bearer. 38 Sets the maximum number of calls the service supports per bearer. 41 int "How many bearer instances the device instantiates" 251 int "The maximum length of the bearer provider name" 255 Sets the maximum length of the bearer provider name.
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | shell.c | 444 static const char *bearer2str(bt_mesh_prov_bearer_t bearer) in bearer2str() argument 446 switch (bearer) { in bearer2str() 601 static void link_open(bt_mesh_prov_bearer_t bearer) in link_open() argument 603 shell_print_ctx("Provisioning link opened on %s", bearer2str(bearer)); in link_open() 606 static void link_close(bt_mesh_prov_bearer_t bearer) in link_close() argument 608 shell_print_ctx("Provisioning link closed on %s", bearer2str(bearer)); in link_close() 777 static int cmd_pb(bt_mesh_prov_bearer_t bearer, const struct shell *sh, in cmd_pb() argument 794 err = bt_mesh_prov_enable(bearer); in cmd_pb() 797 bearer2str(bearer), err); in cmd_pb() 799 shell_print(sh, "%s enabled", bearer2str(bearer)); in cmd_pb() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | main.h | 255 void (*link_open)(bt_mesh_prov_bearer_t bearer); 264 void (*link_close)(bt_mesh_prov_bearer_t bearer);
|
/Zephyr-latest/doc/connectivity/bluetooth/api/audio/ |
D | bluetooth-le-audio-arch.rst | 1036 bearers into a single telephone bearer. 1039 It is left up to the implementation to determine what telephone bearer a characteristic of 1044 For example, if there is more than one TBS on a device and each has a unique telephone bearer 1046 the way the GTBS represents the telephone bearer name is left up to the implementation. 1051 A telephone bearer could be any application on a device that can handle (telephone) calls, 1061 For example if you have a bearer for regular phone calls and 1065 making it possible for a simple Call Control Client to control all calls from a single bearer. 1066 Similarly the supported URIs for each bearer are also made into a union in GTBS, and when placing 1067 a call using the GTBS the server will pick the most suited bearer depending on the URI. 1219 at least 64 on the unenhanced ATT bearer or at least one enhanced ATT bearer.
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 1191 static void link_open(bt_mesh_prov_bearer_t bearer) in link_open() argument 1195 LOG_DBG("bearer 0x%02x", bearer); in link_open() 1197 switch (bearer) { in link_open() 1199 ev.bearer = BTP_MESH_PROV_BEARER_PB_ADV; in link_open() 1202 ev.bearer = BTP_MESH_PROV_BEARER_PB_GATT; in link_open() 1205 ev.bearer = BTP_MESH_PROV_BEARER_REMOTE; in link_open() 1216 static void link_close(bt_mesh_prov_bearer_t bearer) in link_close() argument 1220 LOG_DBG("bearer 0x%02x", bearer); in link_close() 1222 switch (bearer) { in link_close() 1224 ev.bearer = BTP_MESH_PROV_BEARER_PB_ADV; in link_close() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp_mesh.h | 1119 uint8_t bearer; member 1124 uint8_t bearer; member
|
/Zephyr-latest/samples/net/capture/ |
D | README.rst | 16 bearer. For example if you are capturing network traffic for interface 1,
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | provisioning.rst | 17 the Advertising Provisioning bearer for the provisioner role.
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_provision.c | 282 static void prov_link_open(bt_mesh_prov_bearer_t bearer) in prov_link_open() argument 287 static void prov_link_close(bt_mesh_prov_bearer_t bearer) in prov_link_close() argument
|