Lines Matching refs:pub

1593 	struct bt_mesh_cfg_mod_pub pub;  in mod_pub_get()  local
1599 mod_id, &pub, &status); in mod_pub_get()
1602 mod_id, cid, &pub, &status); in mod_pub_get()
1625 addr, mod_id, pub.addr, pub.app_idx, pub.cred_flag, pub.ttl, in mod_pub_get()
1626 pub.period, BT_MESH_PUB_TRANSMIT_COUNT(pub.transmit), in mod_pub_get()
1627 BT_MESH_PUB_TRANSMIT_INT(pub.transmit)); in mod_pub_get()
1635 struct bt_mesh_cfg_mod_pub pub; in mod_pub_set() local
1640 pub.addr = strtoul(argv[0], NULL, 0); in mod_pub_set()
1641 pub.uuid = NULL; in mod_pub_set()
1642 pub.app_idx = strtoul(argv[1], NULL, 0); in mod_pub_set()
1643 pub.cred_flag = str2bool(argv[2]); in mod_pub_set()
1644 pub.ttl = strtoul(argv[3], NULL, 0); in mod_pub_set()
1645 pub.period = strtoul(argv[4], NULL, 0); in mod_pub_set()
1659 pub.transmit = BT_MESH_PUB_TRANSMIT(count, interval); in mod_pub_set()
1663 mod_id, &pub, &status); in mod_pub_set()
1666 mod_id, cid, &pub, &status); in mod_pub_set()
1797 struct bt_mesh_cfg_hb_pub pub; in hb_pub_get() local
1801 err = bt_mesh_cfg_hb_pub_get(net.net_idx, net.dst, &pub, &status); in hb_pub_get()
1816 pub.dst, pub.count, pub.period); in hb_pub_get()
1818 pub.ttl, pub.feat, pub.net_idx); in hb_pub_get()
1825 struct bt_mesh_cfg_hb_pub pub; in hb_pub_set() local
1829 pub.dst = strtoul(argv[1], NULL, 0); in hb_pub_set()
1830 pub.count = strtoul(argv[2], NULL, 0); in hb_pub_set()
1831 pub.period = strtoul(argv[3], NULL, 0); in hb_pub_set()
1832 pub.ttl = strtoul(argv[4], NULL, 0); in hb_pub_set()
1833 pub.feat = strtoul(argv[5], NULL, 0); in hb_pub_set()
1834 pub.net_idx = strtoul(argv[5], NULL, 0); in hb_pub_set()
1836 err = bt_mesh_cfg_hb_pub_set(net.net_idx, net.dst, &pub, &status); in hb_pub_set()
2726 SHELL_CMD_ARG(mod-pub, NULL, "<addr> <mod id> [cid] [<PubAddr> "
2745 SHELL_CMD_ARG(hb-pub, NULL,