Commit Graph

512 Commits

Author SHA1 Message Date
Paul Bartell
4de35c6a8f Add coreHTTP, Logging libs. Adjust dependencies 2022-10-20 17:27:58 -07:00
Paul Bartell
249028b321 mbedtls_freertos_port.c: Fix formatting? 2022-10-20 15:54:50 -07:00
Paul Bartell
6609f6a600 Move projects to their own directories to make VisualStudio happy 2022-10-20 15:54:50 -07:00
Paul Bartell
90003b2231 Mask MSVC string function warnings
Aad _CRT_SECURE_NO_WARNINGS preprocessor definition.
2022-10-20 15:54:50 -07:00
Paul Bartell
5fabdb824a Update FreeRTOS+TCP Minimal Demo for Windows Simulator 2022-10-20 15:54:50 -07:00
Paul Bartell
e0233af237 Add wpcap lib to FreeRTOS+TCP.vcxproj 2022-10-20 15:54:50 -07:00
Paul Bartell
1d1eebfe5e Fix typo in name WindowSimulator -> WindowsSimulator 2022-10-20 15:54:50 -07:00
Paul Bartell
f887dbe34f Update vcxproj files for +TCP, Kernel, Mbedtls 2022-10-20 15:54:50 -07:00
Paul Bartell
8eef4be870 Fix typo in mbedtls_freertos_port.c 2022-10-20 15:54:50 -07:00
Paul Bartell
fb11284c77 Update mbedtls transport implementations for mbedtls v3.2.1 2022-10-20 15:54:50 -07:00
Paul Bartell
94157f09a5 Remove .suo and .vcxproj.user files 2022-10-20 15:54:50 -07:00
Paul Bartell
0ea8bac29c Update FreeRTOS+TCP Windows Minimal sln 2022-10-20 15:54:50 -07:00
Paul Bartell
36010df716 Update FreeRTOS+TCP and Kernel include paths 2022-10-20 15:54:50 -07:00
Paul Bartell
76e5b5c97c Disable unwanted kernel config options 2022-10-20 15:54:50 -07:00
Paul Bartell
698d936682 Remove *.vcxproj.user files and add to gitignore 2022-10-20 15:54:50 -07:00
Paul Bartell
e50a396793 Downgrade library projects to VS 2019. Add heap_4 to kernel. 2022-10-20 15:54:50 -07:00
Paul Bartell
6eaae91c9b winpcap: Consolidate to a single copy of WinPcap 2022-10-20 15:54:50 -07:00
Paul Bartell
8204a97975 Add initial VS project files for Kernel, +TCP, and mbedtls 2022-10-20 15:54:50 -07:00
Paul Bartell
99f77dd5e6 Update FreeRTOS+TCP to v3.1.0 2022-10-20 15:54:50 -07:00
Paul Bartell
8852d67477 Update mbedtls to version v3.2.1 2022-10-20 15:54:50 -07:00
ActoryOu
fc4e9a147c Update cellular interface to v1.3.0. 2022-10-19 15:18:21 -07:00
ActoryOu
6cce3a6764 Update cellular submodules 2022-10-19 15:18:21 -07:00
ActoryOu
2f366a837d Set and update submodule pointer correctly. 2022-10-19 15:18:21 -07:00
ActoryOu
324718d640 Rename module to reduce the file path. 2022-10-19 15:18:21 -07:00
ActoryOu
4ee3d12adf Rename module to reduce the file path. 2022-10-19 15:18:21 -07:00
ActoryOu
70f0685be1 Add cellular modules into repo. 2022-10-19 15:18:21 -07:00
ActoryOu
958e040dfe Change cellular to personal forked repo 2022-10-19 15:18:21 -07:00
Paul Bartell
2c60930238 Update the coreSNTP revision 2022-10-04 14:51:46 -07:00
chinglee-iot
51def4683f Update comm_if_windows for cellular interface (#851)
* Use mutex to protect rxEvent between different threads
* Update naming for static private function
* Update cellular interface submodule pointer
2022-09-26 15:35:31 +08:00
Paul Bartell
0a46f479b9 cellular-demos: Fix alpn strings for use with mbedtls 2022-08-26 09:58:39 -07:00
Paul Bartell
5ac2925d05 winsim-mqtt: Fix ALPN strings in coreMQTT demos 2022-08-26 09:58:39 -07:00
Paul Bartell
bf89af210c winsim-ota: Fix ALPN strings in OTA winsim demos 2022-08-26 09:58:39 -07:00
Paul Bartell
9f7979145a mqtt_demo_helpers: Fix ALPN strings for mbedtls use 2022-08-26 09:58:39 -07:00
chinglee-iot
0fc242b7db Update transport interface for compatibility (#844)
Update transport interface for compatibility

* Update the network transport that using socket wrapper to depend on socket wrapper only.
* AT command timeout should not be changed for cellular socket buffer access mode.
* mbedTLS config include using MBEDTLS_CONFIG_FILE macro.
* Remove strnlen usage in using_mbedtls_pkcs11.
2022-08-26 10:10:15 +08:00
Paul Bartell
5d68fdb5cc winsim-ota-demos: Move checks out of demo_config.h
Move checks for undefined democonfig settings from demo_config.h to
each demo task file.
2022-08-17 15:43:21 -07:00
Paul Bartell
2ffe3de4b5 mqtt-multitask-demo: Move demo_config.h checks 2022-08-17 15:43:21 -07:00
Paul Bartell
8f21b61908 Update coreHTTP submodule and revision in manifest 2022-08-17 15:43:21 -07:00
Paul Bartell
c51f6a08af FreeRTOS+CLI Demos: Update to target VS 2019 v142 2022-08-17 15:43:21 -07:00
Paul Bartell
4391920cdc coreSNTP Demo: Update file headers 2022-08-17 15:43:21 -07:00
Paul Bartell
a977a8bca0 Fix paths in corePKCS11/coreMQTT demo 2022-08-17 15:43:21 -07:00
Paul Bartell
c8f9dbef58 Remove unneeded execute permissions 2022-08-17 15:43:21 -07:00
Paul Bartell
466ee59830 winsim-mqtt-demos: Update VS project files 2022-08-17 15:43:21 -07:00
Paul Bartell
06e5417ff1 winsim-mqtt-demos: Remove duplicate config files 2022-08-17 15:43:21 -07:00
Paul Bartell
2ef7770bec coremqtt-winsim: Remove duplicate copy of WinPCap 2022-08-17 15:43:21 -07:00
Paul Bartell
a685e63049 winpcap: Fix ip6_misc.h header file name. 2022-08-17 15:43:21 -07:00
Paul Bartell
e0e488263e cellular: Update Visual Studio project files 2022-08-17 15:43:21 -07:00
Paul Bartell
7d43b62c9d cellular: Remove duplicate files 2022-08-17 15:43:21 -07:00
alfred gedeon
4242c47a8d Demo: qemu mps2 echo client cleanup (#833) 2022-08-02 15:05:14 -07:00
johnrhen
f062becb34 Create Fleet Provisioning Demo AWS Setup Script in Python (#778)
* Create CloudFormation template for demo setup

* Add CF_ prefix to CloudFormation-created resources to avoid collisions

* Update lexicon.txt

* Create initial python setup script

* Create separate demo_cleanup.py file

* Move setup items to DemoSetup folder

* Add demo_config.h setup to the demo_setup.py script

* Modify error logging on demo_setup.py

* Add file cleanup to demo_cleanup.py

* Rename convert_pem_to_der.py to convert_credentials_to_der.py

* Adjust comment wording on demo_cleanup.py

* added configUSE_TICKLESS_IDLE (#764)

* Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#766)

* Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#768)

Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

This ensures that the coverage does not go down with the PR
https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add tests to increase queue code coverage (#770)

These tests cover the following portion in the queue code:

static void prvUnlockQueue( Queue_t * const pxQueue )
{
    ...

    if( prvNotifyQueueSetContainer( pxQueue ) != pdFALSE )
    {
        /* The queue is a member of a queue set, and posting to
            * the queue set caused a higher priority task to unblock.
            * A context switch is required. */
        vTaskMissedYield();
    }
    else
    {
        mtCOVERAGE_TEST_MARKER();
    }

    ...
}

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Update FreeRTOS-Kernel submodule pointer (#771)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add new names to spell check dictionary (#772)

* Return error if invalid input detected in transport layer (Send/Recv) (#773)

* return error if invalid input detected in transport layer

* Create mqtt_pkcs11_demo_helpers for AWS demos (#769)

* Create mqtt_pkcs11_demo_helpers by modifying mqtt_demo_helpers

* Update formatting and variable naming

* Fix multi-line parameter formatting

* Update file headers to match latest release version

* GCC/Rx100 Demo project files update to e2 Studio v8 (#776)

* Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX100-RSK_GCC_e2studio folder

* Update Demo project file to e2 Studio v8 and remove the .bat file.

* Update the choice of toolchain version.

* Update the link in file header.

Co-authored-by: NoMaY (a user of Japan.RenesasRulz.com) <NoMaY-jp@outlook.com>

* Update FreeRTOS-Cellular-Interface submodule pointer (#775)

* Update cellular sub-module pointer
* Add more log in cellular_setup.c to indicate error
* Adjust cellular transport timeout value for demo application
* Add default cellular module specific config in cellular_config.h

* Create separate demo_cleanup.py file

* Move setup items to DemoSetup folder

* Add demo_config.h setup to the demo_setup.py script

* Modify error logging on demo_setup.py

* Add file cleanup to demo_cleanup.py

* Rename convert_pem_to_der.py to convert_credentials_to_der.py

* Adjust comment wording on demo_cleanup.py

* Adjust comment wording on demo_config.h

* Format files and reduce code redundancy

* Update lexicon.txt

* Remove preconfigured fields from demo_config,h

* Update convert_credentials_to_der.py

Co-authored-by: Archit Gupta <71798289+archigup@users.noreply.github.com>

* Make python files executable

Co-authored-by: Joseph Julicher <jjulicher@mac.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Ravishankar Bhagavandas <bhagavar@amazon.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
Co-authored-by: NoMaY (a user of Japan.RenesasRulz.com) <NoMaY-jp@outlook.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Archit Gupta <71798289+archigup@users.noreply.github.com>
2022-07-20 13:35:59 -07:00
chinglee-iot
5a2c56bf9c Cancel all command when MQTT command failed (#814)
* Use MQTT Agent provided API, MQTTAgent_CancelAll, to clear queue when
  MQTT command failed.
2022-05-17 08:37:37 +08:00