/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_provision.c | 363 static struct bt_mesh_prov prov = { variable 399 ASSERT_OK(bt_mesh_auth_method_set_static(prov.static_val, prov.static_val_len)); in capabilities() 402 ASSERT_OK(bt_mesh_auth_method_set_output(prov.output_actions, prov.output_size)); in capabilities() 405 ASSERT_OK(bt_mesh_auth_method_set_input(prov.input_actions, prov.input_size)); in capabilities() 426 prov.static_val = oob_auth_test_vector[test_step].static_val; in oob_auth_set() 427 prov.static_val_len = oob_auth_test_vector[test_step].static_val_len; in oob_auth_set() 428 prov.output_size = oob_auth_test_vector[test_step].output_size; in oob_auth_set() 429 prov.output_actions = oob_auth_test_vector[test_step].output_actions; in oob_auth_set() 430 prov.input_size = oob_auth_test_vector[test_step].input_size; in oob_auth_set() 431 prov.input_actions = oob_auth_test_vector[test_step].input_actions; in oob_auth_set() [all …]
|
D | test_lcd.c | 105 static struct bt_mesh_prov prov; variable 248 bt_mesh_device_setup(&prov, &comp_1); in test_cli_max_sdu_comp_data_request() 293 bt_mesh_device_setup(&prov, (comp_page == 0 || comp_page == 128) ? &comp_1 : &comp_2); in test_cli_split_comp_data_request() 347 bt_mesh_device_setup(&prov, &comp_2); in test_cli_max_sdu_metadata_request() 392 bt_mesh_device_setup(&prov, &comp_2); in test_cli_split_metadata_request() 427 bt_mesh_device_setup(&prov, (comp_page == 0 || comp_page == 128) ? &comp_1 : &comp_2); in test_srv_comp_data_status_respond() 445 bt_mesh_device_setup(&prov, &comp_2); in test_srv_metadata_status_respond()
|
D | test_blob.c | 131 static struct bt_mesh_prov prov; variable 396 bt_mesh_device_setup(&prov, &cli_comp); in cli_caps_common_procedure() 469 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_caps_cancelled() 531 bt_mesh_device_setup(&prov, &srv_comp); in test_srv_caps_standard() 540 bt_mesh_device_setup(&prov, &none_rsp_srv_comp); in test_srv_caps_no_rsp() 581 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_broadcast_basic() 658 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_broadcast_trans() 767 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_broadcast_unicast_seq() 837 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_broadcast_unicast() 909 bt_mesh_device_setup(&prov, &cli_comp); in test_cli_trans_complete() [all …]
|
D | test_sar.c | 74 static struct bt_mesh_prov prov; variable 191 bt_mesh_device_setup(&prov, &comp); in cli_max_len_sdu_send() 213 bt_mesh_device_setup(&prov, &comp); in srv_max_len_sdu_receive() 262 bt_mesh_device_setup(&prov, &comp); in test_srv_cfg_store() 280 bt_mesh_device_setup(&prov, &comp); in test_srv_cfg_restore()
|
D | test_access.c | 55 static struct bt_mesh_prov prov; variable 374 bt_mesh_device_setup(&prov, &local_comp); in test_tx_ext_model() 415 bt_mesh_device_setup(&prov, &local_comp); in test_sub_ext_model() 466 bt_mesh_device_setup(&prov, &local_comp); in test_sub_capacity_ext_model() 688 bt_mesh_device_setup(&prov, &local_comp); in tx_period() 729 bt_mesh_device_setup(&prov, &local_comp); in rx_period() 776 bt_mesh_device_setup(&prov, &local_comp); in tx_transmit() 827 bt_mesh_device_setup(&prov, &local_comp); in rx_transmit() 876 bt_mesh_device_setup(&prov, &local_comp); in test_tx_cancel() 934 bt_mesh_device_setup(&prov, &local_comp); in test_rx_cancel()
|
D | test_dfu.c | 41 static struct bt_mesh_prov prov; variable 546 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu() 570 bt_mesh_device_setup(&prov, &dist_comp_self_update); in test_dist_dfu_self_update() 608 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_create() 675 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_create_recover() 719 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_delete_all() 730 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_check_delete_all() 743 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_reservation() 770 bt_mesh_device_setup(&prov, &dist_comp); in test_dist_dfu_slot_idempotency() 799 bt_mesh_device_setup(&prov, &target_comp); in target_test_effect() [all …]
|
D | test_proxy_sol.c | 29 static struct bt_mesh_prov prov; variable 110 bt_mesh_device_setup(&prov, &comp); in tester_configure() 126 bt_mesh_device_setup(&prov, &comp); in iut_configure()
|
D | test_suspend.c | 46 static struct bt_mesh_prov prov = { variable 280 bt_mesh_device_setup(&prov, &dut_comp); in dut_pub_common() 348 bt_mesh_device_setup(&prov, &comp); in dut_gatt_common() 404 bt_mesh_device_setup(&prov, &tester_comp); in test_tester_pub()
|
D | test_op_agg.c | 54 static struct bt_mesh_prov prov; variable 168 bt_mesh_device_setup(&prov, &comp); in common_init()
|
D | mesh_test.c | 275 void bt_mesh_device_setup(const struct bt_mesh_prov *prov, const struct bt_mesh_comp *comp) in bt_mesh_device_setup() argument 287 err = bt_mesh_init(prov, comp); in bt_mesh_device_setup() 306 static struct bt_mesh_prov prov; in bt_mesh_test_setup() local 311 bt_mesh_device_setup(&prov, &comp); in bt_mesh_test_setup()
|
D | test_cdp1.c | 56 static struct bt_mesh_prov prov; variable 399 bt_mesh_device_setup(&prov, &comp); in test_node_data_comparison()
|
D | mesh_test.h | 187 void bt_mesh_device_setup(const struct bt_mesh_prov *prov, const struct bt_mesh_comp *comp);
|
D | test_beacon.c | 89 static struct bt_mesh_prov prov; variable 1113 bt_mesh_device_setup(&prov, &prb_comp); in tx_priv_setup() 1151 bt_mesh_device_setup(&prov, &prb_comp); in test_tx_priv_adv() 1309 bt_mesh_device_setup(&prov, &prb_comp); in test_rx_priv_invalid() 1368 bt_mesh_device_setup(&prov, &prb_comp); in test_tx_priv_interleave() 1499 bt_mesh_device_setup(&prov, &prb_comp); in test_rx_priv_beacon_cache() 1711 bt_mesh_device_setup(&prov, &prb_comp); in tx_proxy_adv_common_init() 2136 bt_mesh_device_setup(&prov, &prb_comp); in test_tx_priv_gatt_proxy() 2165 bt_mesh_device_setup(&prov, &prb_comp); in test_rx_priv_gatt_proxy()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | ble_mesh.c | 38 static const struct bt_mesh_prov prov = { variable 61 err = bt_mesh_init(&prov, &comp); in bt_ready()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | pb_gatt_srv.c | 222 const struct bt_mesh_prov *prov = bt_mesh_prov_get(); in gatt_prov_adv_create() local 225 memcpy(prov_svc_data + 2, prov->uuid, 16); in gatt_prov_adv_create() 226 sys_put_be16(prov->oob_info, prov_svc_data + 18); in gatt_prov_adv_create() 228 if (!prov->uri) { in gatt_prov_adv_create() 232 uri_len = strlen(prov->uri); in gatt_prov_adv_create() 241 prov_sd[prov_sd_len].data = (const uint8_t *)prov->uri; in gatt_prov_adv_create()
|
D | beacon.c | 346 const struct bt_mesh_prov *prov; in unprovisioned_beacon_send() local 360 prov = bt_mesh_prov_get(); in unprovisioned_beacon_send() 363 net_buf_simple_add_mem(&adv->b, prov->uuid, 16); in unprovisioned_beacon_send() 365 if (prov->uri && bt_mesh_s1_str(prov->uri, uri_hash) == 0) { in unprovisioned_beacon_send() 366 oob_info = prov->oob_info | BT_MESH_PROV_OOB_URI; in unprovisioned_beacon_send() 368 oob_info = prov->oob_info; in unprovisioned_beacon_send() 377 if (prov->uri) { in unprovisioned_beacon_send() 387 len = strlen(prov->uri); in unprovisioned_beacon_send() 391 net_buf_simple_add_mem(&adv->b, prov->uri, len); in unprovisioned_beacon_send() 403 const struct bt_mesh_prov *prov; in unprovisioned_beacon_recv() local [all …]
|
D | main.c | 72 const struct bt_mesh_prov *prov; in bt_mesh_provision() local 88 prov = bt_mesh_prov_get(); in bt_mesh_provision() 89 node = bt_mesh_cdb_node_alloc(prov->uuid, addr, in bt_mesh_provision() 563 int bt_mesh_init(const struct bt_mesh_prov *prov, in bt_mesh_init() argument 588 err = bt_mesh_prov_init(prov); in bt_mesh_init()
|
D | prov.h | 204 int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
|
D | rpr_srv.c | 668 const struct bt_mesh_prov *prov = bt_mesh_prov_get(); in handle_extended_scan_start() local 679 net_buf_simple_add_mem(&rsp, prov->uuid, 16); in handle_extended_scan_start() 680 net_buf_simple_add_le16(&rsp, prov->oob_info); in handle_extended_scan_start() 682 if (prov->uri && get_ad_type(ad, ad_count, BT_DATA_URI)) { in handle_extended_scan_start() 683 uint8_t uri_len = strlen(prov->uri); in handle_extended_scan_start() 688 net_buf_simple_add_mem(&rsp, prov->uri, in handle_extended_scan_start() 690 LOG_DBG("URI added: %s", prov->uri); in handle_extended_scan_start()
|
D | CMakeLists.txt | 36 zephyr_library_sources_ifdef(CONFIG_BT_MESH_PROV prov.c)
|
/Zephyr-latest/tests/bluetooth/mesh/basic/src/ |
D | main.c | 152 static const struct bt_mesh_prov prov = { variable 172 err = bt_mesh_init(&prov, &comp); in bt_ready()
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | main.c | 158 static const struct bt_mesh_prov prov = { variable 175 err = bt_mesh_init(&prov, &comp); in bt_ready()
|
/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | main.c | 292 static const struct bt_mesh_prov prov = { variable 385 err = bt_mesh_init(&prov, &comp); in bt_ready()
|
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/ |
D | main.c | 252 static const struct bt_mesh_prov prov = { variable 263 err = bt_mesh_init(&prov, &mesh_comp); in bt_ready()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/ |
D | main.c | 523 static const struct bt_mesh_prov prov = { variable 554 err = bt_mesh_init(&prov, &comp); in bt_ready()
|