summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove MQTT_ProcessLoop call not required (#329)final_LTS_development_snapshotlts-developmentArchit Aggarwal2020-10-091-10/+0
|
* Sync OTA from latest AFR master branch (#320)Tiangang Song2020-10-058-22/+51
|
* Check the return value of MQTT_Disconnect in the demo loops (#318)SarenaAWS2020-10-054-65/+88
| | | * Check the return value of MQTT_Disconnect and fix comment line lengths.
* Delete unused header from PlaintextMQTTExample.c (#310)SarenaAWS2020-10-052-4/+3
| | | Add the FreeRTOS_Sockets.h where it is needed in plaintext_freertos.h.
* Add doc change missed from #305 (#316)Muneeb Ahmed2020-10-022-3/+6
| | | * Update notes on using ALPN in TLS demos
* Connection sharing demo reconnect and TLS (#305)Muneeb Ahmed2020-10-026-84/+1238
| | | | | | | | * 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>
* Update Mbed TLS to v2.16.8 from v2.16.7 (#309)Joshua Yan2020-10-012-1/+1
| | | | | * 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.
* Add reconnection and resubscribe logic to the MQTT lightweight, keep alive, ↵Oscar Michael Abrina2020-09-2710-1308/+1892
| | | | | | | 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.
* Connection Sharing Demo (#192)Muneeb Ahmed2020-09-259-0/+2792
| | | * Multi threaded demo initial commit
* PKCS #11 LTS Update (#293)Carl Lundin2020-09-2520-6411/+167
| | | | | * Add PKCS #11 mutual auth demo to readme. * Submodule PKCS #11 Repo And Add PKCS #11 Code to Memory Size Tool
* Add reconnection and resubscribe logic to the MQTT plaintext demo (#271)Oscar Michael Abrina2020-09-175-75/+547
| | | | | 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>
* Add MQTT keep-alive demo (#182)Oscar Michael Abrina2020-08-289-0/+1975
| | | | | | | | | | | | | | | | | | | 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 (#204)Carl Lundin2020-08-2725-1/+11108
| | | | | | | * 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 71df018b of CSDK (#205)Muneeb Ahmed2020-08-199-268/+1888
| | | | | * Sync MQTT files with CSDK commit 71df018badd91f92b51f8923b820af9cc3567a23 * Update demos to use new callback signature
* Update plain text transport interface (#200)leegeth2020-08-145-116/+78
|
* MQTT mutual auth demo. (#176)leegeth2020-08-1210-0/+2986
| | | Demo for showing use of the MQTT API over a mutually authenticated connection.
* MbedTLS transport implementation (#175)leegeth2020-08-056-0/+1420
|
* Sync MQTT files from C-SDK repository (#174)Archit Aggarwal2020-07-295-133/+182
| | | | | * Sync MQTT files with 156af10bae575ec500280e401b3d03d8759291f1 commit of C-SDK * Update plaintext demo with changes to MQTT_Init API
* Port CBMC recognized undefined behavior fixes from C-SDK v4_beta (#157)Archit Aggarwal2020-07-212-6/+14
|
* Add mqtt lts URL to all READMEs (#153)V200717_LTS_development_snapshotMuneeb Ahmed2020-07-162-0/+2
|
* Update URL for new MQTT demo (#152)Muneeb Ahmed2020-07-165-4/+6
|
* Update naming for MQTT in ChangeLog for 200717_LTS_development_snapshot (#151)Archit Aggarwal2020-07-161-6/+6
|
* Update the readme files to be correct for the upcoming LTS snapshot z… (#141)RichardBarry2020-07-169-114/+161
| | | * 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 (#149)Archit Aggarwal2020-07-161-0/+54
| | | | | | | | | | | * 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>
* Sync MQTT from fcac5b8f of CSDK development (#150)Muneeb Ahmed2020-07-154-105/+240
|
* Rename Transport Implementation and minor fixes (#145)Muneeb Ahmed2020-07-1510-67/+80
| | | | | | | | | | | * Rename transport interface files * Rename plaintext transport functions * Address comments * Add socket send timeout * Set socket options after connection
* Update hard-coded external Moqsuitto server cert to latest (#147)Archit Aggarwal2020-07-151-17/+23
|
* Update plain text demo to use local broker (#142)leegeth2020-07-154-26/+85
|
* Update main.c logs to use logging stack (#146)leegeth2020-07-141-8/+12
|
* Remove duplicated default config code, and documentation for new macros in ↵Archit Aggarwal2020-07-141-10/+15
| | | | FreeRTOS+TCP (#143)
* Add changes from 2225-2227 amazon-FreeRTOS (#134) (#140)Aniruddha Kanhere2020-07-142-26/+340
|
* MQTT Lightweight demo (#119)leegeth2020-07-133-13/+986
|
* Add support for new MQTT in memory estimator tool (#138)Archit Aggarwal2020-07-134-22/+72
| | | | | | | | | * 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
* Sync OTA from latest AFR 202007 release (#137)Tiangang Song2020-07-103-38/+119
|
* Count only A records in DNS resolution logic (#135)Gary Wicker2020-07-101-1/+3
|
* Add transport interface and MQTT plaintext demo (#130)Muneeb Ahmed2020-07-1011-0/+2048
| | | | | * Add transport interface for FreeRTOS * Add MQTT plaintext demo
* Port fix for QoS 0 Sync Network disconnection issue (#125)Archit Aggarwal2020-07-081-20/+149
|
* Update MQTT files for network context (#133)Muneeb Ahmed2020-07-087-52/+95
| | | | | | | * Update MQTT files for network context * Add transport interface header * Update include path for lightweight demo
* Update Mbed TLS to version v2.16.7 (#129)Joshua Yan2020-07-079-19/+186
| | | | | * 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
* Update uncrustify.cfg to match aws/amazon-freertos style (#128)Archit Aggarwal2020-07-0784-3207/+3200
| | | * Remove uncrustify config for assignment operator alignment to match aws/aws-iot-embedded-c-device-sdk and aws/amazon-freertos configs; re-format files
* MQTT Beta2 demo support files. (#115)leegeth2020-07-0736-0/+6622
| | | Co-authored-by: Archit Aggarwal <architag@amazon.com>
* Sync MQTT library files from C-SDK (#126)leegeth2020-07-074-292/+404
| | | | This sync is based on commit ID e00212ecdec3e48a95842299435e5de72440c065 from C-SDK development branch.
* Add execute permission to uncrustify file (#127)Archit Aggarwal2020-07-071-0/+0
|
* Style: uncrustify FreeRTOS-Plus files (#120)alfred gedeon2020-07-06154-18406/+19093
| | | Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
* Fix return type of _establishMqttConnection (#112)Tiangang Song2020-07-011-8/+8
| | | | | | | | | * 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 10174c4d of CSDK development (#111)Muneeb Ahmed2020-06-309-0/+6195
| | | | | | | | | * Copy MQTT files from 6d4e47f3 of CSDK development * Change case * Update MQTT to commit a4ad8baf * Update MQTT to commit 10174c4d
* Sync PKCS #11 changes. (#113)Carl Lundin2020-06-309-841/+1097
|
* Rename FreeRTOS-IoT-Libraries directory (#109)Archit Aggarwal2020-06-30384-2771/+2835
| | | | | | | | | * 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 202007.00 release to lts-development (#91)Tiangang Song2020-06-2623-1382/+2069
| | | | | | | | | | | | | | | | | | | * 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
* Sync Keep Alive fix from C-SDK (#100)Muneeb Ahmed2020-06-222-0/+67
|