A small footprint MQTT library
Dependents: STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more
Diff: mqtt_codec.c
- Revision:
- 26:53b5ecbf74f9
- Parent:
- 25:413b95a07625
- Child:
- 28:35eea447689a
--- a/mqtt_codec.c Tue Mar 20 10:30:11 2018 -0700 +++ b/mqtt_codec.c Mon Apr 16 14:26:58 2018 -0700 @@ -84,7 +84,7 @@ } } -void byteutil_writeByte(uint8_t** buffer, uint8_t value) +static void byteutil_writeByte(uint8_t** buffer, uint8_t value) { if (buffer != NULL) { @@ -93,7 +93,7 @@ } } -void byteutil_writeInt(uint8_t** buffer, uint16_t value) +static void byteutil_writeInt(uint8_t** buffer, uint16_t value) { if (buffer != NULL) { @@ -104,7 +104,7 @@ } } -void byteutil_writeUTF(uint8_t** buffer, const char* stringData, uint16_t len) +static void byteutil_writeUTF(uint8_t** buffer, const char* stringData, uint16_t len) { if (buffer != NULL) { @@ -114,7 +114,7 @@ } } -CONTROL_PACKET_TYPE processControlPacketType(uint8_t pktByte, int* flags) +static CONTROL_PACKET_TYPE processControlPacketType(uint8_t pktByte, int* flags) { CONTROL_PACKET_TYPE result; result = PACKET_TYPE_BYTE(pktByte);