Searched refs:payload_left (Results 1 – 2 of 2) sorted by relevance
29 static int payload_left; variable112 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 …]
567 uint32_t payload_left; in mqtt_evt_handler() local571 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()