/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/ |
D | cfg.c | 541 uint16_t key_net_idx; in cmd_net_key_add() local 545 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_net_key_add() 563 subnet = bt_mesh_cdb_subnet_get(key_net_idx); in cmd_net_key_add() 566 shell_error(sh, "Subnet 0x%03x already has a value", key_net_idx); in cmd_net_key_add() 572 key_net_idx); in cmd_net_key_add() 576 subnet = bt_mesh_cdb_subnet_alloc(key_net_idx); in cmd_net_key_add() 584 key_net_idx); in cmd_net_key_add() 592 bt_mesh_shell_target_ctx.dst, key_net_idx, key_val, &status); in cmd_net_key_add() 601 shell_print(sh, "NetKey added with NetKey Index 0x%03x", key_net_idx); in cmd_net_key_add() 611 uint16_t key_net_idx; in cmd_net_key_update() local [all …]
|
D | priv_beacon.c | 101 uint16_t key_net_idx; in cmd_priv_node_id_get() local 104 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_priv_node_id_get() 107 bt_mesh_shell_target_ctx.dst, key_net_idx, &val); in cmd_priv_node_id_get()
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/mesh/ |
D | cfg_cli.h | 556 int bt_mesh_cfg_cli_krp_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, uint8_t *status, 575 int bt_mesh_cfg_cli_krp_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 790 int bt_mesh_cfg_cli_net_key_add(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 824 int bt_mesh_cfg_cli_net_key_del(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 842 int bt_mesh_cfg_cli_app_key_add(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 866 int bt_mesh_cfg_cli_app_key_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 883 int bt_mesh_cfg_cli_app_key_del(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 1510 int bt_mesh_cfg_cli_net_key_update(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 1528 int bt_mesh_cfg_cli_app_key_update(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, 1549 int bt_mesh_cfg_cli_node_identity_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, [all …]
|
D | priv_beacon_cli.h | 184 uint16_t key_net_idx,
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | cfg_cli.c | 1182 int bt_mesh_cfg_cli_krp_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, uint8_t *status, in bt_mesh_cfg_cli_krp_get() argument 1199 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_get() 1204 int bt_mesh_cfg_cli_krp_set(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_krp_set() argument 1221 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_krp_set() 1317 int bt_mesh_cfg_cli_net_key_add(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_net_key_add() argument 1324 .net_idx = key_net_idx, in bt_mesh_cfg_cli_net_key_add() 1334 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_add() 1340 int bt_mesh_cfg_cli_net_key_update(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_cfg_cli_net_key_update() argument 1347 .net_idx = key_net_idx, in bt_mesh_cfg_cli_net_key_update() 1357 net_buf_simple_add_le16(&msg, key_net_idx); in bt_mesh_cfg_cli_net_key_update() [all …]
|
D | cfg_srv.c | 308 uint16_t key_net_idx, key_app_idx; in app_key_add() local 311 key_idx_unpack_pair(buf, &key_net_idx, &key_app_idx); in app_key_add() 313 LOG_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_add() 315 status = bt_mesh_app_key_add(key_app_idx, key_net_idx, buf->data); in app_key_add() 317 return send_app_key_status(model, ctx, status, key_app_idx, key_net_idx); in app_key_add() 324 uint16_t key_net_idx, key_app_idx; in app_key_update() local 327 key_idx_unpack_pair(buf, &key_net_idx, &key_app_idx); in app_key_update() 329 LOG_DBG("AppIdx 0x%04x NetIdx 0x%04x", key_app_idx, key_net_idx); in app_key_update() 331 status = bt_mesh_app_key_update(key_app_idx, key_net_idx, buf->data); in app_key_update() 334 return send_app_key_status(model, ctx, status, key_app_idx, key_net_idx); in app_key_update() [all …]
|
D | priv_beacon_cli.c | 264 int bt_mesh_priv_beacon_cli_node_id_get(uint16_t net_idx, uint16_t addr, uint16_t key_net_idx, in bt_mesh_priv_beacon_cli_node_id_get() argument 278 net_buf_simple_add_le16(&buf, key_net_idx); in bt_mesh_priv_beacon_cli_node_id_get()
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/btp/ |
D | btp_mesh.h | 739 uint16_t key_net_idx; member 750 uint16_t key_net_idx; member 1001 uint16_t key_net_idx; member
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/ |
D | btp_mesh.c | 869 uint16_t key_net_idx; in priv_node_id_get() local 872 key_net_idx = cp->key_net_idx; in priv_node_id_get() 874 err = bt_mesh_priv_beacon_cli_node_id_get(net.net_idx, cp->dst, key_net_idx, &val); in priv_node_id_get() 2134 sys_le16_to_cpu(cp->key_net_idx), in config_krp_get() 2163 sys_le16_to_cpu(cp->key_net_idx), in config_krp_set()
|