Commit Graph

3091 Commits

Author SHA1 Message Date
Archit Aggarwal
d19d632186 [AUTO][RELEASE]: Bump submodules per manifest.yml for V202104.00 202104.00 2021-04-29 18:30:38 +00:00
Archit Aggarwal
67171d8eb6 [AUTO][RELEASE]: Bump file header version to "202104.00" 2021-04-29 18:23:08 +00:00
Archit Aggarwal
7643f87ee1 Fix previous versions (#584) 2021-04-29 11:05:29 -07:00
Archit Aggarwal
1665f43e8a Fixes in manifest.yml and History.txt (#583)
Add entry for OTA in manifest.yml and fix release tags in History.txt
2021-04-29 10:52:59 -07:00
Archit Aggarwal
57b8734a7d [AUTO][RELEASE]: Bump submodules per manifest.yml for V202104.00 2021-04-29 17:20:54 +00:00
Archit Aggarwal
1b53e2d2d9 [AUTO][RELEASE]: Bump file header version to "202104.00" 2021-04-29 17:14:35 +00:00
Archit Aggarwal
fadd729f19 Bump coreMQTT-Agent submodule (#582) 2021-04-29 01:33:19 +00:00
Sukhmani Minhas
897f0a5266 Add migration comment in S3 demo configs (#580)
Update comment description for `democonfigROOT_CA_PEM` to highlight S3's recent [certificate migration](https://aws.amazon.com/blogs/storage/reminder-amazon-s3-and-amazon-cloudfront-migrating-service-certificates-to-amazon-trust-services-starting-march-23-2021).
2021-04-28 11:00:54 -07:00
Archit Aggarwal
1603ec7f55 Fix for missing backoffAlgorithm library in doxygen bundle (#581) 2021-04-28 10:52:16 -07:00
lienng_aws
563792cfab Correct LTS libraries version
Correct 202012.00 to 202012.01 LTS libraries and typos. Add clarifications of LTS libraries.
2021-04-27 10:13:13 -07:00
Archit Aggarwal
66b4da393f Update History.txt and README for release (#577)
Add information of MQTT Agent (library + demo), OTA (library + demos) and Device Defender Demo changes in History.txt. Also, mention about the coreMQTT-Agent-Demos repository in README.md
2021-04-26 18:27:14 -07:00
Prasad Vyawahare
e1cc88de8b OTA Demos (#573) (#579)
This change adds the OTA demos and required dependencies and helper components .
* Add demos , configs and project files
* Add subscription manager
* Add HTTP utils
* Submodules the OTA LTS 3.0 Library.
* Add OTA pal
2021-04-26 17:00:18 -07:00
Archit Aggarwal
9ad1cbc28e Add custom metrics to Device Defender Demo (#578) 2021-04-26 16:21:32 -07:00
Muneeb Ahmed
f928907853 Rename MQTT Agent structs and files (#574)
* Rename MQTT agent files

* Rename MQTT agent structs
2021-04-23 18:51:39 +00:00
Archit Aggarwal
7183529aff Update release script to upload doxygen artifact for release-candidate branch (#571) 2021-04-23 18:44:22 +00:00
Archit Aggarwal
b09a774bb2 Update release.py to support passing branch parameter (#570) 2021-04-23 18:43:59 +00:00
Archit Aggarwal
eb78154353 Automate doxygen ZIP creation with GitHub Action (#568)
Automate creation of doxygen ZIP output by using the custom doxygen GitHub Action, that has been updated to generate ZIP artifact in PR
2021-04-23 18:42:59 +00:00
Muneeb Ahmed
bd836a7598 Replace multithreading demo with MQTT Agent (#563)
* Update MQTT agent submodule

* Copy MQTT agent demo files

* Remove other demos from connection manager

* Update demo config and uncrustify

* Update readme files

* Fix headers
2021-04-23 18:41:04 +00:00
David Chalco
f166a5707d prune .git from versioning search (#561)
Co-authored-by: Archit Aggarwal <architag@amazon.com>
2021-04-23 18:39:08 +00:00
Oscar Michael Abrina
396c72adfb Update README cloning instructions to set core.symlinks for Windows (#556)
* Update README cloning instructions to set core.symlinks for Windows

* Add purpose
2021-04-23 18:35:09 +00:00
Archit Aggarwal
6c07f96609 Relocate History.txt and fix an typo (#558) 2021-04-23 18:34:05 +00:00
Muneeb Ahmed
626c7a9a00 Add MQTT Agent submodule (#551)
* Add MQTT Agent submodule

* Add MQTT agent platform files

Co-authored-by: abhidixi11 <44424462+abhidixi11@users.noreply.github.com>
Co-authored-by: Joseph Julicher <jjulicher@mac.com>
2021-04-23 18:31:28 +00:00
Archit Aggarwal
097b75d75f Bump submodules of Device Defender and Jobs libraries to LTS tags 2021-04-23 18:27:27 +00:00
Joseph Julicher
398fa1e8a9 Update README.md 202012.00 2020-12-15 12:20:25 -07:00
Joseph Julicher
da9b9a800d [AUTO][RELEASE]: Bump file header version to "202012.00" 2020-12-15 11:50:37 -07:00
Joseph Julicher
45ba920ad0 [AUTO][RELEASE]: Bump submodules per manifest.yml for V202012.00 2020-12-15 10:22:10 -07:00
Joseph Julicher
2e2ba99a74 [AUTO][RELEASE]: Bump file header version to "202012.00" 2020-12-15 10:20:29 -07:00
Joseph Julicher
1e105be7a4 Update manifest.yml 2020-12-15 10:02:29 -07:00
Joseph Julicher
b8c758b2fe Update manifest.yml 2020-12-15 09:33:59 -07:00
Joseph Julicher
a34a62b885 Update manifest.yml 2020-12-15 09:21:28 -07:00
Joseph Julicher
66b75ba527 History and manifest updates (#480) 2020-12-15 08:42:06 -07:00
Cobus van Eeden
89c6fc6baf Update FreeRTOS-Plus-TCP (#479) 2020-12-14 22:09:01 -07:00
Carl Lundin
4ec66eb364 Move mbedtls tag to v2.25.0 2020-12-14 20:52:09 -08:00
Carl Lundin
db18ff7d59 Fix pkcs11 demo build. 2020-12-14 20:52:09 -08:00
Sukhmani Minhas
f4591cec06 Stack fix (#475) 2020-12-14 19:10:03 -08:00
Carl Lundin
b035e0321f Re-add missing license files caused by PR #471 and fix patches (#477)
* Re-add missing license files caused by PR #471.
* Fix proof patch.
2020-12-14 17:35:36 -08:00
Archit Gupta
bff2f04c5f Update submodule pointers (#476) 2020-12-14 15:45:27 -08:00
Cobus van Eeden
1caa60d382 Move kernel submodule to latest (#474) 2020-12-13 18:47:18 -08:00
Oscar Michael Abrina
6155c025a2 Update submodules of CSDK libraries (#473) 2020-12-13 17:31:14 -08:00
Oscar Michael Abrina
028bf653f7 Delete HTTP demo task upon completion (#472)
Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
2020-12-12 21:01:59 -08:00
Carl Lundin
cf39a90d6d Fix CBMC patches. (#471)
* Fix CBMC patches.
2020-12-12 21:00:03 -08:00
Archit Gupta
2e0de9aa70 Clean up demo project files (#468) 2020-12-12 16:35:43 -08:00
Gaurav-Aggarwal-AWS
adbc27f11d Fix build failure in STM32 Discovery MPU Projects (#449)
* Fix build failure in STM32 Discovery MPU Projects

Privileged data region size needs to be increased because heap is now
placed in this region.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2020-12-12 16:33:00 -08:00
Cobus van Eeden
d668f3c26d Add reference to Labs to Readme.md (#466) 2020-12-12 16:30:00 -08:00
alfred gedeon
41237e01d0 Split networking from posix and qemu mps2 demos (#455)
Split networking from posix and qemu mps2 demos
2020-12-12 16:29:23 -08:00
David Chalco
cc922e03a8 Autorelease/manifest (#469)
new release flow
2020-12-11 21:15:16 -08:00
RichardBarry
a503a3a7a0 Add links to the MQTT agent in the non-agent mqtt demos (#470)
Add URL file links to the MQTT agent documentation page.
Add comment blocks into each demo that also point toward the MQTT agent documentation to ensure users are aware the agent method exists.
2020-12-11 21:12:44 -08:00
Carl Lundin
1d444eecae Update mbedtls to v2.24.0 (#465)
* Set mbedtls submodule tag to v2.24.0

* Update projects

Co-authored-by: Oscar Michael Abrina <abrinao@amazon.com>
Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
2020-12-11 17:16:47 -08:00
Ming Yue
639c08ce2a Remove uIP TCP/IP stack and related demos (#467)
* Remove uIP TCP/IP stack.

* Remove demos that uses uIP.

* Update Demo ReadMe.txt files.
2020-12-11 15:49:56 -08:00
Oscar Michael Abrina
f23752164b Map errors from FreeRTOS+TCP to mbedTLS and make read non-blocking when requesting start of frame (#452)
From the FreeRTOS documentation, pdFREERTOS_ERRNO_ENOSPC means that timeout occurred before any data could be sent or received.
- In the plaintext transport-interface implementation, we would directly return `-pdFREERTOS_ERRNO_ENOSPC`. However, an error like this can occur when the TCP buffer is full, so this ought to be retriable. Libraries that consume the transport interface interpret a return value of 0 to mean that send/recv can be invoked again to get the data. As such, we should appropriately set the return value as 0 when the status is `-pdFREERTOS_ERRNO_ENOSPC`.
- In the mbedTLS port, we would directly return whatever `FreeRTOS_send` or `FreeRTOS_recv` returns. However, sometimes, the return value can be an error. In such cases, we ought to map an error from FreeRTOS+TCP to an equivalent error in mbedTLS. In the case of `-pdFREERTOS_ERRNO_ENOSPC`, we map that to `MBEDTLS_ERR_SSL_TIMEOUT`. When the mbedTLS transport-interface send/recv wrapper sees that value, it appropriately returns 0, so that the library can retry the send/recv. I've verified that when the mbedTLS port returns an error, that same error is returned by `mbedtls_ssl_write` & `mbedtls_ssl_read`.
- The TCP socket may have a receive block time.  If bytesToRecv is greater than 1 then a frame is likely already part way through reception and blocking to wait for the desired number of bytes to be available is the
most efficient thing to do.  If bytesToRecv is 1 then this may be a speculative call to read to find the start of a new frame, in which case blocking is not desirable as it could block an entire protocol agent task for the duration of the read block time and therefore negatively impact performance.  So if bytesToRecv is 1 then don't call recv unless it is known that bytes are already available.

Co-authored-by: abhidixi11 <44424462+abhidixi11@users.noreply.github.com>
Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
2020-12-11 12:51:45 -08:00