Skip to content

Commit d2ed84c

Browse files
author
bhadrip
committed
Release of version 1.1.2
1 parent 453a88a commit d2ed84c

File tree

19 files changed

+51
-16
lines changed

19 files changed

+51
-16
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#Change Log
2+
## [1.1.2](https://github.com/aws/aws-iot-device-sdk-embedded-C/releases/tag/v1.1.2) (April 22,2016)
3+
4+
Bugfixes/Improvements:
5+
- Signature mismatch in MQTT library file fixed
6+
- Makefiles have a protective target on the top to prevent accidental execution
7+
28
## [1.1.1](https://github.com/aws/aws-iot-device-sdk-embedded-C/releases/tag/v1.1.1) (April 1,2016)
39

410
Bugfixes/Improvements:

PortingGuide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ The scope of this document is to provide instructions to modify the provided sou
66
##Contents of the SDK
77

88
The SDK ported for linux can be downloaded from the below links.
9-
* [OpenSSL](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_openssl-1.1.1.tar)
10-
* [mbedTLS from ARM](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_mbedtls-1.1.1.tar)
9+
* [OpenSSL](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_openssl-1.1.2.tar)
10+
* [mbedTLS from ARM](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_mbedtls-1.1.2.tar)
1111

1212
The C-code files of this SDK are delivered via the following directory structure (see comment behind folder name for an explanation of its content).
1313

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##Note: Upgrade
2+
3+
Makefiles in the samples folder had the executable bit set and could potentially delete all files of the host machine if executed as a bash script.
4+
More details could be found [here](https://github.com/aws/aws-iot-device-sdk-embedded-C/issues/14). Please upgrade to the latest version of the SDK.
5+
16
##Overview
27

38
The AWS IoT device SDK for embedded C is a collection of C source files which can be used in embedded applications to securely connect to the [AWS IoT platform](http://docs.aws.amazon.com/iot/latest/developerguide/what-is-aws-iot.html). It includes transport clients **MQTT**, **TLS** implementations and examples for their use. It also supports AWS IoT specific features such as **Thing Shadow**. It is distributed in source form and intended to be built into customer firmware along with application code, other libraries and RTOS. For additional information about porting the Device SDK for embedded C onto additional platforms please refer to the [PortingGuide](https://github.com/aws/aws-iot-device-sdk-embedded-c/blob/master/PortingGuide.md/).
@@ -27,8 +32,8 @@ Ensure you understand the AWS IoT platform and create the necessary certificates
2732

2833
In order to quickly get started with the AWS IoT platform, we have ported the SDK for POSIX type Operating Systems like Ubuntu, OS X and RHEL. The porting of the SDK happens at the TLS layer, and for the MQTT protocol. The SDK is configured for two TLS libraries and can be built out of the box with *GCC* using *make utility*. The tarballs can be downloaded from the below links.
2934

30-
* [OpenSSL](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_openssl-1.1.1.tar)
31-
* [mbedTLS from ARM](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_mbedtls-1.1.1.tar)
35+
* [OpenSSL](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_openssl-1.1.2.tar)
36+
* [mbedTLS from ARM](https://s3.amazonaws.com/aws-iot-device-sdk-embedded-c/linux_mqtt_mbedtls-1.1.2.tar)
3237

3338
##Installation
3439
This section explains the individual steps to retrieve the necessary files and be able to build your first application using the AWS IoT device SDK for embedded C.
@@ -98,4 +103,4 @@ ShadowUpdateStatusCallback,
98103
pCallbackContext,
99104
TIMEOUT_4SEC,
100105
persistenSubscription);
101-
```
106+
```

aws_iot_src/protocol/mqtt/aws_iot_embedded_client_wrapper/aws_iot_mqtt_embedded_client_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ IoT_Error_t aws_iot_mqtt_connect(MQTTConnectParams *pParams) {
163163
data.password.cstring = pParams->pPassword;
164164
data.will.topicName.cstring = (char*)pParams->will.pTopicName;
165165
data.will.message.cstring = (char*)pParams->will.pMessage;
166-
data.will.qos = pParams->will.qos;
166+
data.will.qos = (enum QoS)pParams->will.qos;
167167
data.will.retained = pParams->will.isRetained;
168168
data.keepAliveInterval = pParams->KeepAliveInterval_sec;
169169
data.cleansession = pParams->isCleansession;

aws_iot_src/protocol/mqtt/aws_iot_embedded_client_wrapper/platform_linux/mbedtls/network_mbedtls_wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int iot_tls_init(Network *pNetwork) {
8181
if ((ret_val = mbedtls_ctr_drbg_seed(&ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers,
8282
strlen(pers))) != 0) {
8383
ERROR(" failed\n ! mbedtls_ctr_drbg_seed returned -0x%x\n", -ret);
84-
return ret;
84+
return ret_val;
8585
} DEBUG("ok\n");
8686

8787
pNetwork->my_socket = 0;

aws_iot_src/utils/aws_iot_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/**
4040
* @brief PATCH version when backwards-compatible bug fixes are made.
4141
*/
42-
#define VERSION_PATCH 1
42+
#define VERSION_PATCH 2
4343
/**
4444
* @brief TAG is an (optional) tag appended to the version if a more descriptive verion is needed.
4545
*/

aws_mqtt_embedded_client_lib/MQTTClient-C/src/MQTTClient.c

100755100644
File mode changed.

aws_mqtt_embedded_client_lib/MQTTClient-C/src/MQTTClient.h

100755100644
File mode changed.

aws_mqtt_embedded_client_lib/MQTTPacket/src/MQTTPacket.c

100755100644
File mode changed.

aws_mqtt_embedded_client_lib/MQTTPacket/src/MQTTReturnCodes.h

100755100644
File mode changed.

0 commit comments

Comments
 (0)