Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/
Dmain.c44 int payload_left; member
443 zassert_equal(test_ctx.payload_left, in publish_handler()
448 ret = mqtt_readall_publish_payload(client, buf, test_ctx.payload_left); in publish_handler()
454 test_ctx.payload_left = 0; in publish_handler()
471 test_ctx.payload_left = -1; in mqtt_evt_handler()
609 test_ctx.payload_left = strlen(test_ctx.payload); in test_publish()
619 param.message.payload.len = test_ctx.payload_left; in test_publish()
776 while (test_ctx.payload_left > 0) { in test_pubsub()
/Zephyr-latest/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()