Lines Matching refs:period
26 uint8_t period; member
61 if (pub.period && pub.count > 1) { in hb_publish_end_cb()
62 k_work_reschedule(&pub_timer, K_SECONDS(pub.period)); in hb_publish_end_cb()
173 if (pub.period == 0U || pub.count == 0U) { in hb_publish()
236 pub.period = 0U; in pub_disable()
296 uint8_t bt_mesh_hb_sub_set(uint16_t src, uint16_t dst, uint32_t period) in bt_mesh_hb_sub_set() argument
309 if (period > (1U << 16)) { in bt_mesh_hb_sub_set()
310 LOG_WRN("Prohibited subscription period %u s", period); in bt_mesh_hb_sub_set()
323 sub.period = 0U; in bt_mesh_hb_sub_set()
324 } else if (period) { in bt_mesh_hb_sub_set()
330 sub.period = period; in bt_mesh_hb_sub_set()
335 sub.period = 0U; in bt_mesh_hb_sub_set()
341 k_work_reschedule(&sub_timer, K_SECONDS(sub.period)); in bt_mesh_hb_sub_set()
390 if (pub.count && pub.period) { in bt_mesh_hb_start()
406 if (pub.period && pub.count) { in bt_mesh_hb_resume()
426 hb_pub.period = bt_mesh_hb_pwr2(hb_val.period); in hb_pub_set()
458 val.period = bt_mesh_hb_log(hb_pub.period); in bt_mesh_hb_pub_pending_store()