cancel
Showing results for 
Search instead for 
Did you mean: 

Need support to send sensor data on AWS

NPanc.1
Associate II

Hello ST Community,

I had successfully run the "Hello World" code on my STM32MP1 which is based on python by the following link,

https://docs.amazonaws.cn/en_us/greengrass/latest/developerguide/module2.html

I have one sensor connected with STM32MP1. I had used /dev/i2c* and wrote a driver for the sensor in c language.

I want to send sensor data to was greengrass, but greengrass only supports python language on lambda.

How can I send sensor data written in c to aws green grass?

Thanks and Regards,

Nikunj Panchani

1 REPLY 1
Yves C
ST Employee

hi @NPanc.1​ 

I never code some lambda function in C language but AWS provide the SDK, and I checked on the target and a . so library exist greengrass/ggc/package/1.11.0/runtime/executable/libaws-greengrass-core-sdk-c.so

So you should be able to create the Lamba C function

https://github.com/aws/aws-greengrass-core-sdk-c

BR

Yves C