Lines Matching full:pub

1495 	struct bt_mesh_cfg_cli_mod_pub pub;  in mod_pub_get()  local
1501 bt_mesh_shell_target_ctx.dst, addr, mod_id, &pub, in mod_pub_get()
1506 &pub, &status); in mod_pub_get()
1528 addr, mod_id, pub.addr, pub.app_idx, pub.cred_flag, pub.ttl, pub.period, in mod_pub_get()
1529 BT_MESH_PUB_TRANSMIT_COUNT(pub.transmit), in mod_pub_get()
1530 BT_MESH_PUB_TRANSMIT_INT(pub.transmit)); in mod_pub_get()
1538 struct bt_mesh_cfg_cli_mod_pub pub; in mod_pub_set() local
1546 pub.addr = shell_strtoul(argv[0], 0, &err); in mod_pub_set()
1547 pub.uuid = NULL; in mod_pub_set()
1551 pub.uuid = (const uint8_t *)&uuid; in mod_pub_set()
1554 pub.app_idx = shell_strtoul(argv[1], 0, &err); in mod_pub_set()
1555 pub.cred_flag = shell_strtobool(argv[2], 0, &err); in mod_pub_set()
1556 pub.ttl = shell_strtoul(argv[3], 0, &err); in mod_pub_set()
1564 pub.period = (steps << 2) + res_step; in mod_pub_set()
1582 pub.transmit = BT_MESH_PUB_TRANSMIT(count, interval); in mod_pub_set()
1586 bt_mesh_shell_target_ctx.dst, addr, mod_id, &pub, in mod_pub_set()
1591 &pub, &status); in mod_pub_set()
1747 struct bt_mesh_cfg_cli_hb_pub pub; in hb_pub_get() local
1752 bt_mesh_shell_target_ctx.dst, &pub, &status); in hb_pub_get()
1764 shell_print(sh, "\tdst 0x%04x count 0x%02x period 0x%02x", pub.dst, pub.count, pub.period); in hb_pub_get()
1765 shell_print(sh, "\tttl 0x%02x feat 0x%04x net_idx 0x%04x", pub.ttl, pub.feat, pub.net_idx); in hb_pub_get()
1772 struct bt_mesh_cfg_cli_hb_pub pub; in hb_pub_set() local
1776 pub.dst = shell_strtoul(argv[1], 0, &err); in hb_pub_set()
1777 pub.count = shell_strtoul(argv[2], 0, &err); in hb_pub_set()
1778 pub.period = shell_strtoul(argv[3], 0, &err); in hb_pub_set()
1779 pub.ttl = shell_strtoul(argv[4], 0, &err); in hb_pub_set()
1780 pub.feat = shell_strtoul(argv[5], 0, &err); in hb_pub_set()
1781 pub.net_idx = shell_strtoul(argv[6], 0, &err); in hb_pub_set()
1788 bt_mesh_shell_target_ctx.dst, &pub, &status); in hb_pub_set()
1824 SHELL_CMD_ARG(pub, NULL,
1829 SHELL_CMD_ARG(pub-va, NULL,
1887 SHELL_CMD_ARG(hb-pub, NULL, "[<Dst> <Count> <Per> <TTL> <Features> <NetKeyIdx>]",