OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Stability problems on BL602 (LF686C20) using MQTT

Open CarlKuhligk opened this issue 1 year ago • 5 comments

Describe the bug After sending a lot of MQTT messages, the device randomly disconnects from the WIFI and does not reconnect automatically. Switching it on again helps, but the instability persists.

Firmware:

  • Version 1.17.463
  • Device Magic Home RGBW 12-24v 5-pin LED Strip Controller
  • Chip/model: LF686C20 details flashed as BT602
  • Device config
"flags": "537134080",
"pins": {
    "3": "PWM;0",
    "4": "PWM;1",
    "20": "PWM;3",
    "21": "PWM;2"
  }

To Reproduce Steps to reproduce the behavior:

  1. switch on the device
  2. send a lot of MQTT messages from node red
  3. wait until the device has disappeared from WIFI.

Logs

Info:MAIN:Time 75, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MAIN:Time 76, idle 0/s, free 108280, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/21 
Info:MAIN:Time 77, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MAIN:Time 78, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MAIN:Time 79, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MAIN:Time 80, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Dimmer
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor1
Info:MQTT:Publishing val 100 to livingroom_mini_bar_1/led_dimmer/get retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:Publishing val FF1500 to livingroom_mini_bar_1/led_basecolor_rgb/get retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor2
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Power
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:CMD:tasCmnd POWER (Power) received with args 1
Info:MQTT:Publishing val 1 to livingroom_mini_bar_1/led_enableAll/get retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MAIN:Time 81, idle 0/s, free 108584, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21 
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Dimmer
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor1
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor2
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Power
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:CMD:tasCmnd POWER (Power) received with args 1
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Dimmer
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor1
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/HSBColor2
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Power
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Info:CMD:tasCmnd POWER (Power) received with args 1
Info:MQTT:Publishing val (128 bytes) to stat/livingroom_mini_bar_1/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/livingroom_mini_bar_1/Power
Info:CMD:tasCmnd POWER (Power) received with args 0
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"0,0,0","HSBColor":"5,100,100","Channel":[0,0,0],"POWER":"OFF"} to stat/livingroom_mini_bar_1/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic livingroom_mini_bar_1/led_dimmer/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic livingroom_mini_bar_1/led_basecolor_rgb/get

The device then does not respond for some time. Sometimes it re-establishes the connection to the mqtt server because an mqtt timeout triggers an action in the device. Without having opened the web interface of the device (after a restart), the device closes the WIFI connection and remains dead.

What can I do to further analyse the behaviour of the device? Does it make sense to log the device via the serial interface?

CarlKuhligk avatar Feb 16 '24 14:02 CarlKuhligk

Crashlog

I logged the output now via serial connection. I will try again and see if it crashes at the same point every time.

Click to expand
▒%5+▒▒dSJ▒▒▒▒M▒▒d▒▒▒▒h*!@4d▒z▒▒R`▒+▒▒pV▒▒*!▒Z▒▒▒▒▒Lp▒▒▒▒@▒`▒@▒XU▒-@▒▒Щ▒ ▒TA▒C▒ ▒                                                                                                           ▒5▒▒p▒▒Щ ▒0▒▒06
               p▒06▒p▒▒▒p▒▒p▒▒0▒▒`▒▒▒▒`d▒▒▒▒▒▒0,▒▒▒Be▒▒i▒0F▒<▒▒I▒
4▒0&;l▒pJm7L▒▒▒&▒
▒▒▒e▒8▒▒S▒eq'▒E▒▒9@+▒H6d▒a
▒▒▒FB▒▒LL▒b\H▒▒▒F▒ccQL▒Bd▒▒▒)▒▒%+*▒▒0▒y▒0R▒▒2▒▒0D▒03 #▒0F▒▒▒0▒p▒ ▒▒&A▒A▒sKq▒а▒▒▒                                                                                                           E▒▒▒e#@B#▒\▒▒||▒&}~|▒▒▒▒Nj+▒▒▒▒▒▒▒▒ã▒▒p▒7▒▒x▒x弸x▒x▒k▒=▒޻n▒<g▒o▒:\\▒}▒u▒z▒▒▒▒▒}}▒                                                                                                           ▒▒o▒▒▒▒▒▒▒▒▒▒▒~▒▒▒▒s▒▒_o▒▒▒▒▒▒֚▒▒▒▒▒f▒▒▒o^l▒▒▒3Y▒▒▒▒▒▒▒▒▒JX
*J&▒
    ▒▒▒%▒▒S▒▒+▒%!M`i▒[s▒{▒QEF▒▒▒ш▒$▒@▒
                                      4Adѓ!Cd▒▒▒▒▒▒`▒▒▒
