Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

board reset on log level DEBUG over gn_mqtt_protocol #39

Open
ogghst opened this issue Jan 23, 2022 · 0 comments
Open

board reset on log level DEBUG over gn_mqtt_protocol #39

ogghst opened this issue Jan 23, 2022 · 0 comments

Comments

@ogghst
Copy link
Owner

ogghst commented Jan 23, 2022

when raised log level with
esp_log_level_set("gn_mqtt_protocol", ESP_LOG_DEBUG);
the board seems not to be able to keep wifi connection. Possible bug in ESP-IDF MQTT implementation (see #5876 )

...
I (3708) grownode: _gn_leaf_start blink
D (3808) gn_mqtt_protocol: publishing leaf blink
D (3808) gn_mqtt_protocol: subscribing leaf. topic: /grownode/test/blink/cmd
D (3808) gn_mqtt_protocol: sent subscribe successful, topic = /grownode/test/blink/cmd
D (3818) gn_mqtt_protocol: Event dispatched from event loop base=MQTT_EVENTS, event_id=3
D (3818) gn_mqtt_protocol: MQTT_EVENT_SUBSCRIBED, msg_id=26691
I (3828) grownode: _gn_start_leaf blink completed
D (3838) gn_mqtt_protocol: gn_mqtt_send_leaf_param status
D (3838) gn_mqtt_protocol: sent publish successful, msg_id=0, topic=/grownode/test/blink/status/sts, payload=0
D (3848) gn_mqtt_protocol: gn_mqtt_send_leaf_param inverted
D (3858) gn_mqtt_protocol: sent publish successful, msg_id=0, topic=/grownode/test/blink/inverted/sts, payload=0
D (3868) gn_mqtt_protocol: gn_mqtt_send_leaf_param gpio
D (3868) gn_mqtt_protocol: sent publish successful, msg_id=0, topic=/grownode/test/blink/gpio/sts, payload=2.000000
I (4588) wifi:state: run -> init (0)
I (4588) wifi:pm stop, total sleep time: 1109972 us / 2272570 us

W (4588) wifi:<ba-del>idx
I (4588) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
E (4598) gn_network: Wifi disconnected. reason: 8
I (4598) gn_network: Retry to connect - attempt 0 of 5
W (4608) wifi:hmac tx: ifx0 stop, discard
W (4608) wifi:hmac tx: ifx0 stop, discard
E (4618) TRANSPORT_BASE: poll_read select error 113, errno = Software caused connection abort, fd = 54
E (4628) MQTT_CLIENT: Poll read error: 119, aborting connection
D (4628) gn_mqtt_protocol: Event dispatched from event loop base=MQTT_EVENTS, event_id=2
D (4638) gn_mqtt_protocol: MQTT_EVENT_DISCONNECTED
D (4648) gn_mqtt_protocol: _gn_mqtt_on_disconnected
D (4648) gn_mqtt_protocol: _GN_MQTT_CONNECTED_KO_EVENT_BIT
I (4698) wifi:flush txq
I (4698) wifi:stop sw txq
I (4698) wifi:lmac stop hw txq
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6608
load:0x40078000,len:14780
load:0x40080400,len:3792
0x40080400: _init at ??:?

entry 0x40080694
I (27) boot: ESP-IDF v4.4-rc1 2nd stage bootloader
I (27) boot: compile time 12:18:20
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant