Conneting ESP8266 with Azure IOTHUB using AT commands

Harikrishna
Posts: 2
Joined: Mon Apr 22, 2019 5:54 pm

Conneting ESP8266 with Azure IOTHUB using AT commands

Postby Harikrishna » Mon Apr 22, 2019 6:11 pm

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..

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: Conneting ESP8266 with Azure IOTHUB using AT commands

Postby ESP_Sprite » Tue Apr 23, 2019 3:33 am

Note that this is an ESP32 forum; you may be better off asking a forum that is more ESP8266-oriented.

Helen L
Posts: 71
Joined: Thu Aug 16, 2018 9:07 am

Re: Conneting ESP8266 with Azure IOTHUB using AT commands

Postby Helen L » Tue Apr 23, 2019 7:00 am

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.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Majestic-12 [Bot] and 205 guests