Home
last modified time | relevance | path

Searched refs:pub_param (Results 1 – 2 of 2) sorted by relevance

/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client/
Dminimal-mqtt-client.c57 static lws_mqtt_publish_param_t pub_param; variable
216 pub_param.topic = "test/topic"; in callback_mqtt()
217 pub_param.topic_len = (uint16_t)strlen(pub_param.topic); in callback_mqtt()
218 pub_param.qos = pss->state == STATE_PUBLISH_QOS0 ? QOS0 : QOS1; in callback_mqtt()
219 pub_param.payload_len = TEST_STRING_LEN; in callback_mqtt()
228 if (lws_mqtt_client_send_publish(wsi, &pub_param, in callback_mqtt()
/third_party/libwebsockets/minimal-examples/mqtt-client/minimal-mqtt-client-multi/
Dminimal-mqtt-client-multi.c105 lws_mqtt_publish_param_t pub_param; member
273 pss->pub_param.topic = pss->state == STATE_PUBLISH_QOS0 ? in callback_mqtt()
275 pss->pub_param.topic_len = (uint16_t)strlen(pss->pub_param.topic); in callback_mqtt()
276 pss->pub_param.qos = in callback_mqtt()
278 pss->pub_param.payload_len = TEST_STRING_LEN; in callback_mqtt()
290 if (lws_mqtt_client_send_publish(wsi, &pss->pub_param, in callback_mqtt()