Lines Matching refs:param
2303 struct hb_pub_param *param = (void *)buf->data; in heartbeat_pub_set() local
2309 pub.dst = sys_le16_to_cpu(param->dst); in heartbeat_pub_set()
2310 if (param->count_log == 0x11) { in heartbeat_pub_set()
2314 pub.count = bt_mesh_hb_pwr2(param->count_log); in heartbeat_pub_set()
2317 if (param->period_log == 0x11) { in heartbeat_pub_set()
2320 pub.period = bt_mesh_hb_pwr2(param->period_log); in heartbeat_pub_set()
2323 pub.ttl = param->ttl; in heartbeat_pub_set()
2324 pub.feat = sys_le16_to_cpu(param->feat); in heartbeat_pub_set()
2325 pub.net_idx = sys_le16_to_cpu(param->net_idx); in heartbeat_pub_set()
2333 if (param->count_log > 0x11 && param->count_log != 0xff) { in heartbeat_pub_set()
2338 if (param->period_log > 0x11) { in heartbeat_pub_set()
2343 if (param->ttl > BT_MESH_TTL_MAX && param->ttl != BT_MESH_TTL_DEFAULT) { in heartbeat_pub_set()
2344 LOG_ERR("Invalid TTL value 0x%02x", param->ttl); in heartbeat_pub_set()