Lines Matching refs:param
208 LOG_INF("SUBACK packet id: %u", evt->param.suback.message_id); in mqtt_event_handler()
212 LOG_INF("UNSUBACK packet id: %u", evt->param.suback.message_id); in mqtt_event_handler()
238 LOG_DBG("PUBACK packet id: %u\n", evt->param.puback.message_id); in mqtt_event_handler()
242 len = evt->param.publish.message.payload.len; in mqtt_event_handler()
245 LOG_INF(" id: %d, qos: %d", evt->param.publish.message_id, in mqtt_event_handler()
246 evt->param.publish.message.topic.qos); in mqtt_event_handler()
263 puback.message_id = evt->param.publish.message_id; in mqtt_event_handler()
295 struct mqtt_publish_param param; in publish() local
297 param.message.topic.qos = qos; in publish()
298 param.message.topic.topic.utf8 = (uint8_t *)evt_topic; in publish()
299 param.message.topic.topic.size = len; in publish()
300 param.message.payload.data = payload; in publish()
301 param.message.payload.len = strlen(payload); in publish()
302 param.message_id = sys_rand16_get(); in publish()
303 param.dup_flag = 0U; in publish()
304 param.retain_flag = 0U; in publish()
306 return mqtt_publish(client, ¶m); in publish()