Dear Members,
I have successfully used the provided examples to connect to aws-iot and update the shadow and upload data.
What I will need to do in the future is actually the same (shadow updates and data uploads) but utilizing a GSM modem (SIM7000e).
Although there is an example for using lwip/ppp and also the example provided by loboris there seems to be no support to use the aws iot embedded c sdk with pppos.
I understand that the current ESP-IDF implementation is based on freeRTOS 8 and that there are plans from the espressif Dev team to move forward to freeRTOS 10, which by the way is used by the amazon team for their C SDK.
Also the AWS mentions that their MQTT 2.0 (beta) implementation will allow other TCP/IP stacks to be used.
Unfortunately the aws-iot-embedded-c SDK uses freeRTOS+TCP/IP and not lwip (which supports pppos as used by the examples.)
Does anyone know a way to configure the aws-iot-embedded-c to use lwip ?
Surely utilising GSM modems fits into the IoT field and a WiFi connection is not everywhere available
AWS IoT through MQTT/pppos with GSM Modem
Re: AWS IoT through MQTT/pppos with GSM Modem
Seems like Amazon will indirectly adress this issue with their aws-iot-device-sdk-embedded-C v4.0 along with some other goodies! :
https://github.com/aws/aws-iot-device-s ... ee/v4_beta
Among others :
- Asynchronous API for both MQTT and Thing Shadow.
- Multithreaded API by default (removed the yield function).
- More efficient platform layer (especially timers).
- Complete separation of MQTT and network stack, allowing MQTT to run over any network stack.
- Configurable memory allocation (static-only or dynamic). Memory allocation functions may also be set by the user.
- Network stack based on OpenSSL.
- MQTT persistent session support.
Hmm... Complete separation of MQTT and network stack, allowing MQTT to run over any network stack.
!
I hope the Espressif team plans to upgrade to freeRTOS 10 soon and that lwip/pppos will be supported along the aws sdk.
Until that time, does anyone know how to use aws-iot-device-sdk-embedded-C v3 which is currently supported by ESP-IDF along with a GSM modem?
I could definitely not be the first and only one asking this question...
https://github.com/aws/aws-iot-device-s ... ee/v4_beta
Among others :
- Asynchronous API for both MQTT and Thing Shadow.
- Multithreaded API by default (removed the yield function).
- More efficient platform layer (especially timers).
- Complete separation of MQTT and network stack, allowing MQTT to run over any network stack.
- Configurable memory allocation (static-only or dynamic). Memory allocation functions may also be set by the user.
- Network stack based on OpenSSL.
- MQTT persistent session support.
Hmm... Complete separation of MQTT and network stack, allowing MQTT to run over any network stack.
!
I hope the Espressif team plans to upgrade to freeRTOS 10 soon and that lwip/pppos will be supported along the aws sdk.
Until that time, does anyone know how to use aws-iot-device-sdk-embedded-C v3 which is currently supported by ESP-IDF along with a GSM modem?
I could definitely not be the first and only one asking this question...
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 95 guests