Problem with espmqtt...
Posted: Sat Jun 16, 2018 4:16 pm
Hi, I've a problem with espmqtt.
When I send packets with frequency greater than 50Hz I've many of this messages:
If I send messages at frequency lower than 50Hz it work fine, but sometimes I see this message:
This is a limit of espmqtt?
Thanks.
Regards.
Stefano
When I send packets with frequency greater than 50Hz I've many of this messages:
Code: Select all
Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
. Exception was unhandled.
Core 1 register dump:
PC : 0x4000c250 PS : 0x00060330 A0 : 0x800dbf79 A1 : 0x3ffcad50
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x0000020d A5 : 0x3f400718
A6 : 0x3ffcad80 A7 : 0xff000000 A8 : 0x80082de8 A9 : 0x3ffcad20
A10 : 0x00000000 A11 : 0xffffffff A12 : 0x00000004 A13 : 0x00000001
A14 : 0x00000004 A15 : 0xff000000 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
Backtrace: 0x4000c250:0x3ffcad50 0x400dbf76:0x3ffcad70 0x400d4121:0x3ffcb080 0x400d304a:0x3ffcb0d0 0x401116ed:0x3ffcb0f0 0x4011197d:0x3ffcb110 0x40111b3a:0x3ffcb150 0x40111d30:0x3ffcb180
0x400dbf76: _vfprintf_r at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/vfprintf.c:1522
0x400d4121: printf at /Users/ivan/e/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/stdio/../../../.././newlib/libc/stdio/printf.c:58
0x400d304a: mqtt_event_handler at ./ESP32/Leanbit-mpu6050/main/./mqtt.c:62 (discriminator 1)
0x401116ed: esp_mqtt_dispatch_event at ./ESP32/Leanbit-mpu6050/main/espmqttaaa/./mqtt_client.c:353
0x4011197d: deliver_publish at ./ESP32/Leanbit-mpu6050/main/espmqttaaa/./mqtt_client.c:353
0x40111b3a: mqtt_process_receive at ./ESP32/Leanbit-mpu6050/main/espmqttaaa/./mqtt_client.c:353
0x40111d30: esp_mqtt_task at ./ESP32/Leanbit-mpu6050/main/espmqttaaa/./mqtt_client.c:353
Rebooting...
Code: Select all
TOPIC=devicecoords
DATA={"name": "pippo", "dev": "devicecoords", "ip": "192.168.0.46", "x": 796, "y": 1064, "z": 15008}
E (65788) MQTT_CLIENT: Read error or end of stream
I (65790) MQTT_CLIENT: Reconnect after 10000 ms
I (65795) mqtt: MQTT_EVENT_DISCONNECTED
E (65801) MQTT_CLIENT: Client has not connected
Thanks.
Regards.
Stefano