服务器这边点击连接时固件这边debug会报如下错误信息:
E (1023084) esp-tls-mbedtls: read error :-0x004C:
E (1023084) transport_base: esp_tls_conn_read error, errno=Socket is not connected
E (1023094) mqtt_client: esp_mqtt_handle_transport_read_error: transport_read() error: errno=128
I (1023104) mqtts_example: MQTT_EVENT_ERROR
I (1023104) mqtts_example: Last error code reported from esp-tls: 0x0
I (1023114) mqtts_example: Last tls stack error number: 0x4c
I (1023114) mqtts_example: Last captured errno : 0 (Success)
E (1023124) mqtt_client: mqtt_process_receive: mqtt_message_receive() returned -1
I (1023134) mqtts_example: MQTT_EVENT_DISCONNECTED
I (1038134) mqtts_example: Other event id:7
I (1039764) mqtts_example: MQTT_EVENT_CONNECTED
待服务器这边断开连接后,设备这边是可以正常发送信息的:
TOPIC=/topic/qos0
DATA=data_test0625
I (1040664) mqtts_example: MQTT_EVENT_DATA
TOPIC=/topic/qos0
DATA=data_test0625
I (1682624) mqtts_example: MQTT_EVENT_DATA
TOPIC=/topic/qos0
DATA=data
有人遇到类似问题吗?该如何解决?
MQTTS连接失败 esp-tls-mbedtls: read error :-0x004C
Moderator: ESP_ZT
Who is online
Users browsing this forum: No registered users and 23 guests