Home
last modified time | relevance | path

Searched refs:oob (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/
Dtest_suite_invalid_inputs.c37 struct bt_le_oob oob = {0}; in ZTEST() local
40 bt_le_ext_adv_oob_get_local(NULL, &oob); in ZTEST()
75 struct bt_le_oob oob = {0}; in ZTEST() local
80 err = bt_le_ext_adv_oob_get_local(&adv, &oob); in ZTEST()
102 struct bt_le_oob oob = {0}; in ZTEST() local
116 err = bt_le_ext_adv_oob_get_local(&adv, &oob); in ZTEST()
140 struct bt_le_oob oob = {0}; in ZTEST() local
152 err = bt_le_ext_adv_oob_get_local(&adv, &oob); in ZTEST()
154 expect_single_call_bt_smp_le_oob_generate_sc_data(&oob.le_sc_data); in ZTEST()
157 zassert_mem_equal(&oob.addr, BT_RPA_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
[all …]
Dmain.c47 struct bt_le_oob oob = {0}; in ZTEST() local
59 err = bt_le_ext_adv_oob_get_local(&adv, &oob); in ZTEST()
62 expect_single_call_bt_smp_le_oob_generate_sc_data(&oob.le_sc_data); in ZTEST()
66 zassert_mem_equal(&oob.addr, BT_RPA_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
83 struct bt_le_oob oob = {0}; in ZTEST() local
95 err = bt_le_ext_adv_oob_get_local(&adv, &oob); in ZTEST()
98 expect_single_call_bt_smp_le_oob_generate_sc_data(&oob.le_sc_data); in ZTEST()
102 zassert_mem_equal(&oob.addr, BT_RPA_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/bt_le_oob_get_local/src/
Dtest_suite_invalid_inputs.c54 struct bt_le_oob oob = {0}; in ZTEST() local
58 err = bt_le_oob_get_local(0x00, &oob); in ZTEST()
77 struct bt_le_oob oob = {0}; in ZTEST() local
81 err = bt_le_oob_get_local(CONFIG_BT_ID_MAX, &oob); in ZTEST()
104 struct bt_le_oob oob = {0}; in ZTEST() local
114 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
144 struct bt_le_oob oob = {0}; in ZTEST() local
157 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
189 struct bt_le_oob oob = {0}; in ZTEST() local
207 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
[all …]
Dmain.c50 struct bt_le_oob oob; in ZTEST() local
65 err = bt_le_oob_get_local(i, &oob); in ZTEST()
68 expect_single_call_bt_smp_le_oob_generate_sc_data(&oob.le_sc_data); in ZTEST()
72 zassert_mem_equal(&oob.addr, BT_RPA_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
90 struct bt_le_oob oob; in ZTEST() local
100 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
103 expect_single_call_bt_smp_le_oob_generate_sc_data(&oob.le_sc_data); in ZTEST()
107 zassert_mem_equal(&oob.addr, BT_RPA_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/bt_br_oob_get_local/src/
Dmain.c39 struct bt_br_oob oob; in ZTEST() local
43 err = bt_br_oob_get_local(&oob); in ZTEST()
46 zassert_mem_equal(&oob.addr, &BT_RPA_LE_ADDR->a, sizeof(bt_addr_t), in ZTEST()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dble_mesh.c57 struct bt_le_oob oob; in bt_ready() local
72 if (bt_le_oob_get_local(BT_ID_DEFAULT, &oob)) { in bt_ready()
75 memcpy(dev_uuid, oob.addr.a.val, 6); in bt_ready()
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/src/
Dmain.c65 struct bt_le_oob oob; in recv_cb() local
82 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in recv_cb()
89 bt_addr_le_to_str(&oob.addr, addr_str, sizeof(addr_str)); in recv_cb()
94 net_buf_simple_add_mem(&rsp_buf, &oob.addr.a, sizeof(oob.addr.a)); in recv_cb()
95 net_buf_simple_add_u8(&rsp_buf, oob.addr.type); in recv_cb()
/Zephyr-latest/arch/arm64/core/
Disr_wrapper.S73 b.le oob
75 b.gt oob
78 oob: label
/Zephyr-latest/subsys/bluetooth/mesh/
Ddfd_srv.c365 net_buf_simple_add_mem(&rsp, srv->upload.oob.current_fwid, in upload_status_rsp_with_progress()
366 srv->upload.oob.current_fwid_len); in upload_status_rsp_with_progress()
589 uri_len == srv->upload.oob.uri_len && in handle_upload_start_oob()
590 fwid_len == srv->upload.oob.current_fwid_len && in handle_upload_start_oob()
591 !memcmp(uri, srv->upload.oob.uri, uri_len) && in handle_upload_start_oob()
592 !memcmp(fwid, srv->upload.oob.current_fwid, fwid_len)) { in handle_upload_start_oob()
630 memcpy(srv->upload.oob.uri, uri, uri_len); in handle_upload_start_oob()
631 srv->upload.oob.uri_len = uri_len; in handle_upload_start_oob()
632 memcpy(srv->upload.oob.current_fwid, fwid, fwid_len); in handle_upload_start_oob()
633 srv->upload.oob.current_fwid_len = fwid_len; in handle_upload_start_oob()
[all …]
Drpr_cli.c110 dev.oob = net_buf_simple_pull_le16(buf); in handle_extended_scan_report()
113 bt_hex(dev.uuid, 16), dev.oob, in handle_extended_scan_report()
293 dev.oob = net_buf_simple_pull_le16(buf); in handle_scan_report()
306 bt_uuid_str(&uuid_repr.uuid), dev.oob, dev.rssi); in handle_scan_report()
Drpr_srv.c240 net_buf_simple_add_le16(&buf, dev->oob); in scan_report_send()
272 net_buf_simple_add_le16(&buf, srv.scan.dev->oob); in scan_ext_report_send()
748 srv.scan.dev->oob = 0; in handle_extended_scan_start()
1073 dev->oob = sys_get_be16(&ad->data[17]); in adv_handle_beacon()
1085 bt_uuid_str(&uuid_repr.uuid), dev->oob, in adv_handle_beacon()
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dclassic.h169 int bt_br_oob_get_local(struct bt_br_oob *oob);
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Drpr.h94 bt_mesh_prov_oob_info_t oob; member
Ddfd_srv.h238 } oob; member
/Zephyr-latest/samples/bluetooth/eddystone/src/
Dmain.c427 struct bt_le_oob oob; in eds_slot_restart() local
430 if (bt_le_oob_get_local(BT_ID_DEFAULT, &oob) == 0) { in eds_slot_restart()
431 addr = oob.addr; in eds_slot_restart()
627 struct bt_le_oob oob; in bt_ready() local
644 bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in bt_ready()
645 bt_addr_le_to_str(&oob.addr, addr_s, sizeof(addr_s)); in bt_ready()
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Dbredr.c356 struct bt_br_oob oob; in cmd_oob() local
359 err = bt_br_oob_get_local(&oob); in cmd_oob()
365 bt_addr_to_str(&oob.addr, addr, sizeof(addr)); in cmd_oob()
560 SHELL_CMD_ARG(oob, NULL, NULL, cmd_oob, 1, 0),
/Zephyr-latest/subsys/bluetooth/host/
Did.c1983 int bt_br_oob_get_local(struct bt_br_oob *oob) in bt_br_oob_get_local() argument
1985 CHECKIF(oob == NULL) { in bt_br_oob_get_local()
1989 bt_addr_copy(&oob->addr, &bt_dev.id_addr[0].a); in bt_br_oob_get_local()
1995 int bt_le_oob_get_local(uint8_t id, struct bt_le_oob *oob) in bt_le_oob_get_local() argument
2000 CHECKIF(oob == NULL) { in bt_le_oob_get_local()
2058 bt_addr_le_copy(&oob->addr, &bt_dev.random_addr); in bt_le_oob_get_local()
2060 bt_addr_le_copy(&oob->addr, &bt_dev.id_addr[id]); in bt_le_oob_get_local()
2064 err = bt_smp_le_oob_generate_sc_data(&oob->le_sc_data); in bt_le_oob_get_local()
2075 struct bt_le_oob *oob) in bt_le_ext_adv_oob_get_local() argument
2079 CHECKIF(adv == NULL || oob == NULL) { in bt_le_ext_adv_oob_get_local()
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx-espi-vws-map.dtsi60 vw-oob-rst-warn {
97 vw-oob-rst-ack {
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/
Dmain.c545 struct bt_le_oob oob; in bt_ready() local
565 if (bt_le_oob_get_local(BT_ID_DEFAULT, &oob)) { in bt_ready()
568 memcpy(dev_uuid, oob.addr.a.val, 6); in bt_ready()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h2587 int bt_le_oob_get_local(uint8_t id, struct bt_le_oob *oob);
2614 struct bt_le_oob *oob);
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c726 static void print_le_oob(const struct shell *sh, struct bt_le_oob *oob) in print_le_oob() argument
732 bt_addr_le_to_str(&oob->addr, addr, sizeof(addr)); in print_le_oob()
734 bin2hex(oob->le_sc_data.c, sizeof(oob->le_sc_data.c), c, sizeof(c)); in print_le_oob()
735 bin2hex(oob->le_sc_data.r, sizeof(oob->le_sc_data.r), r, sizeof(r)); in print_le_oob()
4982 SHELL_CMD_ARG(adv-oob, NULL, HELP_NONE, cmd_adv_oob, 1, 0),
5050 SHELL_CMD_ARG(oob, NULL, HELP_NONE, cmd_oob, 1, 0),
5078 SHELL_CMD_ARG(auth-oob-tk, NULL, "<tk>", cmd_auth_oob_tk, 2, 0),
5080 SHELL_CMD_ARG(oob-remote, NULL,
5083 SHELL_CMD_ARG(oob-clear, NULL, HELP_NONE, cmd_oob_clear, 1, 0),
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Drpr.c35 srv->addr, uuid_hex_str, unprov->oob); in rpr_scan_report()
Dshell.c1678 SHELL_CMD_ARG(static-oob, NULL, "[Val]", cmd_static_oob, 2, 1),
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dcsip.rst155 reject, oob>
Dcap.rst33 reject, oob>

12