logo elektroda
logo elektroda
X
logo elektroda

RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown

Altirix 2346 176
ADVERTISEMENT
  • ADVERTISEMENT
  • #92 21700271
    divadiow
    Level 36  
    hmm. yes. tricky this one.

    stops here i'm afraid

    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • #94 21700302
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18007127807

    omg

    (unnecessarily long log - AP wasn't ready and it didn't seem to try connecting again after boot)
    Code: Text
    Log in, to see the code



    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown

    Added after 1 [minutes]:

    congrats. gui still dies seconds after connecting, but wifi save/sta is a step.

    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown

    logs don't show anything beyond

    Code: Text
    Log in, to see the code
  • ADVERTISEMENT
  • #96 21700316
    divadiow
    Level 36  
    when gui dies:

    Code: Text
    Log in, to see the code


    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18007843832


    it's back to not saving/AP

    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_bytes H) F ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    D:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda59816EFE0000/ subT cmnd/rda59816EFE0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 3

    ip_table.ip_range[0] = 0x5
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 17, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 18, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 19, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 20, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 22, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 23, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 24, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 25, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 26, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 27, idle 0/s, free 48939, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 28, idle 0/s, free 28459, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/4
    Info:MAIN:Time 29, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Thread create HTTP Client - err
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Info:MAIN:Time 30, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 31, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/4
    Thread create TCP Restart - err
    Info:MAIN:Time 32, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/4

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_bytes H) F ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    D:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda59816EFE0000/ subT cmnd/rda59816EFE0000/+
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:HTTP:TCP server listening
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 3

    ip_table.ip_range[0] = 0x5
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 17, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 18, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 19, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 20, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:HTTP:HTTP_ProcessPacket: generating cfg_wifi_set
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Info:MAIN:Time 21, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 22, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Module reboot in 1...

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_bytes ) F ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Debug:CMD:Adding command Color
    Debug:CMD:Adding command led_basecolor_rgbcw
    Debug:CMD:Adding command add_temperature
    Debug:CD:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda59816EFE0000/ subT cmnd/rda59816EFE0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Info:HTTP:TCP server listening
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 17, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 18, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 19, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Info:MAIN:Time 20, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/4
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [8e:63:6e:fe:79:22] |
    Debug:GEN:+--------------------------------------------+


    safe mode

    Code: Text
    Log in, to see the code
  • #98 21700329
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18008161608


    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown
  • #100 21700340
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18008554600


    RDA5991H boot log with initialization messages and corrupted characters
  • ADVERTISEMENT
  • #102 21700345
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18008810986

    boots. no saving

    Code: Text
    Log in, to see the code
  • #104 21700354
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18009005594

    back to AP
    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_byteOK Lj $----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    D:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda5981F3FF0000/ subT cmnd/rda5981F3FF0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 20, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 22, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 23, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 25, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 26, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 27, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 28, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 29, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Info:MAIN:Time 30, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 31, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 32, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 33, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 34, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 35, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 36, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 37, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 38, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 39, idle 0/s, free 40747, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 40, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 41, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 42, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 43, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 44, idle 0/s, free 32555, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:HTTP:HTTP_ProcessPacket: generating cfg_wifi_set
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Info:MAIN:Time 45, idle 0/s, free 24363, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 46, idle 0/s, free 24363, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 1...

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_byte B2 ) ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Adding command Dimmer
    Debug:CMD:Adding command add_dimmer
    Debug:CMD:Adding command led_enableAll
    Debug:CMD:Adding command leD:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda5981F3FF0000/ subT cmnd/rda5981F3FF0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishChannels
    Info:HTTP:TCP server listening
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 20, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Info:MAIN:Time 21, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 22, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 23, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 25, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 26, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 27, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 28, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 29, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:HTTP:HTTP_ProcessPacket: generating cfg_wifi_set
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Info:MAIN:Time 30, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 31, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 1...

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_byte B3 5    o2 SH  I ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    d led_temperature
    Debug:CMD:Adding command CT
    Debug:CMD:Adding command led_colorMult
    Debug:CMD:Adding command led_saturationD:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda5981F3FF0000/ subT cmnd/rda5981F3FF0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F3FF0000/ subT rda5981F3FF0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Info:HTTP:TCP server listening
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [06:73:f3:ff:79:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
  • #106 21700362
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18009224620

    saves. connects to wifi. status change - 4

    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_byte;/o ' ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    mand add_dimmer
    Debug:CMD:Adding command led_enableAll
    Debug:CMD:Adding command led_basecolor_rgb
    Debug:CMD:Adding command CD:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda59816EFE0000/ subT cmnd/rda59816EFE0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishBenchmark
    Info:HTTP:TCP server listening
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    Info:MAIN:Time 6, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 10, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [9e:63:6e:fe:55:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 20, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [9e:63:6e:fe:55:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 22, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 3

    ip_table.ip_range[0] = 0x5
    Info:MAIN:Time 23, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 25, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 26, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 27, idle 0/s, free 73515, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 28, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 29, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 30, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [9e:63:6e:fe:55:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 31, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:HTTP:HTTP_ProcessPacket: generating cfg_wifi_set
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Info:MAIN:Time 32, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 33, idle 0/s, free 57131, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 1...

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007c000, dsize_in_byte /o ' ----------------maclib task
    OpenRDA5981, version _gcc6
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    mand led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 [test]
    Info:MAIN:Using Pass [1234abcd]
    Debug:MAIN:Started http tcp server
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/set
    Info:HTTP:TCP server listening
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda59816EFE0000/ subT cmnd/rda59816EFE0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda59816EFE0000/ subT rda59816EFE0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Info:MAIN:Time 1, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 5, idle 0/s, free 73627, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Registered for wifi changes
    Info:MAIN:Connecting to SSID [test]
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTING - 1
    Info:MAIN:Main_OnWiFiStatusChange - WIFI_STA_CONNECTED - 4
    Info:MAIN:Time 6, idle 0/s, free 72891, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:MAIN:Time 7, idle 0/s, free 72891, MQTT 0(0), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MQTT:mqtt_host empty, not starting mqtt
    Info:MAIN:Time 8, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 10, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : STA |
    Debug:GEN:|netif rssi = -50 |
    Debug:GEN:|netif ip = 192.168.137.179 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.137.1 |
    Debug:GEN:|netif mac : [9e:63:6e:fe:55:22] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 72891, MQTT 0(1), bWifi 1, secondsWithNoPing -1, socks 2/8


    Connected devices list showing one device with name, IP address, and MAC address
  • #108 21700376
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18009614142


    RDA Boot ROM boot screen showing partition info and hexadecimal data
  • #110 21700397
    divadiow
    Level 36  
    ooh ok. sounds.. better? freetos more familiar I guess..
  • #111 21700412
    insmod
    Level 28  
    But it's hard and practically impossible without having module on hand.
    I'll use ota compression from there though.
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18010964628
    stubbed free heap and disabled heap stats.

    Added after 48 [minutes]:

    With ota and powersave
    Ota shouldn't work, but it might.
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18012236298

    Debug heap: https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18012556678
  • #112 21700633
    divadiow
    Level 36  
    insmod wrote:

    initial boot, client join AP, browser attempt tried - no Gui (as is often the case until another reboot and retry)

    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byte bU: (` b ͉ ȍ Ą)1 ----------------maclib task
    OpenRDA5981, version rda5981_c2f6461efd36
    Entering initLog()...
    Thread create log_serial - err
    create "log_serial" thread failed!
    Commands registered!
    initLog() done!
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Thread create Log_server - err
    startLogServer: create "TCP_server" thread failed!
    Thread create TCP_server - err
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24885
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 3

    ip_table.ip_range[0] = 0x5
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24933
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.3
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 3

    ip_table.ip_range[0] = 0x5
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24957
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24981
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25017
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.3
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 3

    ip_table.ip_range[0] = 0x5
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25053
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25089
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25161
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25269
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25329
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25365
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25437
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25473
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25509
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25545
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25605
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25665
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25737
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25797
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25857
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25977
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26121
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26181
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26277
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26337
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26409
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26421
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26481
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0


    second attempt - no gui (is one expected with debug heap build?)

    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byte bS:  lA bm ȏ Č h----------------maclib task
    OpenRDA5981, version rda5981_c2f6461efd36
    Entering initLog()...
    Thread create log_serial - err
    create "log_serial" thread failed!
    Commands registered!
    initLog() done!
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Thread create Log_server - err
    startLogServer: create "TCP_server" thread failed!
    Thread create TCP_server - err
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18533
    heap_stats.max_size: 19683
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 178
    heap_stats.alloc_fail_cnt: 0
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 3

    ip_table.ip_range[0] = 0x5
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24945
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24957
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24969
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24969
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24969
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 24981
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25005
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25029
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25089
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25113
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25173
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25221
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25269
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25317
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25365
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25425
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25461
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25581
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25677
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25713
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25725
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25725
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25737
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25737
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25737
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25749
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25761
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25797
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 25809
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26001
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26097
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26289
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26373
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26469
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26541
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26601
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26637
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26637
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26637
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26649
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26661
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26661
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26661
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26661
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26673
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26685
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26697
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26721
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26733
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26745
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26757
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26769
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26781
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26793
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26805
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26817
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26829
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26853
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26973
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 26985
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27045
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27105
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27141
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27153
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27177
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27249
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27309
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27393
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27453
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27489
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27513
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27525
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27537
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27549
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27561
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27573
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27585
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0
    mbed_heap_size: 98304
    heap_stats.current_size: 18645
    heap_stats.max_size: 19683
    heap_stats.total_size: 27585
    heap_stats.alloc_cnt: 180
    heap_stats.alloc_fail_cnt: 0


    Added after 11 [minutes]:

    insmod wrote:
    With ota and powersave
    Ota shouldn't work, but it might.
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18012236298


    can't seem to get gui these last couple

    Spoiler:
    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byte EeT1  #A/o Rj O ----------------maclib task
    OpenRDA5981, version rda5981_60fb96707263
    Entering initLog()...
    Thread create log_serial - err
    create "log_serial" thread failed!
    Commands registered!
    initLog() done!
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Thread create Log_server - err
    startLogServer: create "TCP_server" thread failed!
    Thread create TCP_server - err
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byteM c ) ----------------maclib task
    OpenRDA5981, version rda5981_60fb96707263
    Entering initLog()...
    Thread create log_serial - err
    create "log_serial" thread failed!
    Commands registered!
    initLog() done!
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Thread create Log_server - err
    startLogServer: create "TCP_server" thread failed!
    Thread create TCP_server - err
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byteN Hb #I#c ȆSH $ G ----------------maclib task
    OpenRDA5981, version rda5981_60fb96707263
    Entering initLog()...
    Thread create log_serial - err
    create "log_serial" thread failed!
    Commands registered!
    initLog() done!
    Main_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    Thread create Log_server - err
    startLogServer: create "TCP_server" thread failed!
    Thread create TCP_server - err
    set_network_ap,enter

    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3
  • #114 21700881
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18025895541

    Code: Text
    Log in, to see the code
  • #116 21700890
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18028062788

    Code: Text
    Log in, to see the code
  • #118 21700896
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18028229652

    ah ha. gui accessible straight away but then dies quickly

    Spoiler:

    RDA Boot ROM for RDA5991H r550
    Build Time: 15:50:19 - May 10 2017
    RDA Microelectronics Copyright(C) 2004-2017

    Enter Mcu Mode
    count_left=5
    count_left=4
    count_left=3
    count_left=2
    count_left=1
    Ready to boot...
    Partition addr:4010901c
    Find newest partition index:0, total:1, buf_addr:0x00100000, size:0x00000138
    Partition[0] info
    flag:00000001, version:rda5991h
    p_address:00001000, r_address:00001000, psize_in_bytes:0x0007d000, dsize_in_byte j (----------------maclib task
    OpenRDA5981, version rda5981_674bf34fad1c
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding command logdelay
    Info:MAIN:Main_Init_Before_Delay
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    WarnMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    mand add_dimmer
    Debug:CMD:Adding command led_enableAll
    Debug:CMD:Adding command led_basecolor_rgb
    Debug:CMD:Adding command CD:Adding command led_nextColor
    Debug:CMD:Adding command led_lerpSpeed
    Debug:CMD:Adding command HSBColor
    Debug:CMD:Adding command HSBColor1
    Debug:CMD:Adding command HSBColor2
    Debug:CMD:Adding command HSBColor3
    Debug:CMD:Adding command led_finishFullLerp
    Debug:CMD:Adding command led_gammaCtrl
    Debug:CMD:Adding command CTRange
    Debug:CMD:Adding command DimmerDelta
    Debug:CMD:Adding command led_saveInterval
    Debug:CMD:Adding command SPC
    Debug:CMD:Adding command SetChannel
    Debug:CMD:Adding command SetFlash
    Debug:CMD:Adding command SetChannelFloat
    Debug:CMD:Adding command ToggleChannel
    Debug:CMD:Adding command AddChannel
    Debug:CMD:Adding command ClampChannel
    Debug:CMD:Adding command SetPinRole
    Debug:CMD:Adding command SetPinChannel
    Debug:CMD:Adding command GetChannel
    Debug:CMD:Adding command GetReadings
    Debug:CMD:Adding command ShortName
    Debug:CMD:Adding command FriendlyName
    Debug:CMD:Adding command PinDeepSleep
    Debug:CMD:Adding command FullBootTime
    Debug:CMD:Adding command SetChannelLabel
    Debug:CMD:Adding command MapRanges
    Debug:CMD:Adding command Map
    Debug:CMD:Adding command SetChannelVisible
    Debug:CMD:Adding command SetChannelPrivate
    Debug:CMD:Adding command Ch
    Debug:CMD:Adding command AddEventHandler
    Debug:CMD:Adding command AddChangeHandler
    Debug:CMD:Adding command listEventHandlers
    Debug:CMD:Adding command clearAllHandlers
    Debug:CMD:Adding command alias
    Debug:CMD:Adding command echo
    Debug:CMD:Adding command restart
    Debug:CMD:Adding command reboot
    Debug:CMD:Adding command clearConfig
    Debug:CMD:Adding command clearIO
    Debug:CMD:Adding command clearAll
    Debug:CMD:Adding command DeepSleep
    Debug:CMD:Adding command PowerSave
    Debug:CMD:Adding command if
    Debug:CMD:Adding command ota_http
    Debug:CMD:Adding command scheduleHADiscovery
    Debug:CMD:Adding command flags
    Debug:CMD:Adding command SetFlag
    Debug:CMD:Adding command ClearNoPingTime
    Debug:CMD:Adding command SetStartValue
    Debug:CMD:Adding command OpenAP
    Debug:CMD:Adding command DSEdge
    Debug:CMD:Adding command SafeMode
    Debug:CMD:Adding command StartupCommand
    Debug:CMD:Adding command Choice
    Debug:CMD:Adding command PWMFrequency
    Debug:CMD:Adding command IndexRefreshInterval
    Debug:CMD:Adding command startScript
    Debug:CMD:Adding command stopScript
    Debug:CMD:Adding command stopAllScripts
    Debug:CMD:Adding command listScripts
    Debug:CMD:Adding command goto
    Debug:CMD:Adding command delay_s
    Debug:CMD:Adding command delay_ms
    Debug:CMD:Adding command return
    Debug:CMD:Adding command resetSVM
    Debug:CMD:Adding command waitFor
    Debug:CMD:cmd [exec early.bat]
    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 []
    Info:MAIN:Using Pass []
    Debug:MAIN:Started http tcp server
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F9FF0000/ subT rda5981F9FF0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda5981F9FF0000/ subT cmnd/rda5981F9FF0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981F9FF0000/ subT rda5981F9FF0000/+/get
    Info:MQTT:MQTT_RegisterCallback called for bT homeassistant/ subT homeassistant/+
    Debug:CMD:Adding command publish
    Debug:CMD:Adding command publishInt
    Debug:CMD:Adding command publishFloat
    Debug:CMD:Adding command publishAll
    Debug:CMD:Adding command publishChannel
    Debug:CMD:Adding command publishChannels
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishBenchmark
    Info:HTTP:TCP server listening
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    Debug:CMD:Adding command TasTeleInterval
    Debug:CMD:Adding command publishDriver
    Info:CMD:CMD_StartScript: started @startup at the beginning
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:CMD:CMD_StartScript: failed to get file autoexec.bat
    Info:MAIN:Main_Init_After_Delay done
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24677
    heap_stats.max_size: 24677
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 181
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24677
    heap_stats.max_size: 24677
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 181
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24677
    heap_stats.max_size: 24677
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 181
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24677
    heap_stats.max_size: 24677
    heap_stats.total_size: 24677
    heap_stats.alloc_cnt: 181
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24677
    heap_stats.max_size: 24677
    heap_stats.total_size: 24677
    heap_s
    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    tats.alloc_cnt: 181
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [be:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24797
    heap_stats.total_size: 24869
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 24921
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25113
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25137
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25173
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25173
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25197
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25209
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [be:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25305
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25329
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49365
    heap_stats.max_size: 53473
    heap_stats.total_size: 62385
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49365
    heap_stats.max_size: 53473
    heap_stats.total_size: 62421
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 57557
    heap_stats.max_size: 61665
    heap_stats.total_size: 74769
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 65749
    heap_stats.max_size: 69857
    heap_stats.total_size: 87129
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 26, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 73941
    heap_stats.max_size: 78049
    heap_stats.total_size: 99513
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 27, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82133
    heap_stats.max_size: 86241
    heap_stats.total_size: 111873
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 28, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Error:MAIN:Thread create HTTP Client - err
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82133
    heap_stats.max_size: 86241
    heap_stats.total_size: 111921
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 29, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82133
    heap_stats.max_size: 86241
    heap_stats.total_size: 111969
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 30, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [be:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error:MAIN:Thread create HTTP Client - err
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86229
    heap_stats.max_size: 86241
    heap_stats.total_size: 116185
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 31, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86229
    heap_stats.max_size: 86241
    heap_stats.total_size: 116269
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 32, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error:MAIN:Thread create HTTP Client - err
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90325
    heap_stats.max_size: 90337
    heap_stats.total_size: 120461
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 33, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90325
    heap_stats.max_size: 90337
    heap_stats.total_size: 120521
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 34, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error:MAIN:Thread create HTTP Client - err
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124701
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 35, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124737
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 36, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Error:MAIN:Thread create TCP Restart - err
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124737
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 37, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124737
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 38, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124761
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 39, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124773
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 40, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [be:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124797
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 41, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124797
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 42, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124869
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 43, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 124941
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 44, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125001
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 45, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125037
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 46, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125121
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 47, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125205
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 48, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125253
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 49, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125337
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 50, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:GEN:+--------------- net device info ------------+
    Debug:GEN:|netif type : AP |
    Debug:GEN:|netif rssi = -128 |
    Debug:GEN:|netif ip = 192.168.4.1 |
    Debug:GEN:|netif mask = 255.255.255.0 |
    Debug:GEN:|netif gateway = 192.168.4.1 |
    Debug:GEN:|netif mac : [be:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125409
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 51, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8

Topic summary

The discussion revolves around the Broadlink BL3335-P smart bulb, which utilizes the RDA 5981AM chip. The original poster seeks information on the device and its components after peeling off the can to reveal the chip. They mention the bulb likely originated from AliExpress and express interest in moving away from proprietary firmware. Other participants inquire about the availability of a datasheet and suggest methods for obtaining a boot log, including using an Arduino for serial communication. They also note the existence of a similar module available on AliExpress (HLK-M50) and discuss the outdated nature of the available SDKs for the RDA5981AM chip.
Summary generated by the language model.
ADVERTISEMENT