Home
last modified time | relevance | path

Searched refs:key_net_idx (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/
Dcfg.c541 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 …]
Dpriv_beacon.c101 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.6.0/include/zephyr/bluetooth/mesh/
Dcfg_cli.h556 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 …]
Dpriv_beacon_cli.h184 uint16_t key_net_idx,
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dcfg_cli.c1182 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 …]
Dcfg_srv.c308 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 …]
Dpriv_beacon_cli.c264 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.6.0/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h740 uint16_t key_net_idx; member
751 uint16_t key_net_idx; member
1002 uint16_t key_net_idx; member
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/
Dbtp_mesh.c874 uint16_t key_net_idx; in priv_node_id_get() local
877 key_net_idx = cp->key_net_idx; in priv_node_id_get()
879 err = bt_mesh_priv_beacon_cli_node_id_get(net.net_idx, cp->dst, key_net_idx, &val); in priv_node_id_get()
2082 sys_le16_to_cpu(cp->key_net_idx), in config_krp_get()
2111 sys_le16_to_cpu(cp->key_net_idx), in config_krp_set()