Quarterly update for AWS IoT 2.10 Plugin
This commit consolidates work done for the AWS IoT 2.10 Plugin
release, based on TI's SimpleLink 2.30 SDKs and Amazon's AWS IoT C SDK
v3.0.1.
It includes a few minor TI changes:
- Reset freed pointer to NULL to prevent later dereference (AWSIOT-56)
- Add an 'example starting' print before call to NTP (AWSIOT-58)
Signed-off-by: Chris Ring <cring@ti.com>
This commit consolidates work done for the AWS IoT 2.10 Plugin
release, based on TI's SimpleLink 2.30 SDKs and Amazon's AWS IoT C SDK
v3.0.1.
It includes a few minor TI changes:
- Reset freed pointer to NULL to prevent later dereference (AWSIOT-56)
- Add an 'example starting' print before call to NTP (AWSIOT-58)
Signed-off-by: Chris Ring <cring@ti.com>
Add CC32XX and MSP432E4 device support
Adds CC32XX and MSP432E4 device support, built on the Q2 2018
SimpleLink CC32XX and MSP432E4 2.20 SDKs.
Compared to the previous release (based on the v2.1.1 tag and 1.40
SDKs), this updates the TI porting layer to use the SlNetSock APIs.
Note also that only one example is provided in this repo - only for
TI-RTOS, CCS toolchain - for each supported device. This is done to
reduce developer maintenance of these hand-maintained examples. Users
are recommended to use the associated SimpleLink AWS IoT Plugin, which
includes more examples, as well as support for all supported RTOS's
and toolchains.
Signed-off-by: Chris Ring <cring@ti.com>
Adds CC32XX and MSP432E4 device support, built on the Q2 2018
SimpleLink CC32XX and MSP432E4 2.20 SDKs.
Compared to the previous release (based on the v2.1.1 tag and 1.40
SDKs), this updates the TI porting layer to use the SlNetSock APIs.
Note also that only one example is provided in this repo - only for
TI-RTOS, CCS toolchain - for each supported device. This is done to
reduce developer maintenance of these hand-maintained examples. Users
are recommended to use the associated SimpleLink AWS IoT Plugin, which
includes more examples, as well as support for all supported RTOS's
and toolchains.
Signed-off-by: Chris Ring <cring@ti.com>
Release v3.0.1. (#179)
Fixing coverity issue
Fixing coverity issue
Fixing coverity issue
Removed C++ sample.
Fix to issue #35 (#177)
* Memory corruption fix + timeout robustness feature
Made code more robust to read timeout.
SSL_READ_TIME_OUT will not create a disconnect anymore.
Yield should now yield the correct amount of time.
Data aggregation will ensure data stays in sync
Fix a potential overflow in the code: _aws_iot_mqtt_internal_read_packet was not checking buffer size properly
Fix a bug in _aws_iot_mqtt_internal_decode_packet_remaining_len, len was not correctly increase
* Memory corruption fix + timeout robustness feature
Made code more robust to read timeout.
SSL_READ_TIME_OUT will not create a disconnect anymore.
Yield should now yield the correct amount of time.
Data aggregation will ensure data stays in sync
Fix a potential overflow in the code: _aws_iot_mqtt_internal_read_packet was not checking buffer size properly
Fix a bug in _aws_iot_mqtt_internal_decode_packet_remaining_len, len was not correctly increase
Added warning comment in API to tell users to make sure that the variables topic name and application data passed to the subscribe API needs to be static in memory (#175)
Remove header inttypes.h from SDK source files. (#173)
Fix integration test bugs reported by Coverity. (#167, #168)
Add Travis CI and Coverity automation.
Release v3.0.0. (#160)
Fix gcc warning about size_t format specifier. (#159)
Fixing other potential memory corruption (#155)
Fix potential buffer overflow in parseStringValue. (#152)
Adding standard files (#153)
Change MQTT connect to return more helpful error codes on failure. (#150)
Release v2.3.0.
Use AWS IoT Core support for MQTT over port 443 (#141)
* Use AWS IoT Core support for MQTT over port 443 in the five sample projects (this is done using ALPN during TLS negotiation). Also, fix a compiler warning in the three subscribe/publish projects.
* Use AWS IoT Core support for MQTT over port 443 in the tests.
* Use AWS IoT Core support for MQTT over port 443 in the five sample projects (this is done using ALPN during TLS negotiation). Also, fix a compiler warning in the three subscribe/publish projects.
* Use AWS IoT Core support for MQTT over port 443 in the tests.
mbedtls_wrap: Fix unitialized variable usage
Add Jobs support
Thing Shadow: Fix potential overflow of shadow buffer (#124)
Potential overflow occurs if SHADOW_MAX_SIZE_OF_RX_BUFFER is overriden
to less than the default (AWS_IOT_MQTT_RX_BUF_LEN+1).
Potential overflow occurs if SHADOW_MAX_SIZE_OF_RX_BUFFER is overriden
to less than the default (AWS_IOT_MQTT_RX_BUF_LEN+1).
Release v2.2.1
Fix for issue with new client metrics
Fixes #115
Fixes #115
Initialise msgParams.isRetained to 0 in publishToShadowAction() (#112)
mqttInitParams.mqttPacketTimeout_ms initialized (#118)
Release v2.2.0
Prepare for v2.2.0 release
Add SDK metrics string into Connect packet
Updated default connection keep-alive interval to 600s
Fix stack overflow when debug enabled in MbedTLS wrapper
Fixes #63
Fixes #63
Fixed warning when compiling (#105)
"aws-iot-device-sdk-embedded-C/src/aws_iot_mqtt_client_publish.c", line 353: warning #112-D: statement is unreachable
Using TI 16.9.3LTS compiler, the above message is generated. The "return rc;" line is redundant as the FUNC_EXIT_RC macro on the line before returns as well.
"aws-iot-device-sdk-embedded-C/src/aws_iot_mqtt_client_publish.c", line 353: warning #112-D: statement is unreachable
Using TI 16.9.3LTS compiler, the above message is generated. The "return rc;" line is redundant as the FUNC_EXIT_RC macro on the line before returns as well.
Fix infinite publish exiting early
Prevent messages on /update/accepted from incrementing shadowJsonVersionNum
Fixes #71
Fixes #71
Fix for broken deleteActionHandler in shadow API
Fixes #69
Fixes #69
Merge pull request #102 from XNiiNJA/patch-1
Corrected markdown headers
Corrected markdown headers
Corrected markdown headers
Markdown header functionality changed on github in order to support CommonMark. Updating to reflect this change.
https://github.com/blog/2333-a-formal-spec-for-github-flavored-markdown
Markdown header functionality changed on github in order to support CommonMark. Updating to reflect this change.
https://github.com/blog/2333-a-formal-spec-for-github-flavored-markdown
Fix return type of _aws_iot_mqtt_internal_is_topic_matched
Fixes #58
Fixes #58
clearing SubscriptionList entries in shadowActionAcks after subscription failure
Fixes #62
Fixes #62
Wait for all messages to be received in subscribe publish sample
Fixes #73
Fixes #73
Destroy TLS instance even if disconnect send fails
Fixes #96
Fixes #96
Remove unistd.h
Fixes #57
Fixes #57
Remove extraneous assignment
Fixes #95
Fixes #95
Fixed compilation warnings
fixes #78
fixes #78
MQTT: Fix username and password are confused
fixes #88
fixes #88
MQTT: Fixed MQTT header constructing and parsing
Bit fields must not be used in communication protocol frame parsing.
See http://stackoverflow.com/questions/1490092/c-c-force-bit-field-order-and-alignment.
The bit-fields used in AWS C library caused issues in PowerPC target I'm using.
This might not be the most beautiful way to fix it, but it works. Tested on x86
and PowerPC architectures.
fixes #59
Bit fields must not be used in communication protocol frame parsing.
See http://stackoverflow.com/questions/1490092/c-c-force-bit-field-order-and-alignment.
The bit-fields used in AWS C library caused issues in PowerPC target I'm using.
This might not be the most beautiful way to fix it, but it works. Tested on x86
and PowerPC architectures.
fixes #59
Ignore delta token callback for metadata
Pull request #29: Three small fixes
jsmn: update jsmn to latest commit
Updated jsmn.c and jsmn.h to the latest files available in the
official jsmn repository.
github.com/zserge/jsmn.git@35086597a72d94d8393e6a90b96e553d714085bd
Updated jsmn.c and jsmn.h to the latest files available in the
official jsmn repository.
github.com/zserge/jsmn.git@35086597a72d94d8393e6a90b96e553d714085bd
- Remove Download link for tarball from PortingGuide
- Fixes for issues:
1) Shadow not handling String type values, fixes #49
2) Embedded C SDK Not Passing through Error code on aws_iot_shadow_connect failure
3) Embedded C SDK cannot send SHADOW_JSON_OBJECT to the shadow
- Fixes for issues:
1) Shadow not handling String type values, fixes #49
2) Embedded C SDK Not Passing through Error code on aws_iot_shadow_connect failure
3) Embedded C SDK cannot send SHADOW_JSON_OBJECT to the shadow
Bug Fixes:
1) MQTT: potential read past end of buffer on partial transmit, fixes #66
2) MQTT: aws_iot_mqtt_resubscribe does not properly resubscribe to all topics
3) Update MbedTLS Network layer Readme to remove specific version link
1) MQTT: potential read past end of buffer on partial transmit, fixes #66
2) MQTT: aws_iot_mqtt_resubscribe does not properly resubscribe to all topics
3) Update MbedTLS Network layer Readme to remove specific version link
Update README with Notice about new branching strategy. Create release branch
Release of version 2.1.1
Fix porting guide tarball link
Add missing Makefiles
Release of version 2.1.0
Adding Makefiles for samples and test
Release of version 2.0.0
Release of version 1.1.2
Release of version 1.1.1
Indentation fix: added New line
Release of version 1.1.0
Paho name changed to Eclipse Paho
Renamed the Makefiles in the samples directory
Device Shadow - Delete functionality macro fixed
subscribe_publish_sample.c file updated
This commit closes #1, closes #3
Renamed the Makefiles in the samples directory
Device Shadow - Delete functionality macro fixed
subscribe_publish_sample.c file updated
This commit closes #1, closes #3
modified and cleaned paho naming to Eclipse Paho
Adding link to Eclipse Paho
shadow_sample.c cert path modified
Update README.md
Update PortingGuide.md
Update PortingGuide.md
Improved code comments, Version Updated to 1.0.0, addition of porting guide
Structure and wording updated
Modified thing Name and updated download links to the README.md file
Initial Upload of all the source files
This version includes Thing Shadow support and Basic MQTT pub sub
This version includes Thing Shadow support and Basic MQTT pub sub
Initial commit