8f3277f7eb
Fix MQTT wolfssl demo, add wolfssl config WOLFSSL_ALT_CERT_CHAINS ( #1217 )
2024-04-26 09:55:32 +05:30
97b800e339
Update MQTT broker setup steps ( #1215 )
...
* Update MQTT broker setup in FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/MQTT_Multitask/mqtt_broker_setup.txt
* Minor fix
---------
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2024-04-25 12:16:15 +05:30
24ad46b7f8
Fix MQTT multitask demo build ( #1214 )
...
* Fix MQTT multitask demo build
* Fix formatting
* Update FreeRTOS-Plus/Demo/Common/coreMQTT_Agent_Interface/freertos_command_pool.c
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
---------
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2024-04-22 23:13:44 +05:30
469b8ad175
Fix MQTT keep alive and winsim logging warnings ( #1209 )
...
* Fix MQTT keep alive and winsim logging warnigs
* Fix winsim logging warnings
* Fix winsim logging warnings
2024-04-17 16:27:30 +05:30
6b513cb1a2
Use MbedTLS 3.5.1 and Add TLS 1.3 Support to WinSim Demos ( #1135 )
...
* Bump up to MBed-TLS V3.5.1, make changes to Visual Studio Projects to account for this.
* Update MBedTLS Transport files to call psa_crypto_init() if the MBEDTLS_PSA_CRYPTO_C is set.
* Add WIN32_LEAN_AND_MEAN to the corePKCS11_MQTT_Mutual_Auth_Windows_Simulator demo. Add in a check for MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET when making a TLS handshake.
* Change transport interface files from using void * to mbedtls_pk_context * instead per changes in the MbedTLS API.
* Changes to Fleet Provisioning Demo and Demo Setup to use ECDSA keys
* Remove non-32 bit configs from various VisualStudio Projects. Enforce all projects using WIN32_LEAN_AND_MEAN as well as winsock2.h
2023-12-15 12:30:39 -08:00
f6d2b62ec6
Remove 64 Bit Visual Studio Configurations ( #1120 )
2023-12-01 06:00:16 -05:00
3a2f6646f0
Use CI-CD-Github-Actions for spelling and formatting, add in the bot formatting action, update the CI-CD workflow files. Fix incorrect spelling and formatting on files. ( #1083 )
...
* Use new version of CI-CD Actions, checkout@v3 instead of checkout@v2 on all jobs
* Use cSpell spell check, and use ubuntu-20.04 for formatting check
* Add in bot formatting action
* Update freertos_demo.yml and freertos_plus_demo.yml files to increase github log readability
* Add in a Qemu demo onto the workflows.
2023-09-06 12:35:37 -07:00
792efb4bb7
Create GitHub workflows to execute the WinSim demos with libslirp network interface implemented in FreeRTOS+TCP VS Static Project ( #1054 )
...
* Add libslirp to the existing FreeRTOS+TCP static project
* Update demos to run with libslirp
* Add ipconfigUSE_LIBSLIRP
* Call developer command prompt and update meson build options
---------
Co-authored-by: Xiaodong Li <xiaodonn@amazon.com>
2023-07-27 12:18:09 -07:00
9f6437ca6a
Update MQTT demo timeout and record length ( #1030 )
...
* Update MQTT plain text demo timeout and record length
* Update Helper functions
* Update timeout comment
* Update Readme with more details
2023-07-18 12:48:12 +05:30
301ed5881b
Merging IPv6 demo changes to main ( #1028 )
...
* Add IPv6 Demo (#937 )
* Add demo changes
* Update kernel and library paths
* Update main.c
* Run uncrustify
* Fix spell checker
* CI check file headers update
* Add IPv6/v4 UDP echo server with zero copy/non-zero copy versions
* Add VS proj file changes to include the UDP echo sample code
* readme update
---------
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
* Update Backward Compatibility Flag (#954 )
* Update Backward Compatibility Flag
* Update FreeRTOS_GetUDPPayloadBuffer_ByIPType
* Update FreeRTOS_IPStart to FreeRTOS_IPInit_Multi
* Update Application APIs
* Remove ipconfigCOMPATIBLE_WITH_SINGLE
* Update Static Lib files (#956 )
* Update Static Lib files
* making vApplicationIPNetworkEventHook backward compatible in demos
* Update CI check file headers
---------
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
* Add WinPCap NetworkInterface Changes (#958 )
* Update winpcap network interface
* Run uncrustify
* Update function to include NetworkInterface_t parameters
* Adding compatibility for xApplicationDNSQueryHook with latest dev branch for old demos (#957 )
* adding compatibility for xApplicationDNSQueryHook with latest dev branch
* adding tcp echo server source
* removing unused sub demos
* fix build issues (#969 )
* Update demo to latest +TCP dev/IPv6_integration (#978 )
* remove macro namings
* rename sin_addr to sin_address.ulIP_IPv4 for ipv6 demo
* replace in6addr_any with FreeRTOS_in6addr_any
* replace mainCREATE_UDP_ECHO_SERVER_TASK with mainCREATE_UDP_ECHO_TASKS_SINGLE
* handle removal of sin_addr macro to sin_address.ulIP_IPv4
* updating +TCP repo to latest dev/IPv6_integration
* minor update to more clear code
* more sin_addr to sin_address.ulIP_IPv4 replacements
* fix makefiles for qemu and posix demos
* review feedback changes
* Update FreeRTOS-Plus-TCP for RC2
* Change from PR (#994 )
* Update FreeRTOS-Plus-TCP for RC2
* Update copyright
* Ignore WinPCap for files header check failure.
* Update checker
* Update manifest
* Point manifest to latest commit
* Fix Spell-checker
* Update doxygen
* Update xApplicationDHCPHook for backward compatibility (#999 )
* Update xApplicationDHCPHook for backward compatability
* Update IPv6
* Update VisualStudio Static Project files
* Update pxEndPoint error (#1002 )
* Update IPv6 demo ReadMe (#1004 )
* Update ReadMe
* Update setup requirement
* Update UDP demo info
* Update comment
* TCP demo changes post build separation (#1011 )
* adding sin_family to dest adddr for FreeRTOS_sendto
* updating FreeRTOS_bind to input sin_family post build separation changes
* updating FreeRTOS_connect to input sin_family post build separation changes
* minor fix
* updating copyright year
* updating file headers
* updating +TCP submodule
* updating file headers
* updating file headers
* updating manifest file to have latest +TCP submodule hash
* Fix issue with posix demo while running with ipconfigIPv4_BACKWARD_COMPATIBLE enabled for +TCP stack (#1027 )
* Update the submodule pointer to IPv6 main
* Update manifest with latest TCP commit
* Update file checker exception
* Ignore Visual studio project file from file header checker
---------
Co-authored-by: Tony Josi <tonyjosi@amazon.com>
2023-07-06 12:22:11 +05:30
6f7f9fd9ed
[AUTO][RELEASE]: Bump file header version to "202212.00"
2022-12-10 01:17:30 +00:00
b9f2248c5b
[AUTO][RELEASE]: Bump file header version to "202211.00"
2022-12-01 00:34:31 +00:00
8424589ed1
FreeRTOS Windows Simulator Build Changes and LTS 2.0 Update ( #872 )
...
* Update mbedtls to version v3.2.1
* Adjust include paths for github workflow
* Update FreeRTOS+TCP to v3.1.0
* Add initial VS project files for Kernel, +TCP, and mbedtls
* winpcap: Consolidate to a single copy of WinPcap
* Downgrade library projects to VS 2019. Add heap_4 to kernel.
* Remove *.vcxproj.user files and add to gitignore
* Disable unwanted kernel config options
* Update FreeRTOS+TCP and Kernel include paths
* Update FreeRTOS+TCP Windows Minimal sln
* Remove .suo and .vcxproj.user files
* Update mbedtls transport implementations for mbedtls v3.2.1
* Fix typo in mbedtls_freertos_port.c
* Update vcxproj files for +TCP, Kernel, Mbedtls
* Fix typo in name WindowSimulator -> WindowsSimulator
* Add wpcap lib to FreeRTOS+TCP.vcxproj
* Update FreeRTOS+TCP Minimal Demo for Windows Simulator
* Mask MSVC string function warnings
Aad _CRT_SECURE_NO_WARNINGS preprocessor definition.
* Move projects to their own directories to make VisualStudio happy
* mbedtls_freertos_port.c: Fix formatting?
* Add coreHTTP, Logging libs. Adjust dependencies
* Disable FreeRTOS Kernel malloc failed hook
* Update coreHTTP Plaintext demo
* Rename / relocate transport interface implementations
* Remove old VS project files
* Remove extra core_http_config.h files
* Remove extra FreeRTOSConfig.h files
* Remove extra FreeRTOSIPConfig.h files
* Remove old mbedtls_config.h files
* Remove old FreeRTOSConfig and core_http_config files
* Update HTTP Mutual Auth Demo build files
* Fix transport_plaintext.h include name
* Update HTTP_Plaintext demo build files
* Update CoreHTTP_S3_Download VS project files
* Update HTTP_S3_Upload demo build files
* Update CoreHTTP_S3_Download_Multithreaded demo build files
* Add GithubActions builds for FreeRTOS+ CoreHTTP Demos
* Update S3DownloadHTTPExample.c to be compatible with mbedtls 3.x
* Update GithubActions FreeRTOS+ config file
* Combine core_pkcs11_config.h files into a single one
* Add corePKCS11 VS project file
* Update corePKCS11 WinSim demo project and build files
* Update corePKCS11 library to version 3.5.0
* Modifiying demos to build using static libraries
* Adding a header file
* Two more demos
* Update corePKCS11 demo code and auto-format
* Downgrade corePKCS11 library build file to v142 / VS 2019
* Speed up CI builds with selective submodule initialization
* Separate corePKCS11 demo into it's own job.
* Remove WIN32.vcxproj and WIN32.vcxproj.filters files
* Remove old configuration header files
Partially reverts 73829ced6061e4584e521185178a61b4a437c5e0
* Revert unwanted coreHTTP demo changes
* Changing include paths for demos
* Adding an include
* MQTT WoflSSL Demo update
* wolfSSL Demo changes
* Config changes for MQTT Demos
* Initial Device Defender demo update.
* Initial Device Shadow demo update.
* Update mbedtls_transport_pkcs11 for Mbedtls 3.x
* Update corePKCS11 MQTT Mutual Auth demo
* Add a default definition of SdkLog
* Update CorePKCS11 + MQTT Mutual Auth demo sln name
* Build all configs of coreHTTP demos
* Update coreSNTP Demo build files.
* Update coreSNTP Demo sln name
* Update FreeRTOS+TCP Posix demo
* Update FreeRTOS+TCP Qemu ARM MPS2 AN385 Demo
* Update FreeRTOS+TCP Demo Github Actions builds
* Update Fleet Provisioning WinSim Demo build files
* Remove mbedtls_pk_info_t references from mbedtls_pk_pkcs11.h
* Restore / update the FreeRTOS+TCP Minimal WinSim demo
* Initial Jobs demo update.
* Fix jobs demo build.
* Initial OTA over HTTP demo update.
* Initial OTA over MQTT demo update.
* Ota_Over_Mqtt_Demo build fix.
* OTA over MQTT demo fix.
* Update HTTP demo solution file name for CI.
* Update Github actions workflow to old HTTP demo names.
* Update coreSTNP demo to old solution name.
* Fix defender demo / fix mbedtls config to use threading alt.
* Add MBEDTLS_CONFIG_FILE definition to each config
* Fix config file name.
* MQTT Mutual auth fixes.
* Fix job demo.
* Device shadow demo fixes.
* Fix coreSNTP demo not setting alt threading functions for mbedtls.
* Enable Static allocation, Add default hooks for FreeRTOS Kernel and +TCP
* Add xPlatformIsNetworkUp platform function to FreeRTOS+TCP hooks
* Enable runtime statistics in the Windows Simualator Kernel config
* Revert "Fix coreSNTP demo not setting alt threading functions for mbedtls."
This reverts commit 9069707519561ca8136d58c0f18fb176c9050a1d.
* Revert mbedtls threading related config changes
* Add xPlatformIsNetworkUp function prototype
* Remove boileplate FreeRTOS kernel and +tcp hooks
* Refactor device defender demo for clarity
* Add wait loop calling xPlatformIsNetworkUp
* Add missing vPlatformInitLogging function
* Add vPlatformInitLogging and vLoggingPrintf defitions to logging headers
* Updating the FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator
* Updating the FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator demo
* Updates to the FreeRTOS_Plus_WolfSSL_Windows_Simulator demo
* Fixing wrong include path
* Upating FreeRTOS_Plus_WolfSSL_FIPS_Ready_Windows_Simulator demo
* Update coreMQTT WinSim demos to print start and end condition.
* Modifiying repos updated as part of the CLI demo GitHub workflow
* Removing duplicate functions from the FreeRTOS_Plus_TCP_Minimal_Windows_Simulator demo
* Updated FreeRTOS_Plus_TCP_UDP_Mode_CLI_Windows_Simulator demo
* Updating corePKCS11_MQTT_Mutual_Auth_Windows_Simulator Demo to call the static function that creates task
* Fix log message using unitialized string in MQTT Multitask demo.
* Fixing a broken extern function
* Fixing a typo extern function name
* Added a reference to coreHTTP
* Fixing a pre-processor issue in the OTA_Over_Http_Demo
* Updating the MQTT_Mutual_Auth_Demo_with_BG96 demo
* Updating the MQTT_Mutual_Auth_Demo_with_HL7802 demo
* Changes to the MQTT_Mutual_Auth_Demo_with_SARA_R4 demo
* Fix demos for CI.
* Adding the source path to the CBMC proofs for FreeRTOS+TCP
* Spell check fixes, adding words to lexicons
* Fixing a typo
* Add arg to skip prompt in setup script.
* Update paths of script to be relative to the file.
* Changing manifest.yml file to point to corePKCS11 3.5.0
* Added CI markers to cellular demos.
* Fix cellular demo flow.
* Fix celullar demos.
* Initial TCP sockets wrapper rework - will break things.
* First cellular demo fix for new sockets wrapper.
* Minor fix to cellular sockets wrapper.
* Fix mbedtls bio using FreeRTOS Plus TCP call.
* Clean up BG96 demo project files.
* Update HL7802 demo.
* Fix SARA R4 demo for new sockets wrapper.
* Fix Device Defender, Device Shadow, and Fleet PRovisioning.
* Fix Jobs demo.
* Fix OTA over HTTP demo.
* Fix OTA over MQTT demo.
* Fix HTTP mutual auth demo.
* Fix OTA over MQTT demo endianness.
* Fix OTA over HTTP demo endianness.
* Fix HTTP Plaintext demo.
* Fix HTTP S3 download demo.
* Fix plaintext transport
* Fix OTA demos.
* Fix OTA demos.
* Fix OTA HTTP demo.
* Fix HTTP S3 Download multithreaded demo.
* Fix HTTP S3 Upload demo
* Fix corePKCS11 Mutual Auth demo.
* Updating MQTT_Mutual_Auth
* Update pkcs11 setup script.
* Updating the MQTT_Basic_TLS Demo
* Organize PKCS11 demos project.
* Updating MQTT_Keep_Alive demo
* Clean up SNTP demo.
* Updated MQTT_Multitask demo
* Updated MQTT_Plain_Text
* Updating the MQTT_Serializer Demo
* Updating corePKCS11_MQTT_Mutual_Auth_Windows_Simulator
* Updating coreSNTP_Windows_Simulator
* Clean up demo projects.
* Add markers to PKCS11 mutual auth demo.
* Fix Fleet Provisioning demo script.
* Fix SNTP demo solution.
* Fix coreSNTP project files.
* Fix Fleet Provisiong script.
* Fix fleet provisioning script.
* Fix demo config template.
* Fleet provisioning demo markers.
* Updating MQTT_Mutual_Auth_wolfSSL demo and the transport_wolfSSL file
* Fixing FreeRTOS_Plus_TCP_Echo_POSIX
* Fixing CLI and Trace Demos
* Fixing TCP_ECHO_POSIX demo
* Adding a word to the lexicon
* Remove unneeded files.
* Update github workflows to use Ubuntu 20.04.
* Change OTA demo target names to RTOSDemo for OTAE2E tests.
* Fixing Headers
* Updating headers
* Two more headers
* Adding words to the lexicon
* Whitepsace
* Ignore mbedtls config file for header check.
* Removing FreeRTOS Header from the mbedtls_config_v3.2.1.h file
* Fix bug in lPKCS11PkMbedtlsCloseSessionAndFree. Add doxygen api docs.
* Update lexicon.txt
* Fix spelling
* Apply suggestions from code review
Co-authored-by: jasonpcarroll <23126711+jasonpcarroll@users.noreply.github.com>
* Add return code comment for p11_ecdsa_ctx_init
* Rename WindowsSimulator folder to VisualStudio_StaticProjects.
* Remove references to coroutines
* Fix mbedtls_pk_pkcs11.c
* Update to LTS 2.0 submodule pointers (#880 )
* Update submodule pointers to LTS 2.0
* Initial coreMQTT 2.1.1 update.
* Update AWS demos for coreMQTT 2.1.1
* Fix deprecated macro for coreMQTT demos.
* Fix keep alive demo.
* Fix plaintext demo.
* Fix MQTT wolfSSL demo.
* Fix MQTT PKCS11 demo.
* Remove duplicate functions.
* Fix Mutual auth demos for Cellular.
* Fix OTA demos.
* Fix header of plaintext demo config.
* Set writev to NULL for OTA demos.
* Fix mbedlts config for OTA demos.
* Fix spelling.
Co-authored-by: Jason Carroll <czjaso@amazon.com>
* Removing blank line
* Fix jobs demo race condition.
* Fix race condition from WinPCap network interface.
* Update lexicon.
Co-authored-by: Paul Bartell <pbartell@amazon.com>
Co-authored-by: Jason Carroll <czjaso@amazon.com>
Co-authored-by: Paul Bartell <paul.bartell@gmail.com>
Co-authored-by: jasonpcarroll <23126711+jasonpcarroll@users.noreply.github.com>
2022-11-29 14:21:09 -08:00
54d4eeaa26
Add Vectored Interrupt Support To SiFive RISC-V Demo ( #871 )
...
Update SiFive IAR demo to support vectored interrupts. This is a near copy of https://github.com/FreeRTOS/FreeRTOS/pull/797 .
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-11-09 10:34:04 -08:00
c568ba8c44
Percepio Trace Recorder v4.6.0 ( #789 )
...
* * Percepio Trace Recorder v4.6.0
* Add space between inclusion of header and comment
* Fix broken posix build - part 1
* Add percepio timer implementation
* Remove delted trace recorder header file
* Fix Networking demo build
* Fix CLI demo
* Fix visual studio version number
* Fix core header check
* Fix more core checks
* Fix last of core checks
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Co-authored-by: Alfred Gedeon <alfred2g@hotmail.com>
2022-11-03 13:58:38 -07:00
5ac2925d05
winsim-mqtt: Fix ALPN strings in coreMQTT demos
2022-08-26 09:58:39 -07:00
2ffe3de4b5
mqtt-multitask-demo: Move demo_config.h checks
2022-08-17 15:43:21 -07:00
466ee59830
winsim-mqtt-demos: Update VS project files
2022-08-17 15:43:21 -07:00
06e5417ff1
winsim-mqtt-demos: Remove duplicate config files
2022-08-17 15:43:21 -07:00
2ef7770bec
coremqtt-winsim: Remove duplicate copy of WinPCap
2022-08-17 15:43:21 -07:00
07c7ba7aa9
Remove deprecated macro (ipconfigRAND32) references ( #781 )
...
* Remove ipconfigRAND32 referances from demos
* Fix license header
2022-01-31 11:18:55 -08:00
43defa566c
Apply release changes to main branch ( #759 )
...
* Update History.txt and README.md for December release (#744 )
* Update History.txt and README.md for release
* Bump mbedtls submodule to v2.28.0 (#745 )
* Patch project files for mbedtls (#751 )
* Apply group 1 patches
* Apply patches for group 2
* Update project files for mbedTLS new version
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix warnings in projects
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix warnings in HTTP_S3_Download demo
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
* Update changelog and history for corePKCS11 update (#752 )
* Update submodule pointer and manifest.yml for corePKCS11 (#754 )
* Update readme and history.txt to show that Sigv4 is a newly added library (#756 )
* Revert update to v143 of VS toolset (#757 )
* [AUTO][RELEASE]: Bump file header version to "202112.00"
* Update file headers to satisfy core checks
Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: johnrhen <johnrhen@users.noreply.github.com>
2021-12-23 10:16:27 -08:00
426ad44c05
Remove using_mbedtls folder and move its content to the parent folder ( #717 )
...
Move the contents of FreeRTOS/FreeRTOS-Plus/Source/Application-Protocols/network_transport/using_mbedtls/
to its parent folder i.e. FreeRTOS/FreeRTOS-Plus/Source/Application-Protocols/network_transport/.
This removes one unnecessary folder in the hierarchy.
2021-11-18 13:23:41 -08:00
ecd1a8f9f1
[AUTO][RELEASE]: Bump file header version to "202111.00"
2021-11-13 02:37:14 +00:00
957fb26dbe
Add cellular library submodule path and demo ( #695 )
...
* [Cellular] Add cellulr lib submodule and demo app
* [Cellular] Fix memory violation in transport layer and add using LoggingPrintf
* Update FreeRTOS Cellular Interface
* Change the mbedtls usage in FreeRTOS-Plus
* [Cellular] Fix missing spell
* [Cellular] Add manifest.yml
* Fix missing spell
* Update manifest.yml
* [Cellular] Add integration test
* Modify the demo log level to LOG_INFO
* Update cellular interface
* The modification of the folder structure for cellular library
* Rename the naming of demo
* Adjust the location of using_mbedtls and socket_wrapper
* Adjust project setting for relocating using_mbedtls and socket_wrapper
* Turn off PSM mode
* Add start marker for CI validation.
* The modification for mbedtls platform send/recv function for cellular
* Change the project file due to the changes of mbedtls platform send/recv function for cellular
* Fix missing newline and remove unused file
* Add missing configuration.
* Make cellular and freertos tcp plus use the same transport implementation
* Add comment for the macro MBEDTLS_SSL_SEND and MBEDTLS_SSL_RECV
* Make changes from the github comment.
2021-11-10 11:38:44 +08:00
176f1cae02
[AUTO][RELEASE]: Bump file header version to "202107.00"
2021-07-24 00:32:35 +00:00
dd80d615b5
Remove duplicate error.c in WIN32.vcxproj.filters files ( #662 )
2021-07-22 11:42:29 -07:00
63d38b846e
Remove redundant mbedtls error sources ( #654 )
...
Since `mbedtls_error.c` is already part of the mbedTLS submodule, the duplicate files are removed from this repository.
Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
2021-07-19 16:17:18 -07:00
971a6e1d22
Merge FreeRTOS 202104.00 to main ( #585 )
2021-04-29 14:53:40 -07:00
43bd42db27
Rename MQTT Agent structs and files ( #576 )
2021-04-26 11:29:50 -07:00
1e2f99a11b
Add feature to set credentials using buffer in MQTT_Mutual_Auth_wolfSSL demo ( #522 )
...
* Add feature to set credentials using buffer
* Change instructions for giving credential data via buffer
2021-04-21 11:09:43 -07:00
ef6194a7ce
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-20 17:27:10 -07:00
a78cb45d12
Minor changes to wolfSSL MQTT demo files ( #493 )
...
* Clean up demo config for wolfSSL mutual auth.
* Add comment about picking the correct ROOT CA.
* uncrustify using_wolfSSL.c and some other code style changes.
* Apply suggestions from code review
Co-authored-by: Archit Aggarwal <architag@amazon.com>
2021-02-04 16:17:34 -08:00
dfdf2ddf1f
Add MQTT_Mutual_Auth_wolfSSL demo ( #464 )
...
Add a demo that shows MQTT over TLS mutual authentication connection and communication with a broken when using wolfSSL as the TLS library.
2021-02-02 17:28:43 -08:00
da9b9a800d
[AUTO][RELEASE]: Bump file header version to "202012.00"
2020-12-15 11:50:37 -07:00
2e2ba99a74
[AUTO][RELEASE]: Bump file header version to "202012.00"
2020-12-15 10:20:29 -07:00
2e0de9aa70
Clean up demo project files ( #468 )
2020-12-12 16:35:43 -08:00
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
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
1c2c671e7a
Update comments about NetworkContext definition ( #461 )
...
Small change that simply specifies why the NetworkContext must be defined by each compilation unit along with details on how to include it to your project.
Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
2020-12-11 11:09:03 -08:00
d93a3d63a0
Update demos to use version macro from coreMQTT ( #460 )
...
Update demos to use the MQTT_LIBRARY_VERSION macro for the coreMQTT version they report in their metrics
2020-12-10 12:05:02 -08:00
c0d4c7c67c
Update MQTT config for Keep Alive demo that uses dummy timer ( #457 )
...
The MQTT library has been updated with the MQTT_RECV_POLLING_TIMEOUT_MS and MQTT_SEND_RETRY_TIMEOUT_MS configurations which should be set to zero when using a dummy timer function to avoid possibility of infinite loop when retrying failed transport send/receive calls. As the MQTT Keep Alive demo uses a dummy timer function, this PR updates the demo configuration to set these timeouts to zero.
2020-12-09 19:02:51 -08:00
87662ff4d8
Replace GPL with FreeRTOS license in MbedTLS demo config files ( #447 )
...
Since we own mbedtls_config.h files, updating the GPL to use the FreeRTOS license instead.
2020-12-04 18:38:40 -05:00
eec68e8790
Fix TLS handshake failures in demos ( #438 )
...
Increase default size of FreeRTOS+TCP RX buffers in TLS demos to avoid TLS handshake failures
2020-12-02 11:03:55 -08:00
05dc34b27b
Clean up server setup instructions for MQTT and HTTP demos ( #429 )
...
- Removes a broken link to configure Windows Firewall
- Removes references to Mosquitto in the httpbin server setup instructions
2020-12-01 20:28:50 -08:00
73b0d1b259
Support multiple transports in the same compilation unit ( #434 )
...
By removing the definition of the NetworkContext struct in the header file, we allow the application to define it. This allows an application writer to use multiple transports in the same compilation unit. That way, multiple .c files do not have to be created for each transport.
2020-12-01 17:24:18 -08:00
682447445b
Bump backoffAlgorithm submodule for API change and update demos ( #426 )
...
The API of FreeRTOS/backoffAlgorithm library has changed to remove dependency on random number generator; instead require the caller to generate the random number and pass it to the BackoffAlgorithm_GetNextBackoff API for backoff period calculation. This PR updates the submodule pointer commit, and updates the demos and tests to use the simplied library API
2020-11-30 11:12:07 -08:00
036ec83b65
Replace exponential_backoff with submodule to FreeRTOS/backoffAlgorithm ( #419 )
...
A new repository, FreeRTOS/backoffAlgorithm, has been created for hosting the library for backoff calculation. This repo replaces the FreeRTOS-Plus/Source/Utilities/exponential_backoff with the submodule to the new repository, and updates all the demos that use retry logic to use the backoffAlgorithm API
2020-11-24 14:54:31 -08:00
ae1226b1bb
Match WindowsTargetPlatformVersion across all MQTT VS Projects ( #405 )
...
Simply updates the Visual Studio projects so that WindowsTargetPlatformVersion is set to 10.0 for all MQTT demos.
2020-11-13 10:23:48 -08:00
6debf6a2c0
Add #ifndef guards for SdkLog definition to fix conflicting definitions ( #403 )
2020-11-12 11:10:12 -08:00