Home
last modified time | relevance | path

Searched refs:bt_mesh_prov (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/subsys/bluetooth/mesh/
Dprov.c29 LOG_MODULE_REGISTER(bt_mesh_prov);
32 const struct bt_mesh_prov *bt_mesh_prov; variable
95 if (!(bt_mesh_prov->output_actions & output)) { in check_output_auth()
99 if (size > bt_mesh_prov->output_size) { in check_output_auth()
112 if (!(bt_mesh_prov->input_actions & input)) { in check_input_auth()
116 if (size > bt_mesh_prov->input_size) { in check_input_auth()
208 return bt_mesh_prov->input(input, size); in bt_mesh_prov_auth()
221 return bt_mesh_prov->output_string(str); in bt_mesh_prov_auth()
225 return bt_mesh_prov->output_number(output, in bt_mesh_prov_auth()
243 return bt_mesh_prov->input(input, size); in bt_mesh_prov_auth()
[all …]
Dprovisionee.c89 uint8_t oob_type = bt_mesh_prov->static_val ? in prov_invite()
91 bool oob_availability = bt_mesh_prov->output_size > 0 || in prov_invite()
92 bt_mesh_prov->input_size > 0 || bt_mesh_prov->static_val; in prov_invite()
112 bt_mesh_prov->public_key_be == NULL ? PUB_KEY_NO_OOB : PUB_KEY_OOB); in prov_invite()
118 net_buf_simple_add_u8(&buf, bt_mesh_prov->output_size); in prov_invite()
121 net_buf_simple_add_be16(&buf, bt_mesh_prov->output_actions); in prov_invite()
124 net_buf_simple_add_u8(&buf, bt_mesh_prov->input_size); in prov_invite()
127 net_buf_simple_add_be16(&buf, bt_mesh_prov->input_actions); in prov_invite()
163 (!IS_ENABLED(CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY) || !bt_mesh_prov->public_key_be))) { in prov_start()
194 memcpy(bt_mesh_prov_link.auth, bt_mesh_prov->static_val, in prov_start()
[all …]
Dprov.h153 extern const struct bt_mesh_prov *bt_mesh_prov;
195 const struct bt_mesh_prov *bt_mesh_prov_get(void);
204 int bt_mesh_prov_init(const struct bt_mesh_prov *prov);
Dprovisioner.c170 if (!bt_mesh_prov->output_string) { in prov_check_method()
175 if (!bt_mesh_prov->output_number) { in prov_check_method()
195 if (!bt_mesh_prov->input) { in prov_check_method()
299 if (bt_mesh_prov->capabilities) { in prov_capabilities()
300 bt_mesh_prov->capabilities(&caps); in prov_capabilities()
476 bt_mesh_prov->input_complete) { in notify_input_complete()
477 bt_mesh_prov->input_complete(); in notify_input_complete()
609 if (bt_mesh_prov->node_added) { in prov_node_add()
610 bt_mesh_prov->node_added(node->net_idx, node->uuid, node->addr, in prov_node_add()
891 bt_mesh_prov->public_key_be && bt_mesh_prov->private_key_be) { in reprovision_local_client_server()
[all …]
Dpb_gatt_cli.c121 if (!bt_mesh_prov->unprovisioned_beacon_gatt) { in bt_mesh_pb_gatt_cli_adv_recv()
127 bt_mesh_prov->unprovisioned_beacon_gatt(uuid, oob_info); in bt_mesh_pb_gatt_cli_adv_recv()
Dmain.c72 const struct bt_mesh_prov *prov; in bt_mesh_provision()
563 int bt_mesh_init(const struct bt_mesh_prov *prov, in bt_mesh_init()
Dpb_gatt_srv.c222 const struct bt_mesh_prov *prov = bt_mesh_prov_get(); in gatt_prov_adv_create()
Dbeacon.c346 const struct bt_mesh_prov *prov; in unprovisioned_beacon_send()
403 const struct bt_mesh_prov *prov; in unprovisioned_beacon_recv()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dprovisioning.rst107 :c:member:`bt_mesh_prov.public_key_be`
108 and :c:member:`bt_mesh_prov.private_key_be`. The keys needs to be
134 methods in :c:struct:`bt_mesh_prov`, as well as enabling the supported actions
135 in :c:member:`bt_mesh_prov.output_actions` and
136 :c:member:`bt_mesh_prov.input_actions`.
140 :c:member:`bt_mesh_prov.input_complete` or :c:member:`bt_mesh_prov.complete`
145 application receives the :c:member:`bt_mesh_prov.input` callback. The user
169 by the mesh stack, and the provisioning :c:member:`bt_mesh_prov.complete`
190 .. doxygengroup:: bt_mesh_prov
Drpr_srv.rst21 Provisioning Protocol Interface (NPPI) procedure, the :c:member:`bt_mesh_prov.reprovisioned`
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dshell.h63 extern struct bt_mesh_prov bt_mesh_shell_prov;
Dmain.h115 struct bt_mesh_prov { struct
587 int bt_mesh_init(const struct bt_mesh_prov *prov,
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dble_mesh.c38 static const struct bt_mesh_prov prov = {
/Zephyr-latest/tests/bluetooth/mesh/basic/src/
Dmain.c152 static const struct bt_mesh_prov prov = {
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dmesh_test.h187 void bt_mesh_device_setup(const struct bt_mesh_prov *prov, const struct bt_mesh_comp *comp);
Dtest_op_agg.c54 static struct bt_mesh_prov prov;
Dmesh_test.c275 void bt_mesh_device_setup(const struct bt_mesh_prov *prov, const struct bt_mesh_comp *comp) in bt_mesh_device_setup()
306 static struct bt_mesh_prov prov; in bt_mesh_test_setup()
Dtest_proxy_sol.c29 static struct bt_mesh_prov prov;
Dtest_brg.c142 static struct bt_mesh_prov tester_prov = {.uuid = prov_uuid,
152 static struct bt_mesh_prov device_prov = {
157 static struct bt_mesh_prov bridge_prov = {
Dtest_sar.c74 static struct bt_mesh_prov prov;
Dtest_cdp1.c56 static struct bt_mesh_prov prov;
Dtest_suspend.c46 static struct bt_mesh_prov prov = {
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmain.c158 static const struct bt_mesh_prov prov = {
/Zephyr-latest/samples/bluetooth/mesh/src/
Dmain.c292 static const struct bt_mesh_prov prov = {
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c252 static const struct bt_mesh_prov prov = {

12