Searched refs:payloadlen (Results 1 – 2 of 2) sorted by relevance
259 size_t payloadlen = 0; in mqtt_connect() local275 payloadlen = ulen + plen + MQTT_CLIENTID_LEN + 2; in mqtt_connect()279 payloadlen += 2; in mqtt_connect()281 payloadlen += 2; in mqtt_connect()287 packetlen = payloadlen + 10 + remain_pos + 1; in mqtt_connect()517 size_t payloadlen; in mqtt_publish() local532 payloadlen = strlen(payload); in mqtt_publish()534 payloadlen = (size_t)postfieldsize; in mqtt_publish()540 remaininglength = payloadlen + 2 + topiclen; in mqtt_publish()558 memcpy(&pkt[i], payload, payloadlen); in mqtt_publish()[all …]
392 char *topic, char *payload, size_t payloadlen) in publish() argument397 size_t remaininglength = topiclen + 2 + payloadlen; in publish()432 memcpy(&packet[payloadindex], payload, payloadlen); in publish()
Completed in 9 milliseconds