Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/net/lib/mqtt_pubsub/src/
Dtest_mqtt_pubsub.c29 static int payload_left; variable
112 if (payload_left != evt->param.publish.message.payload.len) { in publish_handler()
118 rc = mqtt_readall_publish_payload(client, buf, payload_left); in publish_handler()
130 payload_left = 0; in publish_handler()
135 payload_left = -1; in publish_handler()
161 payload_left = -1; in mqtt_evt_handler()
174 payload_left = -1; in mqtt_evt_handler()
349 payload_left = strlen(payload); in test_publish()
356 param.message.payload.len = payload_left; in test_publish()
366 while (payload_left > 0) { in test_publish()
[all …]
/Zephyr-Core-3.5.0/subsys/shell/backends/
Dshell_mqtt.c567 uint32_t payload_left; in mqtt_evt_handler() local
571 payload_left = pub->message.payload.len; in mqtt_evt_handler()
573 LOG_DBG("MQTT publish received %d, %d bytes", evt->result, payload_left); in mqtt_evt_handler()
584 while (payload_left > 0) { in mqtt_evt_handler()
587 payload_left); in mqtt_evt_handler()
602 payload_left -= size; in mqtt_evt_handler()