Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any chance for an example with MQTT and TLS/SSL? #116

Closed
kedzior-io opened this issue Jan 27, 2021 · 4 comments
Closed

Any chance for an example with MQTT and TLS/SSL? #116

kedzior-io opened this issue Jan 27, 2021 · 4 comments

Comments

@kedzior-io
Copy link

It would be great if you guys could provide an example for MQTT with TLS/SSL configuration?
Most of the IOT cloud providers require it today.

Here is an example of MQTT I'm talking about:
https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/blob/master/examples/Arduino_MQTT/Arduino_MQTT.ino

Here specifically talking about connecting it to Azure IOT Hub:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support#using-the-mqtt-protocol-directly-as-a-device

and required TLS/SSL configuration:
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support#tlsssl-configuration

Thanks!

@lewisxhe
Copy link
Contributor

Currently, the built-in firmware of 800L does not support SSL and MQTT. I will look for SIMCom to provide technical support and ask them to provide me with a new version of the firmware. I will add it to the example when I finish the test.

@kedzior-io
Copy link
Author

kedzior-io commented Jan 28, 2021

Currently, the built-in firmware of 800L does not support SSL and MQTT. I will look for SIMCom to provide technical support and ask them to provide me with a new version of the firmware. I will add it to the example when I finish the test.

Awesome! Thank you!

Update:
Here is an example I'm using:
https://github.com/kedzior-io/esp32-sim800l-tinygsm-azure-iot-hub-mqtt-ssl/blob/master/mqtt-azure.ino
Here is the error I'm getting:
kedzior-io/esp32-sim800l-tinygsm-azure-iot-hub-mqtt-ssl#1

@lewisxhe
Copy link
Contributor

I am in China and I cannot access azure. I will try to connect to another IOT platform for testing. Do you have a recommended IOT platform?

@kedzior-io

@lewisxhe
Copy link
Contributor

lewisxhe commented Jan 30, 2021

I did not find the English document of 800L SSL, you can view the Chinese one. Hope it helps you

SIM800系列_SSL_应用文档_V1.05.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants