Lines Matching +full:steps +full:- +full:per +full:- +full:period

4  * SPDX-License-Identifier: Apache-2.0
281 while (p2_elem.elem_buf->len) { in cmd_get_comp()
286 if (p2_elem.data_buf->len) { in cmd_get_comp()
288 p2_elem.data_buf->len); in cmd_get_comp()
456 return -EINVAL; in cmd_net_transmit()
555 (void)memset(key_val + len, 0, sizeof(key_val) - len); in cmd_net_key_add()
625 (void)memset(key_val + len, 0, sizeof(key_val) - len); in cmd_net_key_update()
717 (void)memset(key_val + len, 0, sizeof(key_val) - len); in cmd_app_key_add()
790 (void)memset(key_val + len, 0, sizeof(key_val) - len); in cmd_app_key_upd()
1170 (void)memset(label + len, 0, sizeof(label) - len); in cmd_mod_sub_add_va()
1220 (void)memset(label + len, 0, sizeof(label) - len); in cmd_mod_sub_del_va()
1314 (void)memset(label + len, 0, sizeof(label) - len); in cmd_mod_sub_ow_va()
1528 addr, mod_id, pub.addr, pub.app_idx, pub.cred_flag, pub.ttl, pub.period, in mod_pub_get()
1539 uint8_t status, count, res_step, steps; in mod_pub_set() local
1550 memset(uuid + len, 0, sizeof(uuid) - len); in mod_pub_set()
1558 steps = shell_strtoul(argv[5], 0, &err); in mod_pub_set()
1559 if ((res_step > 3) || (steps > 0x3F)) { in mod_pub_set()
1560 shell_print(sh, "Invalid period"); in mod_pub_set()
1561 return -EINVAL; in mod_pub_set()
1564 pub.period = (steps << 2) + res_step; in mod_pub_set()
1568 return -EINVAL; in mod_pub_set()
1579 return -EINVAL; in mod_pub_set()
1616 argc -= 3; in cmd_mod_pub()
1621 argc--; in cmd_mod_pub()
1635 return -EINVAL; in cmd_mod_pub()
1676 sub->src, sub->dst, sub->period, sub->count, sub->min, sub->max); in hb_sub_print()
1709 sub.period = shell_strtoul(argv[3], 0, &err); in hb_sub_set()
1736 return -EINVAL; in cmd_hb_sub()
1764 shell_print(sh, "\tdst 0x%04x count 0x%02x period 0x%02x", pub.dst, pub.count, pub.period); in hb_pub_get()
1778 pub.period = shell_strtoul(argv[3], 0, &err); in hb_pub_set()
1808 return -EINVAL; in cmd_hb_pub()
1818 SHELL_CMD_ARG(app-bind, NULL, "<Addr> <AppKeyIdx> <MID> [CID]",
1820 SHELL_CMD_ARG(app-get, NULL, "<ElemAddr> <MID> [CID]", cmd_mod_app_get,
1822 SHELL_CMD_ARG(app-unbind, NULL, "<Addr> <AppKeyIdx> <MID> [CID]",
1829 SHELL_CMD_ARG(pub-va, NULL,
1830 "<Addr> <UUID(1-16 hex)> "
1834 SHELL_CMD_ARG(sub-add, NULL, "<ElemAddr> <SubAddr> <MID> [CID]",
1836 SHELL_CMD_ARG(sub-del, NULL, "<ElemAddr> <SubAddr> <MID> [CID]",
1838 SHELL_CMD_ARG(sub-add-va, NULL,
1839 "<ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]", cmd_mod_sub_add_va, 4, 1),
1840 SHELL_CMD_ARG(sub-del-va, NULL,
1841 "<ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]", cmd_mod_sub_del_va, 4, 1),
1842 SHELL_CMD_ARG(sub-ow, NULL, "<ElemAddr> <SubAddr> <MID> [CID]",
1844 SHELL_CMD_ARG(sub-ow-va, NULL, "<ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]",
1846 SHELL_CMD_ARG(sub-del-all, NULL, "<ElemAddr> <MID> [CID]",
1848 SHELL_CMD_ARG(sub-get, NULL, "<ElemAddr> <MID> [CID]", cmd_mod_sub_get,
1853 SHELL_CMD_ARG(add, NULL, "<NetKeyIdx> [Key(1-16 hex)]", cmd_net_key_add, 2, 1),
1854 SHELL_CMD_ARG(upd, NULL, "<NetKeyIdx> [Key(1-16 hex)]", cmd_net_key_update, 2, 1),
1860 SHELL_CMD_ARG(add, NULL, "<NetKeyIdx> <AppKeyIdx> [Key(1-16 hex)]", cmd_app_key_add,
1862 SHELL_CMD_ARG(upd, NULL, "<NetKeyIdx> <AppKeyIdx> [Key(1-16 hex)]", cmd_app_key_upd,
1874 SHELL_CMD_ARG(get-comp, NULL, "[Page]", cmd_get_comp, 1, 1),
1878 SHELL_CMD_ARG(gatt-proxy, NULL, "[Val(off, on)]", cmd_gatt_proxy, 1, 1),
1881 SHELL_CMD_ARG(node-id, NULL, "<NetKeyIdx> [Identify]", cmd_node_id, 2, 1),
1882 SHELL_CMD_ARG(polltimeout-get, NULL, "<LPNAddr>", cmd_polltimeout_get, 2, 0),
1883 SHELL_CMD_ARG(net-transmit-param, NULL, "[<Count> <Int(ms)>]",
1886 SHELL_CMD_ARG(hb-sub, NULL, "[<Src> <Dst> <Per>]", cmd_hb_sub, 1, 3),
1887 SHELL_CMD_ARG(hb-pub, NULL, "[<Dst> <Count> <Per> <TTL> <Features> <NetKeyIdx>]",