@edukinara: here you go.
I was just looking at it but didn’t see anything critical.
$ ./build.sh apps/esp8266/switch_example monitor
Toolchain path: /opt/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-100-ge567ec7b
Expected to see version: crosstool-ng-1.22.0-92-g8facf4c
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Compiler version: 5.2.0
MONITOR
--- idf_monitor on COM4 74880 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 6544, room 16
0x40100000: _stext at ??:?
tail 0
chksum 0xb7
load 0x3ffe8408, len 24, room 8
tail 0
chksum 0x3e
load 0x3ffe8420, len 2832, room 8
tail 8
chksum 0x01
I (292) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (302) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (472) phy_init: phy ver: 1055_12
I (472) reset_reason: RTC reset 2 wakeup 0 store 0, reason is 2
I (472) [IoT]: _iot_bsp_fs_encryption(98) > 'nvs' is encrypted
I (492) [IoT]: _dump_device_info(638) > firmware_version: f1
I (492) [IoT]: iot_bsp_wifi_init(156) > [esp8266] iot_bsp_wifi_init
I (512) [IoT]: iot_bsp_wifi_init(194) > [esp8266] iot_bsp_wifi_init done
I (522) [IoT]: st_conn_init(1312) > stdk_version : 1.3.6
I (522) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:0
I (532) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (552) gpio: GPIO[14]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (562) gpio: GPIO[12]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (582) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (2592) [IoT]: st_conn_start(1757) > st_conn_start start (no-pin)
I (2592) [IoT]: _do_iot_main_command(412) > curr_main_cmd:9, curr_main_state:-1/-1
I (2602) [IoT]: _do_update_timeout(158) > Current timeout : 100000 for 0
I (2612) [IoT]: _do_status_report(262) > Call usr status_cb with 1/0
status: 1, stat: 0
I (2622) [IoT]: _do_iot_main_command(412) > curr_main_cmd:2, curr_main_state:-1/0
W (2632) [IoT]: iot_bsp_fs_read(297) > not found 'WifiProvStatus'
W (2642) [IoT]: iot_security_storage_read(141) > id:1 not found
W (2652) [IoT]: _do_iot_main_command(529) > There are no prov data in NV
W (2672) [IoT]: iot_security_storage_remove(211) > id:10 not found
I (2682) [IoT]: _do_cmd_tout_check(913) > New state updated for 0
I (2692) [IoT]: _do_iot_main_command(412) > curr_main_cmd:9, curr_main_state:0/0
I (2702) [IoT]: iot_bsp_wifi_set_mode(212) > iot_bsp_wifi_set_mode = 1
I (2712) [IoT]: iot_bsp_wifi_set_mode(243) > WiFi Station Started
I (5132) [IoT]: event_handler(145) > event_handler = 1
I (5222) [IoT]: iot_easysetup_create_ssid(100) > >> ESP8266JustWo[SyXX] <<
I (5222) [IoT]: _do_update_timeout(158) > Current timeout : 300000 for 1
I (5232) [IoT]: _do_iot_main_command(412) > curr_main_cmd:1, curr_main_state:0/1
I (5242) [IoT]: iot_bsp_wifi_set_mode(212) > iot_bsp_wifi_set_mode = 3
I (5262) [IoT]: event_handler(121) > SYSTEM_EVENT_AP_START
I (5272) [IoT]: event_handler(126) > SYSTEM_EVENT_AP_STOP
I (5272) [IoT]: event_handler(121) > SYSTEM_EVENT_AP_START
I (5272) [IoT]: iot_bsp_wifi_set_mode(360) > AP Mode Started
I (5282) [IoT]: iot_easysetup_init(426) > IOT_STATE_PROV_ES_START
I (5292) [IoT]: es_http_init(264) > http tcp init!!
I (5302) [IoT]: iot_easysetup_init(446) > IOT_STATE_PROV_ES_INIT_DONE
I (5312) [IoT]: _do_cmd_tout_check(913) > New state updated for 1
I (5322) [IoT]: _do_status_report(262) > Call usr status_cb with 2/1
status: 2, stat: 1
here are some parts from adb that I was able to corelate to this device:
Is following expected?
getCapiEncryptedKey - response body is empty
log:
08-25 11:08:11.247 16706 16706 E [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]GetCapiEncryptedKeyState.getCapiEncryptedKey - response body is empty
08-25 11:08:11.248 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]BaseStateMachine.showError - errorCode:81-001-MBL
08-25 11:08:11.248 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.onEvent - eventType : EVENT_DIALOG_ON_DISMISS , CONNECTING_PAGE
08-25 11:08:11.248 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.onCommonEvent - eventType : EVENT_DIALOG_ON_DISMISS
08-25 11:08:11.249 16706 16706 W [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]EasySetupProgressCircle.runProgressAnimation - start from 34
08-25 11:08:11.250 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: NetUtil.setFmcEnabled - SEP not supported
08-25 11:08:11.250 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]WifiHelper.connect -
08-25 11:08:11.251 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]WifiHelper.checkWifiConnected - isWifiConnected: true, check ssid: ($)-c(5), currentNetwork: ($)-c(5)
08-25 11:08:11.256 15825 15849 I [-8]oneconnect[1.7.51.42_01][CORE]: CloudLogger.send - log = {"apconnected":{"connectedfreq":5745,"connectedssid":"($)-c(5)"},"apdual":{"isconnecteddual":false,"issupport5g":false},"aphomeap":{"auth":"","capabilities":"","enc":"","freq":0,"hidden":"","pwexists":"","ssid":"UNKNOWN"},"aprssi":{"devicehomerssi":"0","mobilehomerssi":"-61","softaprssi":-60},"apwifiselect":{"devcnt":0,"devtimeout":false,"scancnt":0,"state":"AUTO"},"bintype":"user","bondingresult":"","btfwver":"BCM4375B1 Davinci 1RH JPN Ant0 [Version: 0141.0271]","connectedothercount":0,"ctry":"US","currsession":"","currtime":"2020-08-25 11:08:11","d2dping":-1,"dnstime":204,"dumpfileid":"","dumpfilepath":"","elapdiscovery":0,"elaptime":30310,"entry":"MANUAL_ADD","errcode":"81-001-MBL","errcodeMain":"81","errcodeSub":"001","esconntype":"WIFI","eslog":"08-25 11:07:49.597 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.startDiscovery - scantype:_WIFI_FULL_MANUAL_SETUP, flush:true\n08-25 11:07:49.613 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.startDiscovery - type:[SamsungStandard_E4], timeout:300000, includeCloud:false, excludeL3:true\n08-25 11:07:49.613 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.startDiscovery - skip, previous discovery is not finished\n08-25 11:07:53.621 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.DiscoveryHandler - [D2S] found target:[Name]($)-E(32)[Pid]null[Pool]false[DeviceType]SAMSUNG_OCF_SETUP[Discover]_WIFI[Services]None[Connected]false[ConType]NONE[size()]1[OCFDiscovery]_WIFI[OCFOwned]-1\n08-25 11:07:53.624 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.DiscoveryHandler - [D2S] found target:[ESDT]SamsungStandard_E4[Name]($)-E(32)[DiscoveryType]_WIFI[Protocol]OCF[ManualSetup]false[ShpSetupFromDeviceCard]false[StandardSsidInfo][Name]($)-E(13)[Ver]4[MnId]0Avq[SetuId]000[ExtType]6[ExtValue]cfj2SyXX[ApConnected]false[WiredConnected]false\n08-25 11:07:54.598 - [-8]oneconnect[1.7.51.42_01][CORE].EasySetupDiscoveryManager.stopDiscovery - type:[SamsungStandard_E4], timeout:300000,includeCloud:false, excludeL3:true\n08-25 11:07:55.019 - [-8]oneconnect[1.7.51.42_01][CORE].[EasySetup]EasySetupMcSignInState.EasySetupMcSignIn - IN\n08-25 11:07:55.022 - [-8]oneconnect[1.7.51.42_01][CORE].[EasySetup]GetAuthState.GetAuthState - IN\n08-25 11:08:01.733 - [-8]oneconnect[1.7.51.42_01][CORE].[EasySetup]OCFEasySetupProtocol.QcEasySetupHandler - GET_ACCESSTOKEN\n08-25 11:08:06.997 - [-8]oneconnect[1.7.51.42_01][CORE].[EasySetup]GetCapiEncryptedKeyState.GetCapiEncryptedKeyState - IN\n","esver":"UNKNOWN","gattstate":{"blereport":"","connstate":"NONE"},"helpcardopencount":0,"histories":[{"step":"INTRO","time":14079},{"step":"SAMSUNGACCOUNT","time":16228}],"installer":"com.sec.android.app.samsungapps","isd2ddevice":"false","isemailid":"true","isfileupload":false,"isrssifeatureon":"true","isuserinputpin":"false","lang":"en","manualretrycount":0,"manufacturedyear":0,"mfr":"samsung","model":"SM-N975U1","multidevicedetectedcount":-1,"os":"android","osver":"29","otmreason":"UNKNOWN","otmsupportfeature":0,"ownmatch":"true","prevsession":"","prevtgtstatus":"","provisioningresults":[],"registeringstate":"","rescan":"false","result":"FAIL","retrycnt":0,"scanresultcount":0,"sn":{"number":"","type":"SCANNING"},"stver":"1.7.51.42","tgtcat":"SamsungStandardSsid","tgtfwver":"UNKNOWN","tgtlogid":"","tgtprot":"OCF","tgtssid":"ESP8266JustWo_E40Avq0006cfj2SyXX","tgttype":"_E4","tokenretrycount":0,"ultrasound":{"permission":"","result":""},"wifihubcombi":"UNKNOWN"}
08-25 11:08:11.266 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.onEvent - eventType : SHOW_ERROR_POPUP , CONNECTING_PAGE
08-25 11:08:11.266 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.onCommonEvent - eventType : SHOW_ERROR_POPUP
08-25 11:08:11.267 16706 16706 E [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.proceedShowErrorPopup - ErrorCode = 81-001isSoftAp = true
08-25 11:08:11.267 16706 16706 I [-8]oneconnect[1.7.51.42_01][MAIN_UI]: OcfLightSetupController.showFailDialog - errorCode = 81-001
08-25 11:08:11.268 16706 16706 W [-8]oneconnect[1.7.51.42_01][MAIN_UI]: [EasySetup]AbstractEasySetupPage.onEvent - not handled event : SHOW_ERROR_POPUP