Searched refs:pub_param (Results 1 – 2 of 2) sorted by relevance
57 static lws_mqtt_publish_param_t pub_param; variable216 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()
105 lws_mqtt_publish_param_t pub_param; member273 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()