botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
477 stars 215 forks source link

AWS IoT MQTT using SIM7000A Shield #247

Open rhino171 opened 3 years ago

rhino171 commented 3 years ago

Hello, I want to use Arduino Due and SIM7000A to send and receive data from/to AWS IoT Core as MQTT. Are there any examples I can look at? So subscribe/publish to a topic. Any help? Thank you!

davegravy commented 3 years ago

Hello, I want to use Arduino Due and SIM7000A to send and receive data from/to AWS IoT Core as MQTT. Are there any examples I can look at? So subscribe/publish to a topic. Any help? Thank you!

Also looking for this

tomlankhorst commented 3 years ago

https://github.com/botletics/SIM7000-LTE-Shield/blob/master/SIM7000%20Documentation/AT%20Command%20Logs/SIM7000_AWS_Log.txt

Looking for an example that only validates server against CA though. So no client certs (client auth via username/password).

Anyone achieved this?

botletics commented 3 years ago

Please see the addRootCA() and TCPconnect() functions here. Please also see this set of AT commands that another user tried that worked for him.

davegravy commented 3 years ago

@tomlankhorst I achieved this recently. See https://github.com/botletics/SIM7000-LTE-Shield/issues/58#issuecomment-851797623