Postby zafarpatel7 » Wed Dec 25, 2019 6:53 am
I want to connect my ESP32 Module with Azure IOT hub using AT command, so any sample code or application is available for that
I tried with Arduino IDE it is working, but I want to use through AT command
ESP32-WROOM-32_AT_Bin_V2.0 -> this version I am using
AT version:1.2.0.0(6fe4345 - Jun 27 2019 05:39:23)
SDK version:v3.2-127-gddbce78
compile time:Jun 27 2019 12:08:01
Bin version:1.2.0(WROOM-32)
I just want to know - how-to steps to set up the client connection to Azure IoT hub
---------------------------------------------------------------------------------------------------
AT
OK
AT+CIFSR
+CIFSR:STAIP,"192.168.0.104"
+CIFSR:STAMAC,"4c:11:ae:70:f9:40"
OK
AT+CIPMUX=1
OK
AT+CIPSERVER=1,8989
OK
AT+CIPSSLCCONF=1,3,0,0
OK
AT+CIPSTART=0,"SSL","104.40.49.44",443 ->104.40.49.44 - this my Azure iot hub ip(host name ip)
0,CONNECT
OK
AT+CIPSEND=0,6
OK
>
busy p...
Recv 6 bytes
SEND OK
-----------------------------------------------------------------------------------------------
I am able to connect Host IP - but I think after that "DeviceId" and "SharedAccessKey" is also required, but how I can send to Azure , any spesifct json formate is required