▒<H%▒{▒▒H▒▒$
            A▒Info:MAIN:Main_Init_Before_Delay
Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 7 changes count.
Info:GEN:PIN_SetupPins pins have been set up.
Info:MAIN:Main_Init_Before_Delay done
Info:MAIN:Main_Init_Delay
Info:MAIN:Main_Init_Delay done
Info:MAIN:Main_Init_After_Delay
Info:MAIN:Using SSID [### wifi ssid ###]
Info:MAIN:Using Pass [### wifi password ###]
Info:MQTT:MQTT_RegisterCallback called for bT obl42BF98D4/ subT obl42BF98D4/+/se                                                                                                           t
Info:MQTT:MQTT_RegisterCallback called for bT bl602s/ subT bl602s/+/set
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obl42BF98D4/ subT cmnd/obl42B                                                                                                           F98D4/+
Info:MQTT:MQTT_RegisterCallback called for bT cmnd/bl602s/ subT cmnd/bl602s/+
Info:MQTT:MQTT_RegisterCallback called for bT obl42BF98D4/ subT obl42BF98D4/+/ge                                                                                                           t
Info:EnergyMeter:Init CLI with event Driven
Error:CMD:cmd startScript NOT found (args autoexec.bat)
Info:MAIN:Main_Init_After_Delay done
Info:EnergyMeter:BL602 received:
Info:CMD:UART received: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Info:MAIN:Time 1, idle 0/s, free 106464, MQTT 0(0), bWifi 0, secondsWithNoPing -                                                                                                           1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 2, idle 0/s, free 106464, MQTT 0(0), bWifi 0, secondsWithNoPing -                                                                                                           1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 3, idle 0/s, free 106464, MQTT 0(0), bWifi 0, secondsWithNoPing -                                                                                                           1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 4, idle 0/s, free 106464, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
----- BUG FIXME? NOT do STA enable again
[WF] MM_ADD_IF_REQ Sending: STA
▒td_start idx=0
[WF] MM_ADD_IF_REQ Done
[WF] vif_index from LAMC is 0
[WF][SM] Entering idle state
[WF][SM] Action Connect
           ssid ### wifi ssid ###
           ssid len 6
           psk ### wifi password ###
           psk len 16
           pmk
           pmk len 0
           channel band 0
           channel freq 0
           mac 00:00:00:00:00:00
           dhcp status: true
[WF][SM] State Action ###idle### --->>> ###connecting###
connecting using vif_idx 0
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = ### wifi ssid ###
result ssid index = -1
===end sm_get_bss_params===
[WF][SM] Entering connecting state
Info:CMD:UART[APP] [EVT] Connecting 5792
[APP] [EVT] Connecting 5794
 nnecting 5794
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
[      6795][WARN  : bl_mtd.c: 201] addr@0x2309dd74 is xip flash, size 8
Info:CMD:UART received:
Info:MAIN:Time 6, idle 0/s, free 104424, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:MAIN:Boot complete time reached (5 seconds)
Probe Response
timestamp = 0x18572e213
Probe Response
timestamp = 0x18576c49d
Probe Response
timestamp = 0x1857a88c3
Probe Response
timestamp = 0x1857e5c51
Info:CMD:UART received:
Info:MAIN:Time 7, idle 0/s, free 104424, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 8, idle 0/s, free 104424, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
===start sm_get_bss_params===
bssid[0] = 0xffff
bssid[1] = 0xffff
bssid[2] = 0xffff
search ssid = ### wifi ssid ###
result ssid index = 0
===end sm_get_bss_params===
wpa2/wpa3 pairwise ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 group ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 is_pmf_required:0
AP Security mode: wep:0,wpa:0,wpa2:1,wpa3:0
Probe Response
timestamp = 0x185957d2d
wpa2/wpa3 pairwise ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 group ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 is_pmf_required:0
AP Security mode: wep:0,wpa:0,wpa2:1,wpa3:0
wpa2/wpa3 pairwise ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 group ccmp:1,tkip:0,wep104:0,wep:40:0
wpa2/wpa3 is_pmf_required:0
AP Security mode: wep:0,wpa:0,wpa2:1,wpa3:0
------ 247 set default key 0x42020e38, key ptr 0x00000000
[APP] [EVT] SCAN On Join 9569
[APP] [EVT] Unknown code 10, 9569
set key:sta_idx:0, inst_nbr:0, key_idx:0,cipher_suite:2,key_len:16
set key:sta_idx:255, inst_nbr:0, key_idx:1,cipher_suite:2,key_len:16
ind ix 0x42029b7c, chan_ctxt is 0x42021f5c
[RX] Connection Status
[RX]   status_code 0
[RX]   connect result: sm connect ind ok
[RX]   MAC C8:0E:14:5E:10:BF
[RX]   vif_idx 0
[RX]   ap_idx 0
[RX]   ch_idx 0
[RX]   qos 1
[RX]   acm 0
[RX]   assoc_req_ie_len 83
[RX]   assoc_rsp_ie_len 196
[RX]   aid 0
[RX]   band 0
[RX]   center_freq 2437
[RX]   width 0
[RX]   center_freq1 2437
[RX]   center_freq2 0
[WF][SM] Exiting connecting state
[WF][SM] State Action ###connecting### --->>> ###wifiConnected_ipObtaining###
[WF][SM] Entering wifiConnected_ipObtaining state
[WF][SM] DHCP Starting...0x4201d194
[APP] [EVT] connected 9672
[APP] [EVT] connecte-----------------> AABA Request:
    A-MSDU: Permitted
    Block Ack Policy: Immediate Block Ack
    TID: 0
    Number of Buffers: 64
-----------------> AABA Response:
    A-MSDU: Not Permitted
    Block Ack Policy: Immediate Block Ack
    TID: 0
    Number of Buffers: 8
dBA Response:
    A-MSDU: Not Permitted
    Block Ack Policy: Immediate Block Ack
    TID: 0
    Number of Buffers: 8
Info:CMD:UART received:
Info:MAIN:Time 9, idle 0/s, free 106424, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/21
[lwip] netif status callback
  IP: 192.168.0.38
  MK: 255.255.255.0
  GW: 192.168.0.1
[WF][SM] Exiting wifiConnected_ipObtaining state
[WF][SM] IP GOT IP:192.168.0.38, MASK: 255.255.255.0, Gateway: 192.168.0.1, dns1: 192.168.0.5, dns2: 0.0.0.0
[WF][SM] State Action ###wifiConnected_ipObtaining### --->>> ###wifiConnected_IPOK###
[WF][SM] Entering wifiConnected_IPOK state
[APP] [EVT] GOT IP 10532
[SYS] Memory left is 106424 Bytes
[APP] [EVT] GOT IP 10536
[SYS] Memory left is 106424 Bytes
Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
Info:CMD:UART received:
Info:MAIN:Time 10, idle 0/s, free 106424, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 11, idle 0/s, free 106424, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:mqtt_userName IoT_Device
mqtt_pass ### mqtt password ###
mqtt_clientID obl42BF98D4
mqtt_host ### mqtt host ###
Info:CMD:UART received:
Info:MAIN:Time 12, idle 0/s, free 106424, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:mqtt_connection_cb: Successfully connected
Info:MQTT:mqtt_subscribed to obl42BF98D4/+/set
Info:MQTT:mqtt_subscribed to bl602s/+/set
Info:MQTT:mqtt_subscribed to cmnd/obl42BF98D4/+
Info:MQTT:mqtt_subscribed to cmnd/bl602s/+
Info:MQTT:mqtt_subscribed to obl42BF98D4/+/get
Info:MQTT:MQTT client in mqtt_incoming_publish_cb topic cmnd/obl42BF98D4/HSBColor1
Info:MQTT:MQTT client in mqtt_incoming_publlish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:CMD:tasCmnd POWER (power) received with args 1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:CMD:tasCmnd POWER (power) received with args 1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:CMD:tasCmnd POWER (power) received with args 1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:Publishing val {"Dimmer":100,"Fade":"OFF","Speed":1,"LedTable":"ON","Color":"255,8,0","HSBColor":"2,100,100","Channel":[100,3,0],"POWER":"ON"} to stat/obl42BF98D4/RESULT retain=0
Error:MQTT:Publish err: ERR_MEM aka -1
Info:MQTT:MQTT will reconnect soon to fix ERR_MEM errors
Info:MQTT:MQTT has pending reconnect in 4
Info:CMD:UART received:
Info:MAIN:Time 15, idle 0/s, free 106160, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:MQTT has pending reconnect in 3
Info:CMD:UART received:
Info:MAIN:Time 16, idle 0/s, free 106160, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:MQTT has pending reconnect in 2
Info:CMD:UART received:
Info:MAIN:Time 17, idle 0/s, free 106160, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:MQTT has pending reconnect in 1
Info:CMD:UART received:
Info:MAIN:Time 18, idle 0/s, free 106160, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:MQTT has pending reconnect in 0
Info:MQTT:MQTT will now do a forced reconnect
Info:CMD:UART received:
Info:MAIN:Time 19, idle 0/s, free 106160, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 20, idle 0/s, free 106160, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:CMD:UART received:
Info:MAIN:Time 21, idle 0/s, free 106160, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/21
Info:MQTT:mqtt_userName IoT_Device
mqtt_pass ### mqtt password ###
mqtt_clientID obl42BF98D4
mqtt_host ### mqtt host ###

CarlKuhligk avatar Feb 16 '24 16:02 CarlKuhligk

We've seen something similiar on BK7231. It was fixed by @valeklubomir with LWIP update. Maybe we need to port changes to BL602... https://github.com/openshwprojects/OpenBK7231T/pull/11/files

openshwprojects avatar Feb 16 '24 18:02 openshwprojects

I would higly appreciate a similar fix. It would make this fantastic project much more usable.

CarlKuhligk avatar Feb 18 '24 12:02 CarlKuhligk

I would also welcome this fix very much. I hope you can implement it soon :D

vizualjack avatar Feb 19 '24 22:02 vizualjack

We have recently added watchdog for BL602 so it should help mitigate potential problems before a final solution is ready.

openshwprojects avatar Apr 05 '24 14:04 openshwprojects