forked from FreeRTOS/FreeRTOS
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update demos to use version macro from coreMQTT #3
Open
aggarw13
wants to merge
62
commits into
master
Choose a base branch
from
demos/update-mqtt-lib-in-metrics
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Update logging_stack.h file to avoid use of __FUNCTION__ macro * Revert to use __FUNCTION__ instead of __FILE__ * Fix comment about metadata format * Fix incorrect mapping of SdkLog function * Fix typo causing LOG_METADATA_ARGS to be undefined * Fix another bug with SdkLog macro definition * Fix formatting * Move mapping of SdkLog to vLoggingPrintf from logging_stack to config files * Remove dependency of LIBRARY_LOG_NAME on LIBRARY_METADATA_* macros * Minor improvements Co-authored-by: Gary Wicker <[email protected]> Co-authored-by: RichardBarry <[email protected]>
* Fix logging stack to print message in the first SdkLog * Do not log metadata if on the same line * Fix wrong var name * Change task names to DemoTask * Change for shadow too * Move declaration to a separate line Co-authored-by: Gary Wicker <[email protected]>
* URLs have changed on the FreeRTOS.org site - this commit matches the URLs in the code with the new URLs on the website. * Add link to device shadow directory to the shadow docs. * Update main.c * Update main.c * Update readme.txt * Update main.c * Update main.c * Update readme.txt Co-authored-by: yngki <[email protected]>
* Add submodule pointer to the aws/jobs-for-aws-iot-embedded-sdk repository for the Jobs library * Commonize the MQTT helper functions used by the Device Shadow demo by re-locating them to FreeRTOS-Plus/Demo/AWS/MQTT_Demo_Helpers and updating the Device Shadow demo to use the new files
* Add Makefile project for RISC-V QEMU virtpc This patch adds simple demo directory for QEMU virtpc machine. A demo just prints Tx/Rx message of queue to serial port, use no other hardware and use only primary core (currently hart0). Other cores are simply going to wfi state and execute nothing else. Example command is: qemu-system-riscv32 -nographic -machine virt -net none \ -chardev stdio,id=con,mux=on -serial chardev:con \ -mon chardev=con,mode=readline -bios none \ -kernel demo.elf -smp cpus=2 -s * Fix copyright and URLS of FreeRTOS * Fix Makefile * Add Readme.md * Separate blinky demo from main code Co-authored-by: alfred gedeon <[email protected]> Co-authored-by: Cobus van Eeden <[email protected]> Co-authored-by: Carl Lundin <[email protected]>
…TOS#405) Simply updates the Visual Studio projects so that WindowsTargetPlatformVersion is set to 10.0 for all MQTT demos.
* Add checker for file headers * file header check + git action
* Add helpful asterisk comments to the shadow demo. * Update FreeRTOS-Plus/Demo/AWS/Device_Shadow_Windows_Simulator/Device_Shadow_Demo/DemoTasks/ShadowDemoMainExample.c * Add stuff to the license header for GHA checks.
…RTOS#410) * Remove '1 tab == 4 spaces remarks' from check * Add initial ignore mechanism. Ignore selfcheck
* Move PKCS submodule forward. * Use common mbed code.
Adding common utilities that will be used by 4 coreHTTP demos: - Adding coreHTTP submodule pointer to FreeRTOS-Plus/Source/Application-Protocols/coreHTTP - Adding folder FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/Http_Demo_Helpers with functions common to demos.
Removes the AWS IoT cert that is included in the demo_config.h files of the Shadow and Jobs demos. Additionally fixes some typos.
report_builder.c was missing FreeRTOS includes. Additionally fixes root CA comments in AWS demos.
…hm (FreeRTOS#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
Add demo to establish a mutually-authenticated network connection with the server before sending and verifying a simple POST request. * Add demo files * Move all "Http_Demo_Helpers" files into Common * Update project files and add vendor config files * Update http_demo_utils.c after backoff updates
Adds the HTTP plaintext demo from C SDK. No functionality is changed, but naming is updated appropriately. It is using freertos_plus_tcp plaintext transport implementation to send HTTP requests and then logs the response from the server.
…RTOS#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
Updates the FreeRTOS+TCP submodule pointer. This brings in a fix that needs changes in defender demo.
* Add code of conduct. * Move into .github folder.
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.
* +regex ignores, tentative complete lists for configs * Use header checks from user repo
Increase default size of FreeRTOS+TCP RX buffers in TLS demos to avoid TLS handshake failures
* Add FreeRTOS+TCP UDP only demo. * Update folder name and remove old one * Update the network interface to be used. * Update headers * Update header * Header update and folder name correction * Remove WinPCap folder
Adding demo to use script-generated pre-signed URLs to establish a TLS connection and synchronously download a file from an S3 bucket, with multiple GET requests.
Adding demo to use script-generated pre-signed URLs to establish a TLS connection and upload a small file to an S3 bucket using a single PUT request, and then verify the upload by obtaining the file size from S3 and comparing it to the size of the local file.
* Submodule wolfSSL and move wolfSSL and WolfSSL-FIPS-Ready to ThirdParty folder. * Update VS studio project. * Update FIPS project settings. * Update FIPS demo readme. * Add md to ignored file extensions.
CI only supports 10.0, so this change is required for CI to build this demo correctly on Visual Studio.
* Demo: Add Support for netwroking in Qemu for MPS2 AN385 * Add tcp echo client * Add steps to Readme
Adding demo to demonstrate the use of pre-signed URLs to connect and download from a S3 bucket. Sends multiple GET requests synchronously to download a file in chunks using range headers. Uses a request and response task in addition to the main HTTP servicing task.
* Update readme.txt * Update readme.txt * Update readme.txt * Update check-header.py Co-authored-by: Joseph Julicher <[email protected]>
…TOS#447) Since we own mbedtls_config.h files, updating the GPL to use the FreeRTOS license instead.
* Update project filters * Address inaccurate retry count
The FreeRTOS+TCP submodule pointer was set to a commit not in main, which also lacked commits in main, which ended up causing build failures for defender demo.
) * Move corePKCS11 forward. * Update licenses. * strip NULL terminator. * Add threading_alt.h * Use github link. Co-authored-by: Cobus van Eeden <[email protected]>
* Update kernel submodule pointer to version 4733839 * Fix patches. Co-authored-by: Carl Lundin <[email protected]>
…S#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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update demos to use the
MQTT_LIBRARY_VERSION
macro for the coreMQTT version they report in their metrics