Lines Matching refs:key_net_idx

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
615 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_net_key_update()
631 bt_mesh_shell_target_ctx.dst, key_net_idx, key_val, in cmd_net_key_update()
641 shell_print(sh, "NetKey updated with NetKey Index 0x%03x", key_net_idx); in cmd_net_key_update()
672 uint16_t key_net_idx; in cmd_net_key_del() local
676 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_net_key_del()
683 bt_mesh_shell_target_ctx.dst, key_net_idx, &status); in cmd_net_key_del()
692 shell_print(sh, "NetKey 0x%03x deleted", key_net_idx); in cmd_net_key_del()
701 uint16_t key_net_idx, key_app_idx; in cmd_app_key_add() local
706 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_app_key_add()
738 app_key = bt_mesh_cdb_app_key_alloc(key_net_idx, key_app_idx); in cmd_app_key_add()
754 bt_mesh_shell_target_ctx.dst, key_net_idx, key_app_idx, in cmd_app_key_add()
764 shell_print(sh, "AppKey added, NetKeyIndex 0x%04x AppKeyIndex 0x%04x", key_net_idx, in cmd_app_key_add()
774 uint16_t key_net_idx, key_app_idx; in cmd_app_key_upd() local
779 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_app_key_upd()
796 bt_mesh_shell_target_ctx.dst, key_net_idx, key_app_idx, in cmd_app_key_upd()
807 key_net_idx, key_app_idx); in cmd_app_key_upd()
898 uint16_t key_net_idx, key_app_idx; in cmd_app_key_del() local
902 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_app_key_del()
910 bt_mesh_shell_target_ctx.dst, key_net_idx, key_app_idx, in cmd_app_key_del()
921 key_net_idx, key_app_idx); in cmd_app_key_del()
1456 uint16_t key_net_idx; in cmd_krp() local
1459 key_net_idx = shell_strtoul(argv[1], 0, &err); in cmd_krp()
1467 bt_mesh_shell_target_ctx.dst, key_net_idx, &status, in cmd_krp()
1478 bt_mesh_shell_target_ctx.dst, key_net_idx, trans, &status, in cmd_krp()