Skip to main content
Visitor II
January 12, 2021
Question

Need support to send sensor data on AWS

  • January 12, 2021
  • 1 reply
  • 732 views

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

    This topic has been closed for replies.

    1 reply

    ST Employee
    January 13, 2021

    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