# AWS SDK In C

**URL:** <https://forums.freertos.org/t/aws-sdk-in-c/8835>\
**Category:** AWS\
**Created:** [March 29, 2018, 10:25am UTC](https://forums.freertos.org/t/aws-sdk-in-c/8835 "2018-03-29T10:25:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 29, 2018, 10:25am UTC](https://forums.freertos.org/t/aws-sdk-in-c/8835/1 "2018-03-29T10:25:29Z")

</div>

**[K1](https://forums.aws.amazon.com/profile.jspa?userID=436821)** wrote on March 29, 2018:

Hi,

I’m working with B-L475E-IOT01A2 board from STMicroelectronics which recommended by AWS.  
Hence there is no AWS SDK in C for microcontrollers so how this board can define itself as a thing in AWS IoT service automatically and download the certificates directly to microcontroller? This is possible by using Python(and other SDKs) for powerful enough (faster, linux/windows) microcontrollers, but what about microcontrollers which support only C.

Any suggestion, idea and help would be really appreciated.  
Regards  
Keivan

Edited by: K1 on Apr 2, 2018 3:55 AM

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 2, 2018, 9:10pm UTC](https://forums.freertos.org/t/aws-sdk-in-c/8835/2 "2018-04-02T21:10:40Z")

</div>

**[hbouvier-AWS](https://forums.aws.amazon.com/profile.jspa?userID=442784)** wrote on April 02, 2018:

Hello,

You want to use Amazon FreeRTOS available here (uses only C):  
[https://github.com/aws/amazon-freertos](https://github.com/aws/amazon-freertos)  
It has example projects for that platform. You can find the getting started guide here:  
[https://docs.aws.amazon.com/freertos/latest/userguide/getting\_started\_st.html](https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_st.html)

Also, there is an AWS C SDK, it is available for download here:  
[https://github.com/aws/aws-iot-device-sdk-embedded-C](https://github.com/aws/aws-iot-device-sdk-embedded-C)

Best,

Hugues

Edited by: HuguesB-AWS on Apr 2, 2018 2:22 PM

Edited by: HuguesB-AWS on Apr 2, 2018 2:23 PM

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 3, 2018, 7:31am UTC](https://forums.freertos.org/t/aws-sdk-in-c/8835/3 "2018-04-03T07:31:09Z")

</div>

**[K1](https://forums.aws.amazon.com/profile.jspa?userID=436821)** wrote on April 03, 2018:

Hi Hugues,

Thanks for your guides.  
Actually, my purpose is that the device, say ST IoT Node, can define IoT Thing in AWS IoT Platform. It is possible in other SDKs like Python(with boto3) or java but there is no SDK for that in C(at least I couldn’t find it). For example in python we use the following code to define thing in AWS IoT Platform:

```auto
import boto3
client = boto3.client('iot')
response = client.create_thing(
    thingName='string',
    thingTypeName='string',
    attributePayload={
        'attributes': {
            'string': 'string'
        },
        'merge': True|False
    }
)

```

I want to do this in C, it means the device can define itself in platform.  
I want to know if there is such an SDK in C for micro-controllers or if there is a way to do that.  
Any help or suggestion would be really appreciated.  
Keivan

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 5, 2018, 10:09pm UTC](https://forums.freertos.org/t/aws-sdk-in-c/8835/4 "2018-04-05T22:09:37Z")

</div>

**[awsota](https://forums.aws.amazon.com/profile.jspa?userID=445003)** wrote on April 05, 2018:

Hello Keivan,

Currently, there is no API support in the C SDK nor Amazon FreeRTOS to create Things from the device as you described. However, take a look at our HTTP API docs  
[https://docs.aws.amazon.com/iot/latest/apireference/API\_Operations.html](https://docs.aws.amazon.com/iot/latest/apireference/API_Operations.html) and [https://docs.aws.amazon.com/iot/latest/apireference/API\_CreateThing.html](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateThing.html).  
If you have HTTP, that may be a viable solution for you from the device.

Regards.
