我使用了官方给的MQTT SSL例程,利用gencrt.h生成了证书,密钥,利用genheaader.h生成了头文件,并添加到工程中,程序编译正常,但是运行中老是出错,错误位置在如下函数:
X509* cacrt = d2i_X509(NULL, ssl_cck->cacrt, ssl_cck->cacrt_len);
WIFI_INIT
mode : sta(5c:cf:7f:f8:4a:8d)
add if0
wifi_check_ip
STATION_IDLE
load cart.
Fatal exception (0):
epc1=0x40279d20
epc2=0x00000000
epc3=0x402818a7
epcvaddr=0x40108d98
depc=0x00000000
rtn_add=0x40278781
Free Heap Size: 42528
Stack Point: 3fff7e10
3fff7e10: 401086c0 00000362 3fff8c33 00000000
3fff7e20: 00000001 00000000 00000000 00000000
3fff7e30: 00000000 00000000 00000000 00000000
3fff7e40: 00000000 00000000 00000000 4027da17
3fff7e50: a5a5a5a5 00000000 40107948 40108a38
3fff7e60: 00000362 a5a5a5a5 a5a5a5a5 a5a5a5a5
3fff7e70: 00000000 00000000 3fff8638 00000000
3fff7e80: 402206ee 00000362 3fff879b 00000001
根据出错的地址epc1=0x40279d20定位到错误的位置为
ret = mbedtls_asn1_get_tag( p, end, &len,
MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_CONSTRUCTED | 0 ) )
请问这是什么错误原因,该如何去解决?
请给我一些帮助,谢谢!
ESP8266 RTOS MQTT SSL运行错误
-
- Posts: 1
- Joined: Tue May 01, 2018 10:15 pm
Who is online
Users browsing this forum: No registered users and 147 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.