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
  • #122 21700906
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18028486754

    same gui dying quickly experience

    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 Ec 5    nP SH JRj K ----------------maclib task
    OpenRDA5981, version rda5981_480dfcc49e26
    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 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
    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 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 20000, 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 20000, 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 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
    Info:MAIN:Time 8, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, 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
    Info:MAIN:Time 22, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 23, 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
    Info:MAIN:Time 24, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 25, 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
    Info:MAIN:Time 26, 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
    Info:MAIN:Time 27, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 28, 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
    Info:MAIN:Time 29, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Error:MAIN:Thread create TCP_server - err
    Error:HTTP:create "TCP_server" thread failed with 1!
    Info:MAIN:Time 31, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 32, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 33, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 34, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 35, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 36, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 37, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 38, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Info:MAIN:Time 39, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 41, idle 0/s, free 20000, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8


    Added after 1 [minutes]:

    let me know if you want animated gif of browsing to device then me navigating around so you get more of a feel for behaviour. not that there's much to it beyond what I've written
  • #124 21700911
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18028642266

    here's one anyway

    Browser with new tab open on the left, black screen on the right

    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 BZ j $  o2 SH RJC)I ----------------maclib task
    OpenRDA5981, version rda5981_2a29c3ef6905
    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 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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishFloat
    Info:HTTP:TCP server listening
    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
    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 73627, 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 73627, 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 73627, 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 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
    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 5, idle 0/s, free 73627, 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 73515, 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 73515, 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 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 24981
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 73515, 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: 24993
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 25017
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 73515, 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: 25041
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73515, 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: 25041
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73515, 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: 25065
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73515, 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: 25065
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73515, 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: 62133
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 48939, 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: 74469
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 40747, 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: 74493
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 40747, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 65749
    heap_stats.max_size: 69857
    heap_stats.total_size: 86817
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 32555, 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: 111525
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 16171, 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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82133
    heap_stats.max_size: 86241
    heap_stats.total_size: 111525
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 16171, 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: 111633
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 22, idle 0/s, free 16171, 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: 111717
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 23, idle 0/s, free 16171, 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: 86229
    heap_stats.max_size: 86241
    heap_stats.total_size: 115957
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 24, idle 0/s, free 12075, 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: 116017
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 25, idle 0/s, free 12075, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90325
    heap_stats.max_size: 90325
    heap_stats.total_size: 120125
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 26, idle 0/s, free 7979, 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: 90325
    heap_stats.max_size: 90337
    heap_stats.total_size: 120197
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 27, idle 0/s, free 7979, 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: 120245
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 28, idle 0/s, free 7979, 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: 124473
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 29, idle 0/s, free 3883, 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: 124617
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 30, idle 0/s, free 3883, 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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    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: 124677
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 31, idle 0/s, free 3883, 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 32, idle 0/s, free 3883, 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: 124833
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 33, idle 0/s, free 3883, 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 34, idle 0/s, free 3883, 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: 125061
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 35, idle 0/s, free 3883, 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: 125157
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 36, idle 0/s, free 3883, 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: 125193
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 37, idle 0/s, free 3883, 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: 125193
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 38, idle 0/s, free 3883, 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 39, idle 0/s, free 3883, 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: 125217
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 40, idle 0/s, free 3883, 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 : [8a] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 94421
    heap_stats.max_size: 94433
    heap_stats.total_size: 125217
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 41, idle 0/s, free 3883, 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: 125241
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 42, idle 0/s, free 3883, 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: 125277
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 43, idle 0/s, free 3883, 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: 125385
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 44, idle 0/s, free 3883, 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: 125421
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 45, idle 0/s, free 3883, 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: 125433
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 46, idle 0/s, free 3883, 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: 125433
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 47, idle 0/s, free 3883, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8


    Added after 1 [minutes]:

    revising post. that's only half the gif for some reason

    Added after 5 [minutes]:

    fixed
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #126 21700921
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18028865409

    damn, died

    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:0x0007e000, dsize_in_bytes H) F ----------------maclib task
    OpenRDA5981, version rda5981_7ac63f5d9c82
    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
    add_dimmer
    Debug:CMD:Adding command led_enableAll
    Debug:CMD:Adding command led_basecolor_rgb
    Debug:CMD:Adding command ColorD: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
    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
    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 73627, 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 73627, 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 73627, 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 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
    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 5, idle 0/s, free 73627, 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 73515, 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 73515, 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 73515, 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 73515, 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 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 : [aa:b9:f9:ff:39: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 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 24789
    heap_stats.max_size: 24805
    heap_stats.total_size: 24897
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73515, 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: 24969
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73515, 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: 24981
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73515, 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: 24993
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73515, 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: 24993
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 73515, 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: 25017
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 73515, 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: 25017
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 73515, 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: 25017
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 73515, 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: 25029
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    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 : [aa:b9:f9:ff:39:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 32981
    heap_stats.max_size: 37089
    heap_stats.total_size: 37413
    heap_stats.alloc_cnt: 184
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 65323, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 32981
    heap_stats.max_size: 37089
    heap_stats.total_size: 37425
    heap_stats.alloc_cnt: 184
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 65323, 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: 62157
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 48939, 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: 74493
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 40747, 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: 86853
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 32555, 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: 99201
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 26, idle 0/s, free 24363, 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: 111633
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 27, idle 0/s, free 16171, 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: 111633
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 28, idle 0/s, free 16171, 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: 86229
    heap_stats.max_size: 86241
    heap_stats.total_size: 115789
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 29, idle 0/s, free 12075, 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: 115837
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 30, idle 0/s, free 12075, 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 : [aa:b9:f9:ff:39: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: 90325
    heap_stats.max_size: 90337
    heap_stats.total_size: 120041
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 31, idle 0/s, free 7979, 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: 120101
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 32, idle 0/s, free 7979, 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: 124293
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 33, idle 0/s, free 3883, 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: 124305
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 34, idle 0/s, free 3883, 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: 124305
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 35, idle 0/s, free 3883, 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: 124305
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 5
    Info:MAIN:Time 36, idle 0/s, free 3883, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #128 21700928
    divadiow
    Level 36  
    insmod wrote:
    Just to check

    dies

    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 bW: oA a ̅ Ċ$ j----------------maclib task
    OpenRDA5981, version dev_20250926_084233
    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 rda5981CDFF0000/ subT rda5981CDFF0000/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT obks/ subT obks/+/set
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/rda5981CDFF0000/ subT cmnd/rda5981CDFF0000/+
    Info:MQTT:MQTT_RegisterCallback called for bT cmnd/obks/ subT cmnd/obks/+
    Info:MQTT:MQTT_RegisterCallback called for bT rda5981CDFF0000/ subT rda5981CDFF0000/+/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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_c
    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    nt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 98304, 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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 98304, 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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 98304, 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 : [5a:cc:cd:ff:bb:22] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 98304, 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 : [5a:cc:cd:ff:bb:22] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 26, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 27, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 28, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 29, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 30, idle 0/s, free 98304, 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 : [5a:cc:cd:ff:bb:22] |
    Debug:GEN:+--------------------------------------------+
    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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 31, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 32, idle 0/s, free 98304, 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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 33, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 34, idle 0/s, free 98304, 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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 35, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 36, idle 0/s, free 98304, 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: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 37, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 38, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Error:MAIN:Thread create TCP_server - err
    Error:HTTP:create "TCP_server" thread failed with 1!
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 39, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 40, idle 0/s, free 98304, 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 : [5a:cc:cd:ff:bb:22] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 41, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 42, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 43, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 44, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 45, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 46, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 47, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 48, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 49, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 50, idle 0/s, free 98304, 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 : [5a:cc:cd:ff:bb:22] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 51, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 0
    heap_stats.max_size: 0
    heap_stats.total_size: 0
    heap_stats.alloc_cnt: 0
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 52, idle 0/s, free 98304, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #130 21700938
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18029278729

    dies

    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:0x00076000, dsize_in_byte 1  / M/c SH^J E G ----------------maclib task
    OpenRDA5981, version rda5981_c1cca7d5b478
    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
    ing command Sensor
    Debug:CMD:Adding command Status
    Debug:CMD:Adding command Result
    Debug:CMD:Adding command Json
    Debug:CMD: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 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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishAll
    Info:HTTP:TCP server listening
    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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 73175, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [86:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25409
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25445
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25505
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50225
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50249
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49817
    heap_stats.max_size: 53925
    heap_stats.total_size: 62585
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 48487, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 58009
    heap_stats.max_size: 62117
    heap_stats.total_size: 74921
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 40295, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87257
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 32103, 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 : [86:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 111989
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 111989
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 15719, 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: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112073
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 23, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112133
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 24, idle 0/s, free 15719, 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: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116361
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 25, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116409
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 26, idle 0/s, free 11623, 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: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120601
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 27, idle 0/s, free 7527, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120649
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 28, idle 0/s, free 7527, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Error:MAIN:Thread create TCP_server - err
    Error:HTTP:create "TCP_server" thread failed with 1!
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122757
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 29, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122829
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 30, idle 0/s, free 5479, 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 : [86:b9:f9:ff:81:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122877
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 31, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122901
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 32, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122961
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 33, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122997
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 34, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123033
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 35, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123069
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 36, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123117
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 37, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123165
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 38, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #132 21700950
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18029551832

    dies
    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:0x00076000, dsize_in_byte bVJb (----------------maclib task
    OpenRDA5981, version rda5981_d56aa03a6733
    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
    Warnmmand addRepeatingEvent
    Debug:CMD:Adding command addRepeatingEventID
    Debug:CMD:Adding command addRepeatingEventUID
    Debug:CMDMain_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 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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishFloat
    Info:HTTP:TCP server listening
    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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    free_calls: 0
    free_on_null: 0
    Info:MAIN:Time 1, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    free_calls: 0
    free_on_null: 0
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    free_calls: 0
    free_on_null: 0
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    free_calls: 0
    free_on_null: 0
    Info:MAIN:Time 4, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_s
    mark ip 1

    ip_table.ip_range[0] = 0x1

    mark ip 1

    ip_table.ip_range[0] = 0x1
    tats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    free_calls: 0
    free_on_null: 0
    Info:MAIN:Time 5, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 6
    free_on_null: 0
    Info:MAIN:Time 6, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 6
    free_on_null: 0
    Info:MAIN:Time 7, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25361
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 9
    free_on_null: 0
    Info:MAIN:Time 8, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25409
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 13
    free_on_null: 0
    Info:MAIN:Time 9, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25433
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 15
    free_on_null: 0
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [a2] |
    Debug:GEN:+--------------------------------------------+
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.2
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25457
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 17
    free_on_null: 0
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.2
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 18
    free_on_null: 0
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25529
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    free_calls: 23
    free_on_null: 0
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37961
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    free_calls: 37
    free_on_null: 0
    Info:MAIN:Time 14, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37985
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    free_calls: 39
    free_on_null: 0
    Info:MAIN:Time 15, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37997
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    free_calls: 40
    free_on_null: 0
    Info:MAIN:Time 16, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 38009
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    free_calls: 41
    free_on_null: 0
    Info:MAIN:Time 17, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 38009
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    free_calls: 41
    free_on_null: 0
    Info:MAIN:Time 18, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49817
    heap_stats.max_size: 53925
    heap_stats.total_size: 62729
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    free_calls: 57
    free_on_null: 0
    Info:MAIN:Time 19, idle 0/s, free 48487, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 58009
    heap_stats.max_size: 62117
    heap_stats.total_size: 75065
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    free_calls: 63
    free_on_null: 0
    Info:MAIN:Time 20, idle 0/s, free 40295, 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 : [a2] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87425
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    free_calls: 71
    free_on_null: 0
    Info:MAIN:Time 21, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 74393
    heap_stats.max_size: 78501
    heap_stats.total_size: 99773
    heap_stats.alloc_cnt: 191
    heap_stats.alloc_fail_cnt: 0
    free_calls: 78
    free_on_null: 0
    Info:MAIN:Time 22, idle 0/s, free 23911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112121
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    free_calls: 85
    free_on_null: 0
    Info:MAIN:Time 23, idle 0/s, free 15719, 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: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112169
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    free_calls: 89
    free_on_null: 0
    Info:MAIN:Time 24, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112253
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    free_calls: 96
    free_on_null: 0
    Info:MAIN:Time 25, idle 0/s, free 15719, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116409
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 1
    free_calls: 101
    free_on_null: 0
    Info:MAIN:Time 26, idle 0/s, free 11623, 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: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116577
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    free_calls: 115
    free_on_null: 0
    Info:MAIN:Time 27, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116613
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    free_calls: 118
    free_on_null: 0
    Info:MAIN:Time 28, idle 0/s, free 11623, 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: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120781
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    free_calls: 124
    free_on_null: 0
    Info:MAIN:Time 29, idle 0/s, free 7527, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120817
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    free_calls: 127
    free_on_null: 0
    Info:MAIN:Time 30, idle 0/s, free 7527, 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 : [a2] |
    Debug:GEN:+--------------------------------------------+
    Error:MAIN:Thread create TCP_server - err
    Error:HTTP:create "TCP_server" thread failed with 1!
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122937
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    free_calls: 133
    free_on_null: 0
    Info:MAIN:Time 31, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123033
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    free_calls: 141
    free_on_null: 0
    Info:MAIN:Time 32, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123165
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    free_calls: 152
    free_on_null: 0
    Info:MAIN:Time 33, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8


    Added after 14 [minutes]:

    would more stats show anything interesting?

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


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

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

    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:0x00076000, dsize_in_byte CJL  M,jm
    Ď ʈ b----------------maclib task
    OpenRDA5981, version rda5981_895f872b499d
    Entering initLog()...
    Thread stack at 0x183608 2048
    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
    Thread stack at 0x185988 2048
    nd setChannelType
    Debug:CMD:Adding command showChannelValues
    Debug:CMD:Adding command setButtonTimes
    Debug:CMD:Adding commanThread stack at 0x186198 2048
    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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:cmd [startScript autoexec.bat]
    Info:HTTP:TCP server listening
    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: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 73175, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 73063, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25457
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [0a:62:6e:fe:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25481
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25481
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25505
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1870c8 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37877
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37877
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18a0f8 8192
    Thread stack at 0x18c108 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49817
    heap_stats.max_size: 53925
    heap_stats.total_size: 62597
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 48487, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18e118 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 58009
    heap_stats.max_size: 62117
    heap_stats.total_size: 75017
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 40295, 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 : [0a:62:6e:fe:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Thread stack at 0x190128 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87449
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x192138 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 74393
    heap_stats.max_size: 78501
    heap_stats.total_size: 99881
    heap_stats.alloc_cnt: 191
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 23911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 74393
    heap_stats.max_size: 78501
    heap_stats.total_size: 99881
    heap_stats.alloc_cnt: 191
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 23911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x194148 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112277
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112277
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Error allocating the stack memoryError:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112361
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 26, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112409
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 27, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread stack at 0x1898e8 2048
    Thread stack at 0x1890d8 2048
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error allocating the stack memoryError:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116613
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 28, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116673
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 29, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread stack at 0x196158 2048
    Thread stack at 0x196968 2048
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error allocating the stack memoryError:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120817
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 30, idle 0/s, free 7527, 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 : [0a:62:6e:fe:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 120853
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 31, idle 0/s, free 7527, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread stack at 0x197178 2048
    Error allocating the stack memoryError:HTTP:create "TCP_server" thread failed with 1!
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122961
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 32, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 122985
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 33, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123021
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 34, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123057
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 35, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123057
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 36, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123105
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 37, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123177
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 38, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123225
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 39, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123285
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 40, idle 0/s, free 5479, 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 : [0a:62:6e:fe:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123345
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 41, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123405
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 42, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123441
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 43, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123489
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 44, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123489
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 45, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123489
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 46, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123489
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 47, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #140 21701038
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18031003805

    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:0x00076000, dsize_in_byte Ī b (+A#c VH G ----------------maclib task
    OpenRDA5981, version rda5981_6f97520d6a68
    Entering initLog()...
    Thread stack at 0x183608 2048
    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
    Thread stack at 0x185988 2048
    Thread stack at 0x186198 2048
    Debug:CMD:Adding command led_basecolor_rgb
    Debug:CMD:Adding command Color
    Debug:CMD:Adding command led_basecolor_rgbcw
    DebugD: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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command TasTeleInterval
    Info:HTTP:TCP server listening
    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: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 73175, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25361
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25409
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [2e:73:f3:ff:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25445
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25457
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25457
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25469
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25481
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25505
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 73063, 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 : [2e:73:f3:ff:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25505
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25529
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25553
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25565
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25565
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25589
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 26, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1870c8 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Thread stack at 0x18a0f8 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50309
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 27, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18c108 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 49817
    heap_stats.max_size: 53925
    heap_stats.total_size: 62633
    heap_stats.alloc_cnt: 188
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 28, idle 0/s, free 48487, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18e118 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 58009
    heap_stats.max_size: 62117
    heap_stats.total_size: 75041
    heap_stats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 29, idle 0/s, free 40295, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x190128 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87533
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 30, idle 0/s, free 32103, 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 : [2e:73:f3:ff:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87533
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 31, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 70309
    heap_stats.total_size: 87533
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 32, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x192138 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Thread stack at 0x194148 8192
    Debug:HTTP:Pre set thread to NULL
    Debug:HTTP:Set thread to NULL
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112253
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 33, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Error allocating the stack memoryDebug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112277
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 34, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Error:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 82585
    heap_stats.max_size: 86693
    heap_stats.total_size: 112397
    heap_stats.alloc_cnt: 192
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 35, idle 0/s, free 15719, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread stack at 0x1898e8 2048
    Thread stack at 0x1890d8 2048
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116613
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 1
    Info:MAIN:Time 36, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Error allocating the stack memoryError:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116757
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 37, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 86681
    heap_stats.max_size: 86693
    heap_stats.total_size: 116853
    heap_stats.alloc_cnt: 194
    heap_stats.alloc_fail_cnt: 2
    Info:MAIN:Time 38, idle 0/s, free 11623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread stack at 0x196158 2048
    Thread stack at 0x196968 2048
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Error allocating the stack memoryError:HTTP:[sock=2]: TCP Client thread creation failed!
    Error:HTTP:TCP Server Error
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 121009
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 39, idle 0/s, free 7527, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 90777
    heap_stats.max_size: 90789
    heap_stats.total_size: 121009
    heap_stats.alloc_cnt: 196
    heap_stats.alloc_fail_cnt: 3
    Info:MAIN:Time 40, idle 0/s, free 7527, 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 : [2e:73:f3:ff:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Thread stack at 0x197178 2048
    Error allocating the stack memoryError:HTTP:create "TCP_server" thread failed with 1!
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92825
    heap_stats.total_size: 123057
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 41, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123069
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 42, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123081
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 43, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123129
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 44, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123201
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 45, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123249
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 46, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123261
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 47, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123261
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 48, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123273
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 49, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123273
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 50, idle 0/s, free 5479, 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 : [2e:73:f3:ff:ed:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123273
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 51, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123273
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 52, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 92825
    heap_stats.max_size: 92837
    heap_stats.total_size: 123273
    heap_stats.alloc_cnt: 197
    heap_stats.alloc_fail_cnt: 4
    Info:MAIN:Time 53, idle 0/s, free 5479, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #142 21701047
    divadiow
    Level 36  
    ooh ok. still dies at the mo

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


    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:0x00076000, dsize_in_byte KRJ
    )( #A#  ; ----------------maclib task
    OpenRDA5981, version rda5981_06f1aa562ecd
    Entering initLog()...
    Thread stack at 0x183608 2048
    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
    Thread stack at 0x185988 2048
    Thread stack at 0x186198 2048
    Debug:CMD:Adding command led_basecolor_rgb
    Debug:CMD:Adding command Color
    Debug:CMD:Adding command led_basecolor_rgbcw
    DebugD: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
    Debug:CMD:Adding command publishBenchmark
    Debug:CMD:Adding command mqtt_broadcastInterval
    Debug:CMD:Adding command mqtt_broadcastItemsPerSec
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command TasTeleInterval
    Info:HTTP:TCP server listening
    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: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 1, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 4, idle 0/s, free 73175, 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
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25129
    heap_stats.max_size: 25129
    heap_stats.total_size: 25129
    heap_stats.alloc_cnt: 183
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 5, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 6, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 7, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 8, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 9, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25249
    heap_stats.total_size: 25321
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 15, idle 0/s, free 73063, 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: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25397
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 16, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25421
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 17, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25433
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 18, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.2
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25481
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 19, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 20, idle 0/s, free 73063, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 21, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 22, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25493
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 23, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25505
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 24, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25517
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 25, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25517
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 26, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 25241
    heap_stats.max_size: 25257
    heap_stats.total_size: 25541
    heap_stats.alloc_cnt: 185
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 27, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1870c8 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 33433
    heap_stats.max_size: 37541
    heap_stats.total_size: 37949
    heap_stats.alloc_cnt: 186
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 28, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18a0f8 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50381
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 29, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50393
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 30, idle 0/s, free 56679, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50393
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 31, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50405
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 32, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50405
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 33, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 41625
    heap_stats.max_size: 45733
    heap_stats.total_size: 50405
    heap_stats.alloc_cnt: 187
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 34, idle 0/s, free 56679, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x18c108 8192
    Thread stack at 0x18e118 8192
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 58009
    heap_stats.max_size: 62117
    heap_stats.total_size: 75137
    heap_sThread stack at 0x190128 8192
    tats.alloc_cnt: 189
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 35, idle 0/s, free 40295, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    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: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 95761
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 36, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 95809
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 37, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Thread create TCP Restart - err
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 97905
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 38, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 97917
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 39, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 97941
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 40, idle 0/s, free 32103, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 97977
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 41, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98025
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 42, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98061
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 43, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98073
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 44, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98121
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 45, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98181
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 46, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98193
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 47, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98193
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 48, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98193
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 49, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98205
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 50, idle 0/s, free 32103, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98229
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 51, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98253
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 52, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98253
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 53, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98253
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 54, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98265
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 55, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98313
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 56, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98397
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 57, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98493
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 58, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98565
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 59, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98577
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 60, idle 0/s, free 32103, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98625
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 61, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98697
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 62, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98793
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 63, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98901
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 64, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 98985
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 65, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99045
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 66, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99153
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 67, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99249
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 68, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99273
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 69, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99273
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 70, idle 0/s, free 32103, 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 : [82:b9:f9:ff:dd:23] |
    Debug:GEN:+--------------------------------------------+
    Debug:MAIN:mbed_heap_size: 98304
    heap_stats.current_size: 66201
    heap_stats.max_size: 74393
    heap_stats.total_size: 99273
    heap_stats.alloc_cnt: 190
    heap_stats.alloc_fail_cnt: 0
    Info:MAIN:Time 71, idle 0/s, free 32103, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 1/8
  • #144 21701065
    divadiow
    Level 36  
    insmod wrote:
    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18031455230

    🎈🎈NOT DYING🎈🎈
    the longest I've been able to navigate around by far. lots of stack freeing in log

    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:0x00076000, dsize_in_byte b $ / / Ȅ ^J G ----------------maclib task
    OpenRDA5981, version rda5981_d68163241fd0
    Entering initLog()...
    Thread stack at 0x183608 2048
    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
    Thread stack at 0x185988 2048
    Thread stack at 0x186198 2048
    ing command Sensor
    Debug:CMD:Adding command Status
    Debug:CMD:Adding command Result
    Debug:CMD:Adding command Json
    Debug:CMD: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
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Debug:CMD:Adding command publishAll
    Info:HTTP:TCP server listening
    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 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 4, idle 0/s, free 73175, 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 73175, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 6, idle 0/s, free 73063, 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 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 73063, 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 10, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.2
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    stamac=38:7a:0e:e3:6b:7e,ip=192.168.4.2
    staconflag=1
    option_start=msg_type,staconflag=1

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Info:MAIN:Time 15, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 20, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Thread stack at 0x1870c8 8192
    Freeing stack at 0x1870c8 8192
    Info:MAIN:Time 22, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 23, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 25, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 26, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 27, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 28, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Info:MAIN:Time 29, idle 0/s, free 64871, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 30, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 31, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 32, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 33, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 34, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 35, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 36, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 37, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 38, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 39, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 40, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 41, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 42, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 43, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 44, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 45, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 46, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 47, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 48, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 49, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 50, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 51, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 52, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 53, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 54, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 55, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 56, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 57, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 58, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 59, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 60, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 61, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 62, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 63, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 64, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 65, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/logconfig
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/pins
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/channelTypes
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/info
    Info:MAIN:Time 66, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 67, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 68, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 69, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 70, idle 0/s, free 73063, 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 : [36] |
    Debug:GEN:+--------------------------------------------+
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/logconfig
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/pins
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/channelTypes
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Debug:API:GET of api/info
    Info:MAIN:Time 71, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 72, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192
    Info:MAIN:Time 73, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Thread stack at 0x1880e8 8192
    Freeing stack at 0x1880e8 8192


    Added after 3 [minutes]:


    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown
  • Helpful post
    #145 21701075
    insmod
    Level 28  
    Now onto some tests.
    Current drivers - tuyamcu, dht and aht2x.
    UART pins
    
    #define UART0_RX	PA_0
    #define UART0_TX	PA_1
    #define UART1_RX	PB_1
    #define UART1_TX	PB_2
    #define UART1_1_RX	PD_2
    #define UART1_1_TX	PD_3
    #define UART1_1_RTS	PD_1
    #define UART1_1_CTS	PD_0
    

    So UART0 is A0/IO26 and A1/IO27
    UART_1_1 is used only when hw flow control is enabled - not for tuya.

    Added after 8 [minutes]:

    https://github.com/NonPIayerCharacter/OpenBK7231T_App/actions/runs/18031832306
  • #146 21701753
    divadiow
    Level 36  
    AP mode. OK. this is boot, set DHT11 on IO3 and save
    Spoiler:
    Info:MAIN:Time 10, idle 0/s, free 73063, 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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 13, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 16, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 19, idle 0/s, free 73063, 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 20, idle 0/s, free 73063, 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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 22, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 23, idle 0/s, free 73063, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 25, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 26, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 27, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 28, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 29, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 30, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 31, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 32, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 33, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 34, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 35, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 36, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 37, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 38, idle 0/s, free 60775, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Info:MAIN:Time 39, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:SENSOR:DHT start, pin is 3
    Info:MQTT:Channel has changed! Publishing 212 to channel 1
    Info:MQTT:Channel has changed! Publishing 75 to channel 2
    Info:MAIN:Time 40, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 41, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 42, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:SENSOR:DHT start, pin is 3
    Info:MQTT:Channel has changed! Publishing 215 to channel 1
    Info:MQTT:Channel has changed! Publishing 73 to channel 2
    Info:MAIN:Time 43, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 44, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 45, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 46, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 47, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 48, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:SENSOR:DHT checksum failure!
    Info:MAIN:Time 49, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 50, idle 0/s, free 72911, 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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 51, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:SENSOR:DHT checksum failure!
    Info:MAIN:Time 52, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8


    boot back into AP with saved DHT11 config. join wifi. reboot will take it straight into safe mode

    Spoiler:
    Info:MAIN:Time 101, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 102, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:SENSOR:DHT timeout waiting for pulse.
    Info:MAIN:Time 103, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 104, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 105, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Module reboot in 1...
    Info:SENSOR:DHT start, pin is 3
    Info:SENSOR:DHT timeout waiting for pulse.

    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:0x00076000, dsize_in_byte9 ! n ! )H* ----------------maclib task
    OpenRDA5981, version rda5981_dbf97cc431be
    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
    and led_temperature
    Debug:CMD:Adding command CT
    Debug:CMD:Adding command led_colorMult
    Debug:CMD:Adding command led_saturatiD: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
    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]
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    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 73023, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 2, idle 0/s, free 73023, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 3, idle 0/s, free 73023, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:MQTT:Channel has changed! Publishing 214 to channel 1
    Info:MQTT:Channel has changed! Publishing 70 to channel 2
    Info:MAIN:Time 4, idle 0/s, free 73023, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    set_network_ap,enter
    Info:MAIN:Time 5, idle 0/s, free 73023, 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 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Boot complete time reached (5 seconds)
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 7, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 8, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 9, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 10, idle 0/s, free 72911, 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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 11, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 12, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    stamac=38:7a:0e:e3:6b:7e,ip=0.0.0.0

    mark ip 2

    ip_table.ip_range[0] = 0x3
    Info:MAIN:Time 13, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 14, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 15, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 16, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 17, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 18, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 19, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 20, idle 0/s, free 72911, 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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Time 21, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 22, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 23, idle 0/s, free 72911, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:Time 24, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 25, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 26, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Time 27, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:SENSOR:DHT start, pin is 3
    Info:MAIN:Time 28, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/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 29, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/8
    Info:MAIN:Module reboot in 2...
    Info:MAIN:Time 30, idle 0/s, free 60623, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 3/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 : [86] |
    Debug:GEN:+--------------------------------------------+
    Info:MAIN:Module reboot in 1...
    Info:SENSOR:DHT start, pin is 3

    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:0x00076000, dsize_in_byte9,
     ----------------maclib task
    OpenRDA5981, version rda5981_dbf97cc431be
    Entering initLog()...
    Commands registered!
    initLog() done!
    Debug:CMD:Adding command loglevel
    Debug:CMD:Adding command logfeature
    Debug:CMD:Adding command logtype
    Debug:CMD:Adding commMain_Init_Before_Delay done
    Main_Init_Delay
    Main_Init_Delay done
    and logdelay
    Info:MAIN:Main_Init_Before_Delay
    Info:MAIN:###### safe mode activated - boot failures 5
    Debug:CFG:CFG_CalcChecksum: header size 4, total size 3584, rem size 3580
    Warn:CFG:CFG_InitAndLoad: Correct config has been loaded with 3 changes count.
    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:###### safe mode activated - boot failures 5
    Info:MAIN:Using SSID [test]
    Info:MAIN:Using Pass [1234abcd]
    Debug:MAIN:Started http tcp server
    Info:MAIN:Main_Init_After_Delay done
    ExtraDebug:HTTP:Socket bound on 0.0.0.0:80
    Info:HTTP:TCP server listening
    Info:MAIN:[SAFE] Time 1, idle 0/s, free 78430, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:[SAFE] Time 2, idle 0/s, free 78430, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:[SAFE] Time 3, idle 0/s, free 78430, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8
    Info:MAIN:[SAFE] Time 4, idle 0/s, free 78430, MQTT 0(0), bWifi 0, secondsWithNoPing -1, socks 2/8


    wipe. new flash. set btn is fine - no safe mode on reboot.

    set irrecv and then safe mode on reboot. anything with a driver it seems puts it into safe mode

    Added after 12 [minutes]:

    hmm. I thought AHT2x was going ok, but it does go into safe mode too. if you exit safe mode and restart it will just go back into safe mode


    Screenshot of OpenRDA5981 configuration panel in safe mode with reboot errors
  • #147 21702147
    insmod
    Level 28  
    Does exiting safe mode (or configuring pins) without reboot and using startdriver works?
    And does ota work? It uses the same binary as uart
  • #148 21703084
    divadiow
    Level 36  
    OK. exit safe mode, no reboot, AHT20 connected as IO3/SCL and IO13/SDA

    Code: Text
    Log in, to see the code


    no readings
    Web interface of RDA5981 module showing device status and control buttons

    please enable i2c driver

    Added after 2 [minutes]:



    renamed bin to .img
    Code: Text
    Log in, to see the code


    OTA update interface with selected firmware file and chipset information

    Added after 7 [minutes]:

    oh. I'm a build behind.

    Added after 4 [minutes]:

    no change to the above with latest
  • Helpful post
    #150 21703115
    divadiow
    Level 36  
    MQTT
    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown
    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown
    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown
    actions in OBK or HA are reflected in the other.

    Added after 4 [minutes]:

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

    Code: Text
    Log in, to see the code


    Added after 1 [hours] 2 [minutes]:

    insmod wrote:
    So UART0 is A0/IO26 and A1/IO27
    UART_1_1 is used only when hw flow control is enabled - not for tuya.


    TuyaMCU comms rx and tx seem OK - IO26/IO27
    RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown

    not seeing valid heartbeat in TMDA or OBK though.

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

    Added after 4 [minutes]:

    DHT11 ❌
    DHT22 ❌

    Code: Text
    Log in, to see the code


    Added after 1 [hours] 21 [minutes]:

    PWM seems to be OK. Dimmer works, colour picker works, warm/cold slider. LED dr in web app works.

    Code: JSON
    Log in, to see the code


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

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