2021-01-12 02:39 AM
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
2021-01-13 06:15 AM
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