Page 1 of 1

Conneting ESP8266 with Azure IOTHUB using AT commands

Posted: Mon Apr 22, 2019 6:11 pm
by Harikrishna
hi this is harikrishna..

currently i am facing problem with SSL connection with Azure IotHub..i am trying to connect with the Azure by using AT commands.and i Flashed latest AT command Firmware which is in the ESPRESSIF Ssite i think it is v1.7..and
for checking the SSL connection i used a simple commands to connect some of the servers like this..

AT+CIPMUX=1;
AT+CIPSSLCCONF=2
AT+CIPSTART=0,"TCP","www.google.com",443
and the response i got success ..(CONNECT OK)

and also with different port numbers
T+CIPSTART=0,"TCP","www.google.com",80
for the also got CONNECT OK.Response.

but when i use the SSL
AT+CIPMUX=1;
AT+CIPSSLCCONF=2
AT+CIPSTART=0,"SSL","www.google.com",443
I got ERROR CLOSED Response coming and tried with different port numbers and different server address still i getting ERROR CLOSED reponse..

Re: Conneting ESP8266 with Azure IOTHUB using AT commands

Posted: Tue Apr 23, 2019 3:33 am
by ESP_Sprite
Note that this is an ESP32 forum; you may be better off asking a forum that is more ESP8266-oriented.

Re: Conneting ESP8266 with Azure IOTHUB using AT commands

Posted: Tue Apr 23, 2019 7:00 am
by Helen L
Maybe https://github.com/espressif/ESP8266_NONOS_SDK/issues is a better place for this question.
And for the SSL connection, maybe you can try the command AT+CIPSSLSIZE to enlarge the SSL buffer size firstly.