mqtt_client_misc.h
error_t mqttDeserializeHeader(uint8_t *buffer, size_t bufferLen, size_t *pos, MqttPacketType *type, bool_t *dup, MqttQosLevel *qos, bool_t *retain, size_t *remainingLen)
Deserialize fixed header.
Definition: mqtt_client_misc.c:448
error_t mqttSerializeHeader(uint8_t *buffer, size_t *pos, MqttPacketType type, bool_t dup, MqttQosLevel qos, bool_t retain, size_t remainingLen)
Serialize fixed header.
Definition: mqtt_client_misc.c:230
error_t mqttClientProcessEvents(MqttClientContext *context, systime_t timeout)
Process MQTT client events.
Definition: mqtt_client_misc.c:67
error_t mqttSerializeByte(uint8_t *buffer, size_t bufferLen, size_t *pos, uint8_t value)
Write a 8-bit integer to the output buffer.
Definition: mqtt_client_misc.c:309
error_t mqttSerializeData(uint8_t *buffer, size_t bufferLen, size_t *pos, const void *data, size_t dataLen)
Serialize raw data.
Definition: mqtt_client_misc.c:412
void mqttClientChangeState(MqttClientContext *context, MqttClientState newState)
Update MQTT client state.
Definition: mqtt_client_misc.c:52
error_t mqttSerializeString(uint8_t *buffer, size_t bufferLen, size_t *pos, const void *string, size_t stringLen)
Serialize string.
Definition: mqtt_client_misc.c:375
error_t mqttDeserializeShort(uint8_t *buffer, size_t bufferLen, size_t *pos, uint16_t *value)
Read a 16-bit integer from the input buffer.
Definition: mqtt_client_misc.c:558
error_t mqttSerializeShort(uint8_t *buffer, size_t bufferLen, size_t *pos, uint16_t value)
Write a 16-bit integer to the output buffer.
Definition: mqtt_client_misc.c:341
error_t mqttClientCheckKeepAlive(MqttClientContext *context)
Check keep-alive time interval.
Definition: mqtt_client_misc.c:165
error_t mqttDeserializeString(uint8_t *buffer, size_t bufferLen, size_t *pos, char_t **string, size_t *stringLen)
Deserialize string.
Definition: mqtt_client_misc.c:591
error_t mqttClientCheckTimeout(MqttClientContext *context)
Determine whether a timeout error has occurred.
Definition: mqtt_client_misc.c:627
error_t mqttDeserializeByte(uint8_t *buffer, size_t bufferLen, size_t *pos, uint8_t *value)
Read a 8-bit integer from the input buffer.
Definition: mqtt_client_misc.c:526
TCP/IP stack core.
MQTT client.