请问是否有人如何使用ESP8266 MQTT TLS Connect Azure Device Provision Service(DPS) Cloud?
MSFT DPS REF:
https://docs.microsoft.com/zh-tw/azure/ ... tt-support
目前使用ES8266 MQTT 连接MSFT Azure DPS 会无法连线,以下是我的AT CMD,想请问是否哪个步骤漏掉了,才导致不能连线?
AT+MQTTUSERCFG=0,2,"NULL","NULL","NULL",0,0,""
AT+MQTTCLIENTID=0,"wexxxxx"
AT+MQTTUSERNAME=0,"0ne00xxxx/registrations/wexxxxx/api-version=2019-03-31"
AT+MQTTPASSWORD=0,"SharedAccessSignature sr=0ne00xxxx%2Fregistrations%2Fwexxx&sig=4xnwmi4IabfS%2FZ5bFJSLl8sRZ5mTeI3eoU9RcNLtqgA%3D&se=12986972404&skn=enrolltest"
AT+MQTTCONN=0,"global.azure-devices-provisioning.net",8883,1
######################################################################################
因为从微软官方的文件来看,如果要连线Azure DPS 必须使用BaltimoreCyberTrustRoot CA,所以想请问如果我想更新ESP8266 MQTT root CA(BaltimoreCyberTrustRoot.crt.pem),我透过以下这篇教学,把BaltimoreCyberTrustRoot.crt.pem 转成.bin,要把该CA flash download
到以下哪个区域?
如何产生PKI REF:
https://docs.espressif.com/projects/esp ... s.html#pki
AT+SYSFLASH?
+SYSFLASH:"factory_param",64,8,0xf1000,0x1000
+SYSFLASH:"server_cert",64,2,0xf2000,0x2000
+SYSFLASH:"server_key",64,3,0xf4000,0x2000
+SYSFLASH:"server_ca",64,4,0xf6000,0x2000
+SYSFLASH:"client_cert",64,5,0xf8000,0x2000
+SYSFLASH:"client_key",64,6,0xfa000,0x2000
+SYSFLASH:"client_ca",64,7,0xfc000,0x2000
+SYSFLASH:"wpa2_cert",64,8,0xfe000,0x2000
+SYSFLASH:"wpa2_key",64,9,0x100000,0x2000
+SYSFLASH:"wpa2_ca",64,10,0x102000,0x2000
+SYSFLASH:"mqtt_cert",64,11,0x104000,0x2000
+SYSFLASH:"mqtt_key",64,12,0x106000,0x2000
+SYSFLASH:"mqtt_ca",64,13,0x108000,0x2000
ESP8266 如何使用MQTT TLS Connect MSFT Azure Device Provision Service(DPS) Cloud
Moderator: ESP_XCGuang
Re: ESP8266 如何使用MQTT TLS Connect MSFT Azure Device Provision Service(DPS) Cloud
您好,因为 ESP8266 的 RAM 资源有限,所以对于 MQTT over SSL 和 MQTT over WebSocket Secure 非常有限。如果您想建立 MQTT 连接,推荐使用 over TCP 的方式。如果您还是想要 MQTT over SSL 的方式,则推荐您可以使用我们的 ESP32-C3 模组哈~
Who is online
Users browsing this forum: No registered users and 69 guests