| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
| |
* Check the return value of MQTT_Disconnect and fix comment line lengths.
|
|
|
| |
Add the FreeRTOS_Sockets.h where it is needed in plaintext_freertos.h.
|
|
|
| |
* Update notes on using ALPN in TLS demos
|
|
|
|
|
|
|
|
| |
* Add reconnect logic and TLS options to demo
* Update demo config text
Co-authored-by: SarenaAWS <6563840+sarenameas@users.noreply.github.com>
Co-authored-by: Oscar Michael Abrina <abrinao@amazon.com>
|
|
|
|
|
| |
* Updated the git submodule pointer for Mbed TLS to point to v2.16.8.
* Updated the .gitmodules file to have the matching tag.
* No changes to the config file were required.
|
|
|
|
|
|
|
| |
and mutual auth demos (#291)
This PR simply follows changes from PR #271: It copies changes from the plaintext demo and implements retries for the MQTT lightweight, keep alive, and mutual auth demos.
If a connect or subscribe attempt fails, vTaskDelay is called to make the task sleep for some bounded backoff period that doubles on each retry. In addition, SUBACK status codes are updated to support multiple topic filters. This way, if a SUBSCRIBE is sent for multiple topic filters and the broker returns 0x80 (a failure) for any of them, a SUBSCRIBE will attempt to be resent.
|
|
|
| |
* Multi threaded demo initial commit
|
|
|
|
|
| |
* Add PKCS #11 mutual auth demo to readme.
* Submodule PKCS #11 Repo And Add PKCS #11 Code to Memory Size Tool
|
|
|
|
|
| |
This implements retries for FreeRTOS IoT Beta2 libraries, initializing the backoff to some value returned by the PRNG: uxRand(). If an attempt (connect or subscribe) fails, vTaskDelay is called to make the task sleep for some backoff period that doubles on each retry but is bounded.
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MQTT keep-alive demo is similar to the plaintext demo with QoS0. The only difference is that it creates an auto-reload timer that invokes a callback responsible for sending a PINGREQ packet. The timer is reset whenever a control packet is sent. Because the keep-alive mechanism is handled by the application, MQTT_ReceiveLoop is used in place of MQTT_ProcessLoop.
* Add keep alive demo (no timer thread yet)
* feat: Add software timer that uses mutex for MQTT context (bad approach)
* feat: Serialize PINGREQ in separate buffer to avoid use of mutex
* fix: Use hungarian notation instead of _ for private vars
* fix: Remove unnecessary comment
* Address PR comments
* Reduce ulPingRespTimeoutMs to be as much as the timer interval
* Add wrapper function to check xWaitingForPingResp before resetting the timer
|
|
|
|
|
|
|
| |
* Ported PKCS #11 Mutual Auth Demo To Latest MQTT LTS Demo
* created freertos + mbed tls transport layer implementation using PKCS #11
* Added folder to beta 2 for PKCS #11
* Rename transport files ported to use PKCS #11 to make it clear that they are different to the regular implementation.
|
|
|
|
|
| |
* Sync MQTT files with CSDK commit 71df018badd91f92b51f8923b820af9cc3567a23
* Update demos to use new callback signature
|
| |
|
|
|
| |
Demo for showing use of the MQTT API over a mutually authenticated connection.
|
| |
|
|
|
|
|
| |
* Sync MQTT files with 156af10bae575ec500280e401b3d03d8759291f1 commit of C-SDK
* Update plaintext demo with changes to MQTT_Init API
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
* Update the readme files to be correct for the upcoming LTS snapshot zip file - noting the differences between the Beta1 and Beta2 directories.
|
|
|
|
|
|
|
|
|
|
|
| |
* Add changelog file for V200717_LTS_development_snapshot releas
* Minor punctuation changes from review comments
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
* More Changelog improvements based on review comments
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename transport interface files
* Rename plaintext transport functions
* Address comments
* Add socket send timeout
* Set socket options after connection
|
| |
|
| |
|
| |
|
|
|
|
| |
FreeRTOS+TCP (#143)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add support for new MQTT in memory estimator tool
* Fix issues in generating memory estimate report for MQTT Beta2 library
* Update supported libraries' list in README for mqtt-beta1 and mqtt-beta libraries
* Add beta1 suffix for light-mqtt library in README
|
| |
|
| |
|
|
|
|
|
| |
* Add transport interface for FreeRTOS
* Add MQTT plaintext demo
|
| |
|
|
|
|
|
|
|
| |
* Update MQTT files for network context
* Add transport interface header
* Update include path for lightweight demo
|
|
|
|
|
| |
* Update submodule pointer to be on v2.16.7 of Mbed TLS
* Update config file licenses
* Update readme.txt to include information on what Mbed TLS license the repo uses
|
|
|
| |
* Remove uncrustify config for assignment operator alignment to match aws/aws-iot-embedded-c-device-sdk and aws/amazon-freertos configs; re-format files
|
|
|
| |
Co-authored-by: Archit Aggarwal <architag@amazon.com>
|
|
|
|
| |
This sync is based on commit ID e00212ecdec3e48a95842299435e5de72440c065
from C-SDK development branch.
|
| |
|
|
|
| |
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
|
|
|
|
|
|
|
|
|
| |
* Fix return type of _establishMqttConnection
* Fix document in OTA demo
* Fix build failures on microchip
* Add a log message in OTA demo
|
|
|
|
|
|
|
|
|
| |
* Copy MQTT files from 6d4e47f3 of CSDK development
* Change case
* Update MQTT to commit a4ad8baf
* Update MQTT to commit 10174c4d
|
| |
|
|
|
|
|
|
|
|
|
| |
* Rename both Demo/FreeRTOS-IoT-Libraries and Source/FreeRTOS_IoT_Libraries directories to FreeRTOS-IoT-Libraries-LTS-Beta1
* Rename directories within IDE project and source files
* Remove backup files pushed to remote accidentally
* Remaining directory name replacements in file texts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Sync OTA library from AFR 202006.00 release
* Support suspend and resume in OTA demo
* Sync OTA library from AFR 202007.00 release
* Update OTA config files for other projects
* In OTA demo, block thread if fail to activate image
* Disable downgrade in OTA by default
* Update OTA demo config to match from AFR
* Add an idle hook to OTA demo to prevent 100% CPU
* Fix OTA config format and a mistake from last commit
|
| |
|