1
0
mirror of https://github.com/FreeRTOS/coreMQTT synced 2025-07-05 02:54:05 +08:00

9 Commits

Author SHA1 Message Date
abhidixi11
acd02af830 fix: MISRA 15.1 (goto) violations - part 1 (#717)
* fix: MISRA 15.1 (goto) violations - part 1

Remove gotos, fix a unit test failure.

* fix: MISRA 15.1 (goto) violations - part 1

Remove gotos, fix a unit test failure.

* fix: MQTT remaining length test.

Three bytes need to have continuation bit set.

* Update iot_mqtt_network.c
2020-01-13 18:00:54 -08:00
abhidixi11
7b075bf0b8 fix: Increase MQTT test code coverage. (#713)
* fix: Increase MQTT test code coverage.

Code coverage for file: iot_mqtt_network.c
2020-01-10 15:40:05 -08:00
abhidixi11
3fefcfda96 fix: IotMqtt_Wait Error Handling and increased MQTT code coverage
* fix: "Fixed error handling case in IotMqtt_Wait and increased MQTT code coverage"
2020-01-07 11:37:43 -08:00
abhidixi11
931b47dbd0 fix: MQTT serializer unit tests. (#688) 2019-12-17 13:38:36 -08:00
Gordon Wang
5b137613ac Refactor to reduce complexity (#687)
* Refactor _IotMqtt_DeserializeSuback

* Refactor find operation

* Refactor QoS and string check

* Fix CBMC proof for new function name

* Refactor subscription list validation
2019-12-16 16:41:54 -08:00
leegeth
5fb4243249 Spell check fixes (#650) 2019-11-20 19:36:21 -05:00
abhidixi11
696ac4b32d Unit tests for Lightweight serializer API. (#643)
feature: Lightweight serializer API for MQTT.

MQTT serializer API changes to support lightweight single threaded app.

CSDK MQTT Library provides stateful MQTT API that makes use of taskpool
and network abstraction. The library makes use dynamic memory
allocations and makes use of multiple threads or tasks.
Embedded applications running on microcontroller may want to
use single threaded model to run MQTT.
The API changes enable application developers to use MQTT serializer
and deserializer APIs without use of taskpool and network abstraction.
The API does no allocate any dynamic memory, therefore application can
make use of statically allocated memory. Application can implement its
own state machine and make use of any network interface like sockets
to handle MQTT messages.
2019-11-14 18:13:43 -08:00
Gordon Wang
b788232955 Remove void* network pointers (#622) 2019-10-31 13:51:02 -07:00
Gordon Wang
d9aaaec4c4 Rearrange directories (#589) 2019-10-07 15:55:03 -07:00