-
Notifications
You must be signed in to change notification settings - Fork 725
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
Auzure Iot MQTT SSL TLS 1.2 on SIM800 - needs "+SSLOPT=1,1" #428
Comments
Woah. I hadn't even noticed there were that many stars! I added the code to the SIM800. Activate it by setting the pre-processor flag |
yes that sounds good |
cheers i will be using it next week |
@better-adapted thanks for your post.. do you have a full sample to share? Maybe a Gist? |
I think it is now in the master - you can check my fork too |
@better-adapted Here is what I have: Here is the error I'm getting: Here is the device I'm using: Any idea? |
Thanks for share your trying. |
This problem occurred on a
Testing to a CloudMQTT on a SSL port - all good working fine - but then i could not establish a connection to an Azure IoT MQTT server uing TLS1.2
in modemConnect() I have had to add
if (ssl)
{
sendAT(GF("+SSLOPT=1,1"));
rsp = waitResponse();
if (rsp != 1) {
return false;
}
}
just before
sendAT(GF("+CIPSSL="), ssl);
After that it worked great - its been on solid for 3 days now - good work
the star I just gave you brought you up to 1000 - no fireworks?
Should I raise a pull request for this - not sure if this is the exact place to put the patch - perhaps it would be better in setup code?
The text was updated successfully, but these errors were encountered: