Lines Matching refs:hb_pub
415 struct bt_mesh_hb_pub hb_pub; in hb_pub_set() local
425 hb_pub.dst = hb_val.dst; in hb_pub_set()
426 hb_pub.period = bt_mesh_hb_pwr2(hb_val.period); in hb_pub_set()
427 hb_pub.ttl = hb_val.ttl; in hb_pub_set()
428 hb_pub.feat = hb_val.feat; in hb_pub_set()
429 hb_pub.net_idx = hb_val.net_idx; in hb_pub_set()
432 hb_pub.count = 0xffff; in hb_pub_set()
434 hb_pub.count = 0U; in hb_pub_set()
437 (void)bt_mesh_hb_pub_set(&hb_pub); in hb_pub_set()
448 struct bt_mesh_hb_pub hb_pub; in bt_mesh_hb_pub_pending_store() local
452 bt_mesh_hb_pub_get(&hb_pub); in bt_mesh_hb_pub_pending_store()
453 if (hb_pub.dst == BT_MESH_ADDR_UNASSIGNED) { in bt_mesh_hb_pub_pending_store()
456 val.indefinite = (hb_pub.count == 0xffff); in bt_mesh_hb_pub_pending_store()
457 val.dst = hb_pub.dst; in bt_mesh_hb_pub_pending_store()
458 val.period = bt_mesh_hb_log(hb_pub.period); in bt_mesh_hb_pub_pending_store()
459 val.ttl = hb_pub.ttl; in bt_mesh_hb_pub_pending_store()
460 val.feat = hb_pub.feat; in bt_mesh_hb_pub_pending_store()
461 val.net_idx = hb_pub.net_idx; in bt_mesh_hb_pub_pending_store()