-------------------- clk_name=mpll isp_clk=200000000 --nrvbs 2 --sboot=0 --fps=30 [ 18.683285] @@@@ tx-isp-probe ok (version H20241022a), compiler date: Oct 22 2024 17:27:33 @@@@@ [ 18.888663] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a2403000) [ 18.900537] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a2404000) [ 18.910129] dma dma0chan26: Channel 26 have been requested.(phy id 5,type 0x04 desc a2405000) [ 18.925197] the codec_type = 0 !!!!! [ 18.945809] @@@@@ inner codec power up@@@@@@ [ 19.225800] @@@@ audio driver ok(version H20240815a) @@@@@ [ 19.262528] tnna_clk=1200MHz, v0_clk=600MHz, default=600MHz [ 19.274873] Successful insmod, version=0x10200. [1970-01-01 00:00:10:196] tag[INFO] module[PRODUCT_CONFIG] func[product_config_init] line[480] product config default file create success,cost:38 ms [1970-01-01 00:00:10:197] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[58] work_mode_->valueint:1 [1970-01-01 00:00:10:197] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[71] essid_:sonsii [1970-01-01 00:00:10:197] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[138] mac_:0C:F0:B4:6F:E9:0C [1970-01-01 00:00:10:197] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[151] strlen(str):5 nic_name_:wlan0 [1970-01-01 00:00:10:197] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[177] bind_:0 [1970-01-01 00:00:10:198] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[187] token_: [1970-01-01 00:00:10:199] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[58] work_mode_->valueint:1 [1970-01-01 00:00:10:199] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[71] essid_:sonsii [1970-01-01 00:00:10:200] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[138] mac_:0C:F0:B4:7C:34:D5 [1970-01-01 00:00:10:200] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[151] strlen(str):5 nic_name_:wlan0 [1970-01-01 00:00:10:200] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[177] bind_:0 [1970-01-01 00:00:10:200] tag[INFO] module[PRODUCT_NET_INFO] func[product_net_info_get_first] line[187] token_: [1970-01-01 00:00:10:200] tag[INFO] module[PRODUCT_CONFIG] func[product_config_init] line[500] product config user file load success,cost:2 ms [1970-01-01 00:00:10:208] tag[INFO] module[PRODUCT_CONFIG] func[product_config_init] line[535] PRODUCT_CONFIG init success [1970-01-01 00:00:10:208] tag[INFO] module[MAIN] func[product_config_set] line[287] firmware_version:V1.0.13 mcu uart init.... [1970-01-01 00:00:10:219] tag[INFO] module[MCU_UART] func[uart_init] line[1173] ===================uart init =================== [1970-01-01 00:00:10:236] tag[DEBG] module[COMPORT_INIT] func[comport_open] line[55] Open /dev/ttyS2 successfully. [1970-01-01 00:00:10:436] tag[DEBG] module[COMPORT_INIT] func[comport_init] line[217] Comport Init Successfully...... [1970-01-01 00:00:10:437] tag[INFO] module[MCU_UART] func[uart_init] line[1224] uart init ===================success! [1970-01-01 00:00:10:437] tag[INFO] module[MCU_UART] func[mcu_uart_init] line[1293] create uart receive thread...ok [1970-01-01 00:00:10:437] tag[INFO] module[MCU_UART] func[mcu_uart_init] line[1302] create heart beat thread...ok [1970-01-01 00:00:10:438] tag[INFO] module[MCU_UART] func[mcu_uart_init] line[1311] create upgrade thread...ok [1970-01-01 00:00:10:438] tag[INFO] module[TIMEZONE] func[timezone_init] line[135] timezone_str_:GMT+8 [1969-12-31 16:00:10:439] tag[INFO] module[SYSTEM_TIME] func[_system_time_init_from_file] line[235] time_str:20210803 07:55:31 [1969-12-31 16:00:10:439] tag[INFO] module[SYSTEM_TIME] func[_system_time_init_from_file] line[264] year:2021,month:08,day:03,hour:07,minute:55,second:31 [2021-08-03 07:55:31:000] tag[DEBG] module[UTIL_TIME] func[util_local_time_set] line[23] set local time:2021-08-03 07:55:31 [2021-08-03 07:55:31:000] tag[INFO] module[SYSTEM_TIME] func[system_time_init] line[366] SYSTEM_TIME init success [2021-08-03 07:55:31:000] tag[INFO] module[ALARM_MNG] func[alarm_mng_init] line[233] ALARM_MNG init success [2021-08-03 07:55:31:000] tag[INFO] module[UTIL_MEDIA_BUFF] func[util_media_buff_create] line[199] chn:0,block_num:4,block_size:524288 [2021-08-03 07:55:31:004] tag[INFO] module[STREAM_BUFF_INIT] func[stream_buff_init] line[129] video_info->resolution_size_ :5; width:1920;height:1080 [2021-08-03 07:55:31:005] tag[INFO] module[UTIL_MEDIA_BUFF] func[util_media_buff_set_attr] line[176] height_:1080 width_:1920 channel_:0 framerate_:15 stream_format_:5 codec_type_:0 audio_bit_:0 audio_sample_:0 [2021-08-03 07:55:31:005] tag[INFO] module[UTIL_MEDIA_BUFF] func[util_media_buff_create] line[199] chn:1,block_num:2,block_size:262144 [2021-08-03 07:55:31:006] tag[INFO] module[STREAM_BUFF_INIT] func[stream_buff_init] line[129] video_info->resolution_size_ :1; width:640;height:360 [2021-08-03 07:55:31:006] tag[INFO] module[UTIL_MEDIA_BUFF] func[util_media_buff_set_attr] line[176] height_:360 width_:640 channel_:1 framerate_:15 stream_format_:1 codec_type_:0 audio_bit_:0 audio_sample_:0 [2021-08-03 07:55:31:006] tag[INFO] module[STREAM_BUFF_INIT] func[stream_buff_init] line[154] STREAM_BUFF_INIT init success [1969-12-31 16:00:10:439] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(8), max length(196) ............ [2021-08-03 07:55:31:007] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:31:007] tag[DEBG] module[NET_MNG] func[net_notify_func_register] line[737] name:system_time [2021-08-03 07:55:31:006] tag[DEBG] module[VIDEO_INIT] func[video_init] line[4516] video [0] stream info: enable_:1 video_encode_:0 resolution_size_:5 framerate_:15 bitrate_:1352000 gop_:20 bitrate_control_:2 osd_format_:0 osd_font_color_:0xffff osd_edge_color_:0x8000 55aa030000010104 [2021-08-03 07:55:31:339] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(8) success! [2021-08-03 07:55:31:339] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:31:339] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x00, len:1 [2021-08-03 07:55:31:339] tag[INFO] module[MCU_UART] func[process_message] [ 23.106091] set sensor mclk(0) gpio line[839] Heart Beat Rsp... [2021-08-03 07:55:31:339] tag[DEBG] module[VIDEO_INIT] func[video_init] line[4516] video [1] stream info: enable_:1 video_encode_:0 resolution_size_:1 framerate_:15 bitrate_:1 gop_:20 bitrate_control_:2 osd_format_:0 osd_font_color_:0xffff osd_edge_color_:0x8000 [2021-08-03 07:55:31:507] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(8), max length(196) ............ [2021-08-03 07:55:31:507] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success 55aa030000010104 [2021-08-03 07:55:31:548] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(8) success! [2021-08-03 07:55:31:548] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:31:548] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x00, len:1 [2021-08-03 07:55:31:548] tag[INFO] module[MCU_UART] func[process_message] line[839] Heart Beat Rsp... [ 23.326273] -----cv2003_detect: 1057 ret = 0, v = 0x20 [ 23.332116] -----cv2003_detect: 1065 ret = 0, v = 0x03 [ 23.337458] =================================================== [ 23.343584] Template version is V20241105a [ 23.347832] Sensor driver version is CVSENS.CV2003MP.songsii.V01.20250110 [ 23.354856] Sensor name is cv2003 [ 23.358292] Sensor chip found @ 0x36 (gate_i2c0) [ 23.363067] Sensor video interface is 0 [ 23.367044] Sensor default boot is [0-->1920x1080@(30/1)fps] [ 23.372898] =================================================== [ 23.379442] Create framechan0 OK! [ 23.385605] Create framechan1 OK! [ 23.392758] Create framechan2 OK! [ 23.415819] ************************************************* [ 23.421866] ********* ISP Compiler: Oct 22 2024, 17:27:26 *********** [ 23.429035] ************************************************* [ 23.439824] [ISP][tisp_all_reset, 234]: isp all reset !!! [ 23.454598] [ISP][lib_tisp_get_isp_memory_space, 950]: width is 1920 [ 23.516798] [ISP][lib_tisp_set_isp_memory_space, 970]: vinum is 0 [2021-08-03 07:55:31:889] tag[INFO] module[MCU_UART] func[mcu_uart_night_vision_status] line[557] mcu_uart_night_vision_status. [2021-08-03 07:55:31:889] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(12), max length(196) ............ [2021-08-03 07:55:31:889] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:31:889] tag[INFO] module[MCU_UART] func[mcu_uart_night_vision_status] line[567] UART_MSG_DPID_CONTROL DPID:0x90, status:0x0 [2021-08-03 07:55:31:889] tag[INFO] module[MCU_UART] func[mcu_uart_ring_lamp_ctrl] line[515] mcu_uart_ring_lamp_ctrl. [2021-08-03 07:55:31:889] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(12), max length(196) ............ [2021-08-03 07:55:31:890] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:31:890] tag[INFO] module[MCU_UART] func[mcu_uart_ring_lamp_ctrl] line[525] UART_MSG_DPID_CONTROL DPID:0x8d, emoji:0x1 [2021-08-03 07:55:31:899] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB8 write 1 [2021-08-03 07:55:31:899] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB13 write 0 [2021-08-03 07:55:31:903] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB14 write 1 55aa030700059004000100a3 [2021-08-03 07:55:31:940] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(12) success! [2021-08-03 07:55:31:941] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:31:941] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x07, len:5 [2021-08-03 07:55:31:941] tag[INFO] module[MCU_UART] func[process_message] line[842] UART_MSG_STATUS_REPORT. [2021-08-03 07:55:31:941] tag[ERRR] module[MCU_UART] func[dispatch_dpid_msg] line[805] invalid dpid:90 [2021-08-03 07:55:32:104] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB13 [ 23.821704] Allocated 2 buffers! write 0 [2021-08-03 07:55:32:104] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB14 writ[ 23.838474] Allocated 2 buffers! e 0 [2021-08-03 07:55:32:104] tag[ERRR] module[VIDEO_INIT] func[isp_mode_set] line[4305] IMP_ISP_Tuning_SetHVFLIP fail,hvflip:0 [2021-08-03 07:55:32:108] tag[DEBG] module[VIDEO_INIT] func[_isp_init] line[3980] video init result:0 [2021-08-03 07:55:32:108] tag[DEBG] module[VIDEO_INIT] func[_isp_init] line[3989] imp system init success [2021-08-03 07:55:32:109] tag[DEBG] module[VIDEO_INIT] func[_framesource_init] line[3715] _framesource_init success [2021-08-03 07:55:32:114] tag[DEBG] module[VIDEO_INIT] func[_group_init] line[3589] group init start [2021-08-03 07:55:32:118] tag[DEBG] module[VIDEO_INIT] func[_group_init] line[3613] group init success i265e[info]: Main profile, Level-4 (Main tier) i265e[info]: Main profile, Level-2.1 (Main tier) [2021-08-03 07:55:32:134] tag[DEBG] module[VIDEO_INIT] func[_osd_init] line[2543] stream_index:0,time_rgn_handle:0 [2021-08-03 07:55:32:134] tag[DEBG] module[VIDEO_INIT] func[_osd_init] line[2543] stream_index:1,time_rgn_handle:1 [2021-08-03 07:55:32:135] tag[DEBG] module[VIDEO_INIT] func[_osd_init] line[2804] _osd_init success 55aa030700058d04000101a1 [2021-08-03 07:55:32:142] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(12) success! [2021-08-03 07:55:32:142] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:32:142] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x07, len:5 [2021-08-03 07:55:32:142] tag[INFO] module[MCU_UART] func[process_message] line[842] UART_MSG_STATUS_REPORT. [2021-08-03 07:55:32:143] tag[INFO] module[MCU_UART] func[dispatch_dpid_msg] line[801] MSG_DPID_TYPE_RING_LAMP:0x1 [2021-08-03 07:55:32:160] tag[DEBG] module[VIDEO_INIT] func[_framesource_on] line[1534] _framesource_on success [2021-08-03 07:55:32:161] tag[DEBG] module[VIDEO_INIT] func[video_init] line[4644] VIDEO_INIT init success [2021-08-03 07:55:32:163] tag[DEBG] module[SNAP_INIT] func[snap_init] line[510] SNAP_INIT init success [2021-08-03 07:55:32:163] tag[DEBG] module[AUDIO_INIT] func[_ai_init] line[1202] ai attr: samplerate:16000 bitwidth:16 soundmode:1 frmNum:20 numPerFrm:320 chnCnt:1 [2021-08-03 07:55:32:240] tag[DEBG] module[AUDIO_INIT] func[_ai_init] line[1237] ai chn param: usrFrmDepth:20 aecChn:0 warn: shm_init,53shm init already [2021-08-03 07:55:32:240] tag[DEBG] module[AUDIO_INIT] func[_ai_init] line[1264] ai_vol:80 i265e[info]: Main profile, Level-4 (Main tier) i265e[info]: Main profile, Level-2.1 (Main tier) [2021-08-03 07:55:32:300] tag[DEBG] module[AUDIO_INIT] func[_ai_init] line[1283] ai_gain:28 aec version: v2.1.201201 in webrtc_profile.ini and v2.1.231101 in aec lib. PATH:AEC_PATH is empty,normal audio library [2021-08-03 07:55:32:586] tag[DEBG] module[AUDIO_INIT] func[_ai_init] line[1335] _ai_init success [2021-08-03 07:55:32:589] tag[DEBG] module[AUDIO_INIT] func[_aenc_init] line[1116] _aenc_init success [2021-08-03 07:55:32:589] tag[DEBG] module[AUDIO_INIT] func[_adec_init] line[1055] _adec_init success [2021-08-03 07:55:32:598] tag[INFO] module[AUDIO_INIT] func[turn_on_spk] line[94] spk_power_pin level : 0 [2021-08-03 07:55:32:598] tag[DEBG] module[GPIO_CMD] func[gpio_cmd_write] line[181] gpioB31 write 1 [2021-08-03 07:55:32:598] tag[DEBG] module[AUDIO_INIT] func[_ao_init] line[820] ao attr: samplerate:8000 bitwidth:16 soundmode:1 frmNum:20 numPerFrm:320 chnCnt:1 warn: shm_init,53shm init already [2021-08-03 07:55:32:670] tag[DEBG] module[AUDIO_INIT] func[_ao_init] line[870] ao_gain:23 [2021-08-03 07:55:32:670] tag[DEBG] module[AUDIO_INIT] func[_ao_init] line[928] _ao_init success [2021-08-03 07:55:32:670] tag[INFO] module[AUDIO_INIT] func[audio_init] line[1897] AUDIO_INIT init success [2021-08-03 07:55:32:671] tag[INFO] module[IR_CUT] func[ircut_init] line[433] IR_CUT init success [2021-08-03 07:55:32:671] tag[INFO] module[MISC] func[misc_key_init] line[318] start init key [2021-08-03 07:55:32:671] tag[INFO] module[MISC] func[misc_key_init] line[332] init key success [2021-08-03 07:55:32:671] tag[INFO] module[MCU_UART] func[mcu_uart_ring_lamp_ctrl] line[515] mcu_uart_ring_lamp_ctrl. [2021-08-03 07:55:32:671] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(12), max length(196) ............ [2021-08-03 07:55:32:672] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:32:672] tag[INFO] module[MCU_UART] func[mcu_uart_ring_lamp_ctrl] line[525] UART_MSG_DPID_CONTROL DPID:0x8d, emoji:0x1 [2021-08-03 07:55:32:672] tag[INFO] module[MCU_UART] func[mcu_uart_set_laser_pointer] line[494] mcu_uart_set_laser_pointer. [2021-08-03 07:55:32:672] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(12), max length(196) ............ [2021-08-03 07:55:32:672] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:32:672] tag[INFO] module[MCU_UART] func[mcu_uart_set_laser_pointer] line[504] UART_MSG_DPID_CONTROL DPID:0x86, speed:0x0 [2021-08-03 07:55:32:672] tag[INFO] module[MCU_UART] func[mcu_uart_set_move_speed] line[473] mcu_uart_set_move_speed. [2021-08-03 07:55:32:672] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(12), max length(196) ............ [2021-08-03 07:55:32:672] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success [2021-08-03 07:55:32:673] tag[INFO] module[MCU_UART] func[mcu_uart_set_move_speed] line[483] UART_MSG_DPID_CONTROL DPID:0x8c, speed:0x32 [2021-08-03 07:55:32:673] tag[DEBG] module[MISC] func[misc_init] line[499] MISC init success [2021-08-03 07:55:32:673] tag[DEBG] module[QRCODE] func[qrcode_init] line[628] QRCODE init start [2021-08-03 07:55:32:675] tag[INFO] module[MISC] func[key_event_listener] line[192] Start read key event [2021-08-03 07:55:32:704] tag[INFO] module[PROMPT_TONE] func[prompt_tone_init] line[491] PROMPT_TONE init success [2021-08-03 07:55:32:704] tag[INFO] module[QRCODE] func[qrcode_init] line[682] QRCODE init success [2021-08-03 07:55:32:704] tag[INFO] module[PLATFORM_TY] func[platform_init] line[1762] sdk init start>>>>>>>>>>>> [2021-08-03 07:55:32:705] tag[DEBG] module[ALARM_MNG] func[alarm_mng_func_register] line[169] cb:0x45c6c0 [2021-08-03 07:55:32:706] tag[WARN] module[PLATFORM_TY] func[platform_init] line[1826] udid:uuida4c86e451c399c33,key:AmER9q1SPBjfkErpGgyqLjNHTsuRrCQp 55aa030700058d04000101a1 [2021-08-03 07:55:32:721] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(12) success! [2021-08-03 07:55:32:721] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:33:052] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x07, len:5 [2021-08-03 07:55:33:053] tag[INFO] module[MCU_UART] func[process_message] line[842] UART_MSG_STATUS_REPORT. [2021-08-03 07:55:33:053] tag[INFO] module[MCU_UART] func[dispatch_dpid_msg] line[801] MSG_DPID_TYPE_RING_LAMP:0x1 [2021-08-03 07:55:32:719] tag[DEBG] module[VIDEO_INIT] func[framesource_depth_set] line[4076] cur_depth:0,depth:1 [2021-08-03 07:55:32:718] tag[DEBG] module[PROMPT_TONE] func[_prompt_tone_thread] line[183] adec_format:2,play_item_type:41 [2021-08-03 07:55:32:727] tag[INFO] module[PLATFORM_TY] func[platform_init] line[1847] firmware version str:V1.0.13 [2021-08-03 07:55:33:058] tag[INFO] module[PLATFORM_TY] func[platform_init] line[1849] firmware version :1.0.13 SDK Version:< TuyaOS V:6.2.6 BS:40.00_PT:2.3_LAN:3.5_CAD:1.0.5_CD:1.0.0 > < BUILD AT:2024_12_31_11_51_09 BY ci_manage FOR tuyaos-ipc AT T32_uclibc_r3.3.7 > IOT DEFS < WIFI_GW:1 DEBUG:0 KV_FILE:0 LITTLE_END:1 SL:1 OPERATING_SYSTEM:100 RELIABLE_TRANSFER:0 > MODE:1 LINK_TYPE:5 IP_MODE_TYPE:0 [01-01 00:00:00 ty I][9140][tal_thread.c:185] thread_create name:sys_timer,stackDepth:4096,totalstackDepth:4096,priority:5 [01-01 00:00:00 ty I][9140][tal_thread.c:185] thread_create name:wq_system,stackDepth:6144,totalstackDepth:10240,priority:3 [01-01 00:00:00 ty I][9140][tal_thread.c:185] thread_create name:wq_highpri,stackDepth:5120,totalstackDepth:15360,priority:4 [2021-08-03 07:55:33:097] tag[DEBG] module[QRCODE] func[_qrcode_thread] line[454] yuv data buff malloc success!!! tkl_wifi_init-173 called [01-01 00:00:00 ty I][9140][tal_thread.c:185] thread_create name:health_monitor,stackDepth:1536,totalstackDepth:16896,priority:5 [01-01 00:00:00 ty I][9140][mqc_app.c:490] mqc app init ... [01-01 00:00:00 ty E][9140][log_seq.c:861] open err [01-01 00:00:00 ty I][9140][kv_storge.c:45] Init Kvs With File:/mnt/config/ 55aa0307000586040001009955aa030700058c04000132d1 [2021-08-03 07:55:33:253] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(24) success! [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x07, len:5 [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[process_message] line[842] UART_MSG_STATUS_REPORT. [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[dispatch_dpid_msg] line[797] MSG_DPID_TYPE_LASER_POINTER:0x0 [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x07, len:5 [2021-08-03 07:55:33:545] tag[INFO] module[MCU_UART] func[process_message] line[842] UART_MSG_STATUS_REPORT. [2021-08-03 07:55:33:546] tag[ERRR] module[MCU_UART] func[dispatch_dpid_msg] line[805] invalid dpid:8C WIFI mode[0] Get IP failed wifi_status_event_cb-155 set wf event[2] [01-01 00:00:00 ty N][9140][tuya_tls.c:876] uni_random_init... [01-01 00:00:00 ty N][9140][tuya_tls.c:303] tuya_tls_rand_init ok! [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:338] gw_cntl->gw_wsm.stat:0 [01-01 00:00:00 ty D][9140][tuya_ipc_media_adapter.c:101] media adapter init success. avaliable_res_size:5000 [01-01 00:00:00 ty D][9140][tuya_ipc_media_adapter.c:511] insert media info node success! device:[0] channel:[0] [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:0 Enable:1 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:717] video_bitrate 768, video_fps 15 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:649] Init Ring Buffer. ch0st0tr0 bitrate:768 fps:15 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:672] Ring buffer malloc 589824 bytes for ch0st0tr0, max frame size 147456 [01-01 00:00:00 ty I][9140][tuya_ring_buffer.c:694] Init Ring Buffer success: ch0st0tr0 size:589824 nodes:90 [01-01 00:00:00 ty T][9140][tuya_ring_buffer.c:148] ch0st0tr0 release ref count: 0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:725] init ring buffer success. channel:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:1 Enable:1 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:717] video_bitrate 256, video_fps 15 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:649] Init Ring Buffer. ch0st0tr1 bitrate:256 fps:15 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:672] Ring buffer malloc 196608 bytes for ch0st0tr1, max frame size 49152 [01-01 00:00:00 ty I][9140][tuya_ring_buffer.c:694] Init Ring Buffer success: ch0st0tr1 size:196608 nodes:90 [01-01 00:00:00 ty T][9140][tuya_ring_buffer.c:148] ch0st0tr1 release ref count: 0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:725] init ring buffer success. channel:1 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:2 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:3 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:4 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:5 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:6 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:7 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:8 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:9 Enable:1 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:708] audio_sample 16000, audio_databits 16, audio_fps 25 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:649] Init Ring Buffer. ch0st0tr9 bitrate:250 fps:25 [01-01 00:00:00 ty D][9140][tuya_ring_buffer.c:672] Ring buffer malloc 192000 bytes for ch0st0tr9, max frame size 48000 [01-01 00:00:00 ty I][9140][tuya_ring_buffer.c:694] Init Ring Buffer success: ch0st0tr9 size:192000 nodes:150 [01-01 00:00:00 ty T][9140][tuya_ring_buffer.c:148] ch0st0tr9 release ref count: 0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:725] init ring buffer success. channel:9 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:10 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:11 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:12 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:13 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:14 Enable:0 [01-01 00:00:00 ty D][9140][ty_sdk_media_callback.c:699] init ring buffer Channel:0 Stream:15 Enable:0 [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:gw_bi isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1164] find key:1 gw_bi [01-01 00:00:00 ty D][9140][simplekv.c:1190] key:gw_bi find value.Len:224 [01-01 00:00:00 ty D][9140][tuya_ws_db.c:667] sync to protected len[223] [01-01 00:00:00 ty D][9140][ws_db_gw.c:148] gw_bi read ret:0 [01-01 00:00:00 ty D][9140][tuya_wifi_link.c:901] tuya wifi link init mthd:0,wifi start mode:0, enable_station_ap:0 [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:gw_wsm isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1164] find key:2 gw_wsm [01-01 00:00:00 ty D][9140][simplekv.c:1190] key:gw_wsm find value.Len:192 [01-01 00:00:00 ty D][9140][tuya_ws_db.c:667] sync to protected len[188] [01-01 00:00:00 ty D][9140][ws_db_gw.c:259] gw_wsm read ret:0 [01-01 00:00:00 ty N][9140][tuya_wifi_link.c:85] start wifi link params validate, nc_tp:2 md:0 [01-01 00:00:00 ty N][9140][tuya_wifi_link.c:107] gw_wsm.nc_tp:2 [01-01 00:00:00 ty N][9140][tuya_wifi_link.c:108] gw_wsm.md:0 [01-01 00:00:00 ty D][9140][tuya_bt_link.c:294] bt init... [01-01 00:00:00 ty D][9140][tuya_svc_netmgr_linkage.c:86] link[3] is registered [2] [01-01 00:00:00 ty D][9140][tuya_ble_svc.c:2325] get_wifi_list eanbled [01-01 00:00:00 ty D][9140][tuya_ble_svc.c:2331] get_netcfg_stat eanbled [01-01 00:00:00 ty D][9140][tuya_ble_svc.c:2335] get_dev_log eanbled [01-01 00:00:00 ty D][9140][tuya_ble_svc.c:2341] get_ap_name eanbled [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:gw_wsm isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1164] find key:2 gw_wsm [01-01 00:00:00 ty D][9140][simplekv.c:1190] key:gw_wsm find value.Len:192 [01-01 00:00:00 ty D][9140][tuya_ws_db.c:667] sync to protected len[188] [01-01 00:00:00 ty D][9140][ws_db_gw.c:259] gw_wsm read ret:0 [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:wf_start_md isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1161] no key find [01-01 00:00:00 ty D][9140][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:00 ty D][9140][simplekv.c:1242] __read_kv_with_decode fail. -3 [01-01 00:00:00 ty E][9140][tuya_wifi_reset.c:675] read wf start mode err:-6 [01-01 00:00:00 ty D][9140][tuya_wifi_reset.c:712] <__gw_upd_nc_type> wf start mode change:-6, 0->0 [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:563] Last reset reason: 7 [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:gw_di isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1164] find key:3 gw_di [01-01 00:00:00 ty D][9140][simplekv.c:1190] key:gw_di find value.Len:672 [01-01 00:00:00 ty D][9140][ws_db_gw.c:376] gw_di read ret:0 [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:is_stride isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1161] no key find [01-01 00:00:00 ty D][9140][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:00 ty D][9140][simplekv.c:1242] __read_kv_with_decode fail. -3 [01-01 00:00:00 ty D][9140][tuya_devos_stride.c:55] stride from flash: 0. [01-01 00:00:00 ty D][9140][tuya_devos_stride.c:62] no actived, no upgrade:0 [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:395] gw_cntl->gw_if.abi:0 input:0 [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:396] gw_cntl->gw_if.product_key:jtpzscc43s2fzaff, input:jtpzscc43s2fzaff [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:397] gw_cntl->gw_if.tp:0, input:0 [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:596] enter success_proc WIFI Get MAC 00-00-00-00-00-00 [01-01 00:00:00 ty N][9140][tuya_svc_devos.c:599] serial_no:000000000000 [01-01 00:00:00 ty D][9140][tuya_svc_upgrade.c:1369] tuya svc upgrade init success! [01-01 00:00:00 ty D][9140][simplekv.c:1133] read key:kv.meta.report isFuzzy:0 skipCnt:0 [01-01 00:00:00 ty D][9140][simplekv.c:1161] no key find [01-01 00:00:00 ty D][9140][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:00 ty D][9140][simplekv.c:1242] __read_kv_with_decode fail. -3 [01-01 00:00:00 ty D][9140][ty_meta_report.c:111] meta in kv {"metas":{}} [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:300 cnt:3 [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:302 cnt:4 [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:304 cnt:5 [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:307 cnt:6 [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:308 cnt:7 [01-01 00:00:00 ty D][9140][mqc_app.c:109] mq_pro:312 cnt:8 [01-01 00:00:00 ty D][9140][tuya_ipc_mqtt_subscribe.c:292] iot_register_extra_mqt_cb done [01-01 00:00:01 ty T][9140][tuya_ring_buffer.c:127] ch0st0tr0 get ref count: 1 [01-01 00:00:01 ty T][9140][tuya_ring_buffer.c:148] ch0st0tr0 release ref count: 0 [01-01 00:00:01 ty T][9140][tuya_ring_buffer.c:127] ch0st0tr1 get ref count: 1 [01-01 00:00:01 ty T][9140][tuya_ring_buffer.c:148] ch0st0tr1 release ref count: 0 [01-01 00:00:01 ty D][9140][tuya_ipc_hardware_info.c:252] traversal over [01-01 00:00:01 ty E][9140][tuya_ipc_hardware_info.c:173] NO sensor info. Please check if you need. [01-01 00:00:01 ty D][9140][tuya_ipc_hardware_info.c:115] not found device wifi info [01-01 00:00:01 ty D][9140][tuya_ipc_hardware_info.c:355] hard info ="skillParam":"{\"type\":4,\"skill\":{\"localStorage\":1,\"cloudStorage\":1,\"webrtc\":2,\"p2p\":611,\"security_ability\":30,\"video_num\":2,\"sdk_version\":\"6.2.6\"},\"hardware\":{\"toolchain\":\"T32_uclibc_r3.3.7\",\"cpu\":{\"model\":\"Goat\",\"bogomips\":\"1196.85\",\"name\":\"Ingenic Xburst V0.0 FPU V0.0\"}} [01-01 00:00:01 ty D][9140][tuya_ipc_sdk_init.c:426] debug ability:2 [01-01 00:00:01 ty D][9140][tuya_iot_wifi_api.c:452] register wifi network monitor. interval:1 [01-01 00:00:01 ty D][9140][platform_ty.c:1549] tuya ipc sdk start is complete [01-01 00:00:01 ty D][6144][tuya_svc_devos.c:854] state change from 0 to 1 [01-01 00:00:01 ty D][6144][ty_sdk_status_callback.c:103] status chaged: group[1] status[9] [01-01 00:00:01 ty D][6144][ty_sdk_status_callback.c:39] __on_netcfg_start, netcfg start. You can start your own netcfg task now. [01-01 00:00:01 ty D][6144][simplekv.c:1133] read key:wf_start_md isFuzzy:0 skipCnt:0 [01-01 00:00:01 ty D][6144][simplekv.c:1161] no key find [01-01 00:00:01 ty D][6144][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:01 ty D][6144][simplekv.c:1242] __read_kv_with_decode fail. -3 [01-01 00:00:01 ty E][61[ 26.225431] [atbm_log]:ioctl:cmd[SIOCGIWNWID][0x8b03] not support 44][tuya_wifi_reset.c:675] read wf start mode err:-6 [01-01 00:00:01 ty D][6144][tuya_wifi_reset.c:712] <__gw_upd_nc_type> wf start mode change:-6, 0->0 [01-01 00:00:01 ty D][6144][simplekv.c:1133] read key:kv.ccode.avtive isFuzzy:0 skipCnt:0 [01-01 00:00:01 ty D][6144][simplekv.c:1161] no key find [01-01 00:00:01 ty D][6144][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:01 ty D][6144][simplekv.c:1242] __read_kv_with_decode fail. -3 Set Country Code:0 Exec Cmd:ifconfig wlan0 up Exec Cmd:iwconfig wlan0 mode Managed WIFI Set Mode 2 [01-01 00:[ 26.281259] [atbm_log]:ioctl:cmd[SIOCGIWNICKN][0x8b1d] not support 00:01 ty D][6144][tuya_wifi_reset.c:596] reset init mthd:0, short timer:0 long timer:0 [ 26.350194] [atbm_log]:ioctl:cmd[SIOCGIWSENS][0x8b09] not support WIFI Get Mode [Managed] 2 [01-01 00:00:01 ty D][6144][tuya_wifi_netcfg.c:437] do proxy actived work,mode:2,stat:0,nc_tp:2 [01-01 00:00:01 ty D][6144][tuya_wifi_netcfg.c:734] nc_tp:2, md:0 Exec Cmd:ifconfig wlan0 up Exec Cmd:iwconfig wlan0 mode Managed WIFI Set Mode 2 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10002,is_set:0 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10100,is_set:0 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10002,is_set:1 [ 26.525344] [atbm_log]:ioctl:cmd[SIOCGIWNWID][0x8b03] not support [ 26.586081] [atbm_log]:ioctl:cmd[SIOCGIWNICKN][0x8b1d] not support [ 26.621993] [atbm_log]:ioctl:cmd[SIOCGIWSENS][0x8b09] not support WIFI Get Mode [Managed] 2 [01-01 00:00:01 ty D][6144][tuya_wifi_link.c:140] get work mode:2 [01-01 00:00:01 ty D][6144][tuya_wifi_link.c:147] start ap netcfg, wk_md:3 Exec Cmd:ifconfig wlan0 up WIFI Set Mode 3 [01-01 00:00:01 ty E][6144][tuya_wifi_link.c:151] wf_wk_mode_set error:-1 [01-01 00:00:01 ty E][6144][netcfg_module.c:136] ret:-1 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10002,is_set:0 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10100,is_set:0 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10002,is_set:0 [01-01 00:00:01 ty D][6144][netcfg_module.c:133] type:0x10100,is_set:0 [ 26.758211] [atbm_log]:ioctl:cmd[SIOCGIWNWID][0x8b03] not support [ 26.824642] [atbm_log]:ioctl:cmd[SIOCGIWNICKN][0x8b1d] not support [ 26.854162] [atbm_log]:ioctl:cmd[SIOCGIWSENS][0x8b09] not support WIFI Get Mode [Managed] 2 [01-01 00:00:02 ty N][6144][tuya_wifi_status.c:167] cur stat:2 0x59a714 -->> [01-01 00:00:02 ty N][6144][tuya_wifi_status.c:169] wifi netstat changed to:2 -->> [01-01 00:00:02 ty N][6144][tuya_wifi_status.c:173] report wifi netstat[2] to callback -->> [01-01 00:00:02 ty E][6144][tuya_ipc_sdk_init.c:345] wf nw status changed to [2], but not notify [01-01 00:00:02 ty D][6144][netcfg_module.c:338] netcfg module start type:0x10100 [01-01 00:00:02 ty N][6144][tuya_wifi_reset.c:438] timer stated, short timer:0x0, long timer:0x0 [01-01 00:00:02 ty D][6144][tuya_wifi_netcfg.c:815] nc_tp:2, md:0 [01-01 00:00:02 ty N][6144][tuya_bt_link.c:62] bt startup attr:ff [01-01 00:00:02 ty D][6144][tuya_bt_link.c:77] bt link open [01-01 00:00:02 ty N][6144][tuya_ble_svc.c:1199] upd product_id type:0 jtpzscc43s2fzaff [01-01 00:00:02 ty D][6144][simplekv.c:1133] read key:bt_encrpt_v2 isFuzzy:0 skipCnt:0 [01-01 00:00:02 ty D][6144][simplekv.c:1161] no key find [01-01 00:00:02 ty D][6144][simplekv.c:1203] __read_kv_raw fail. -3 [01-01 00:00:02 ty D][6144][simplekv.c:1242] __read_kv_with_decode fail. -3 [01-01 00:00:02 ty D][6144][tuya_ble_cryption.c:491] read encrpt flag from flash: 0. ==================tkl_ble_gap_callback_register================= ==================tkl_ble_gatt_callback_register================= ==================tkl_ble_stack_init================= [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:1115] rev ble event 1 [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:1768] set ble serv stat:0, curr:0 [tkl_ble_stack_init:1515] role:3 ==================tkl_ble_gatts_service_add================= [tkl_ble_gatts_service_add:2010] p_service->svc_num:0x1 [tkl_ble_gatts_service_add:2011] p_service->p_service->handle:0xffff [tkl_ble_gatts_service_add:2012] p_service->p_service->svc_uuid:0 [tkl_ble_gatts_service_add:2013] p_service->p_service->type:0x2800 [tkl_ble_gatts_service_add:2014] p_service->p_service->char_num:0x3 register gatt service, num: 1 [tkl_ble_gatts_service_add:2024] i=0, p_service_param->svc_uuid.uuid_type:0 [tkl_ble_gatts_service_add:2025] i=0, p_service_param->handle:0xffff [tkl_ble_gatts_service_add:2026] i=0, p_service_param->type:0x2800 [tkl_ble_gatts_service_add:2027] i=0, p_service_param->svc_uuid.uuid.uuid16:0xfd50 [tkl_ble_gatts_service_add:2028] i=0, p_service_param->char_num:0x3 [tkl_ble_gatts_service_add:2030] i=0, p_service_param->p_char[0].char_uuid.uuid_type:0x2 [tkl_ble_gatts_service_add:2031] i=0, p_service_param->p_char[0].char_uuid.uuid128:0xbceedc [tkl_ble_gatts_service_add:2032] i=0, p_service_param->p_char[0].handle:0xffff [tkl_ble_gatts_service_add:2033] i=0, p_service_param->p_char[0].permission:0x6 [tkl_ble_gatts_service_add:2034] i=0, p_service_param->p_char[0].property:0xc [tkl_ble_gatts_service_add:2035] i=0, p_service_param->p_char[0].value_len:0xf4 [tkl_ble_gatts_service_add:2030] i=0, p_service_param->p_char[1].char_uuid.uuid_type:0x2 [tkl_ble_gatts_service_add:2031] i=0, p_service_param->p_char[1].char_uuid.uuid128:0xbceef8 [tkl_ble_gatts_service_add:2032] i=0, p_service_param->p_char[1].handle:0xffff [tkl_ble_gatts_service_add:2033] i=0, p_service_param->p_char[1].permission:0x6 [tkl_ble_gatts_service_add:2034] i=0, p_service_param->p_char[1].property:0x10 [tkl_ble_gatts_service_add:2035] i=0, p_service_param->p_char[1].value_len:0xf4 [tkl_ble_gatts_service_add:2030] i=0, p_service_param->p_char[2].char_uuid.uuid_type:0x2 [tkl_ble_gatts_service_add:2031] i=0, p_service_param->p_char[2].char_uuid.uuid128:0xbcef14 [tkl_ble_gatts_service_add:2032] i=0, p_service_param->p_char[2].handle:0xffff [tkl_ble_gatts_service_add:2033] i=0, p_service_param->p_char[2].permission:0x2 [tkl_ble_gatts_service_add:2034] i=0, p_service_param->p_char[2].property:0x2 [tkl_ble_gatts_service_add:2035] i=0, p_service_param->p_char[2].value_len:0xf4 [tkl_ble_gatts_service_add:2054] i=0, p_service_param->type:0x2800 --- tuya_conn_handle :fd50 str_uuid_buf:00000001-0000-1001-8001-00805f9b07d0 p_service_param->p_char[0].handle:1 str_uuid_buf:00000002-0000-1001-8001-00805f9b07d0 p_service_param->p_char[1].handle:2 str_uuid_buf:00000003-0000-1001-8001-00805f9b07d0 p_service_param->p_char[2].handle:3 [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:1626] start ble monitor [01-01 00:00:02 ty N][6144][tuya_ble_[ 27.273338] [atbm_log]:ioctl_open(80f00100)(81b19700) svc.c:1294] ty bt sdk init success finish [01-01 00:00:02 ty D][6144][tuya_ble_netcfg.c:153] net_cfg sub session created [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:2298] get_wifi_list sub session created [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:2302] get_netcfg_stat sub session created [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:2306] get_dev_log sub session created [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:2310] get_ap_name sub session created ==================tkl_ble_gap_adv_start==========[ 27.324721] [atbm_log]:atbm_ioctl_ble_start ======= lib_ble_main_init ======>>atbm_ble_start>>> nimble_port_init++ os_mempool_module_init msys block_count:20 ble_npl_eventq_main acl block_count:40 nimble_host_task FD_CLOEXEC set ble_coexist_start-- ble_hs_sync:333 hif_ioctl_loop get_command_func ble_hs_hci_cmd_tx:352 ===========ble_hci_sync_ok ble_smart_cfg_startup!11 [ATBM lOG]set default tx power(0) [01-01 00:00:02 ty N][6144][tuya_svc_devos.c:246] __devos_init_evt success [01-01 00:00:02 ty D][6144][netcfg_module.c:116] start 0x10100 ret:0 [01-01 00:00:02 ty D][6144][netcfg_module.c:338] netcfg module start type:0x10002 [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:244] upd adv para, send conn_req beacon. [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:115] adv_data 31 <0x13e2a29> 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 6a 74 70 7a 73 63 63 34 33 73 32 66 7a 61 66 66 [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:115] rsp_data 31 <0x13e2a49> 17 ff d0 07 00 00 04 21 e1 0f 16 2d 0b b3 ba 65 28 ce 77 19 9c 09 5f eb 06 09 54 55 59 41 5f [01-01 00:00:02 ty D][6144][tuya_ble_svc.c:1665] ble get conn stat:4 ==================tkl_ble_gap_adv_stop================= ==================tkl_ble_gap_adv_rsp_data_set================= [tkl_ble_gap_adv_rsp_data_set:1746] 0x2 0x1 0x6 0x3 0x2 0x50 0xfd 0x17 0x16 0x50 0xfd 0x43 0x4 0 0x10 0x6a 0x74 0x70 0x7a 0x73 0x63 0x63 0x34 0x33 0x73 0x32 0x66 0x7a 0x61 0x66 0x66 pub addr 60:56:ee:16:81:03 ==================tkl_ble_gap_adv_start================= error lib_ble_main_init already! [01-01 00:00:02 ty N][6144][tuya_ble_svc.c:1381] ble adv updated [01-01 00:00:02 ty D][6144][ap_netcfg.c:1464] ap cfg start:65538 [01-01 00:00:02 ty E][6144][ap_netcfg.c:1338] get ip fail:-1 [01-01 00:00:02 ty E][6144][ap_netcfg.c:1469] ap_nw_cfg_start err:-6 [01-01 00:00:02 ty D][6144][netcfg_module.c:116] start 0x10002 ret:-6 [2021-08-03 07:55:39:653] tag[INFO] module[PROMPT_TONE] func[_prompt_tone_thread] line[364] _prompt_tone_thread exit Ingenic-uc1_1 login: Ingenic-uc1_1 login: Ingenic-uc1_1 login: [2021-08-03 07:55:46:508] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(8), max length(196) ............ [2021-08-03 07:55:46:508] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success 55aa030000010104 [2021-08-03 07:55:46:541] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(8) success! [2021-08-03 07:55:46:541] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:55:46:541] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x00, len:1 [2021-08-03 07:55:46:541] tag[INFO] module[MCU_UART] func[process_message] line[839] Heart Beat Rsp... Ingenic-uc1_1 login: ble_slave_gap_event->type=0 connection established; status=0 connection, handle=1 [ble_gap_event:104]send event type:4 (TKL_BLE_GAP_EVT_CONNECT) [ble_gap_event:105]gap_evt.conn_handle :64848 ble_slave_gap_event->type=15 mtu update event; conn_handle=1 cid=4 mtu=247 ble_slave_gap_event->type=4 connection update request [ble_gap_event:144]send event type:8 (TKL_BLE_GAP_EVT_CONN_PARAM_REQ) [ble_gap_event:145]gap_evt.conn_handle :12036 ble_slave_gap_event->type=3 connection updated; status=0 conn_itvl=6 conn_latency=3 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0 [ble_gap_event:128]send event type:9 (TKL_BLE_GAP_EVT_CONN_PARAM_UPDATE) [ble_gap_event:129]gap_evt.conn_handle :1 ble_slave_gap_event->type=4 connection update request [ble_gap_event:144]send event type:8 (TKL_BLE_GAP_EVT_CONN_PARAM_REQ) [ble_gap_event:145]gap_evt.conn_handle :12036 ble_slave_gap_event->type=14 subscribe event; conn_handle=1 attr_handle=23 reason=1 prevn=0 curn=1 previ=0 curi=0 ble_slave_gap_event->type=3 connection updated; status=0 conn_itvl=24 conn_latency=3 supervision_timeout=500 encrypted=0 authenticated=0 bonded=0 [ble_gap_event:128]send event type:9 (TKL_BLE_GAP_EVT_CONN_PARAM_UPDATE) [ble_gap_event:129]gap_evt.conn_handle :1 [ble_svc_gatt_access:202] ble_uuid_u16(ctxt->chr->uuid) >> uuid:0 [ble_svc_gatt_access:203] ctxt->chr->flags:0xc max_data_len=1024 Len=36 att=0x0 0x21 0x20 0xb 0x2 0x31 0x66 0x93 0xec 0x60 0x8e 0xbb 0xb0 0x8c 0x15 0x5b 0xff 0x26 0x6d 0xb2 0x5a 0x44 0xa8 0x3c 0x4 0x6d 0x9a 0x1a 0x37 0x6d 0xf8 0x24 0x83 0x5f 0x8a 0xc [ble_svc_gatt_access:235]conn_handle :1 [ble_svc_gatt_access:236]attr_handle :21 [ble_svc_gatt_access:237]tuya_conn_handle:64848 [ble_svc_gatt_access:238]send gatt event type:7 (TKL_BLE_GATT_EVT_WRITE_REQ) [ble_svc_gatt_access:239]event.gatt_event.write_report.char_handle :1 [2021-08-03 07:56:01:508] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(8), max length(196) ............ [2021-08-03 07:56:01:508] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success 55aa030000010104 [2021-08-03 07:56:01:541] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(8) success! [2021-08-03 07:56:01:541] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:56:01:541] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x00, len:1 [2021-08-03 07:56:01:541] tag[INFO] module[MCU_UART] func[process_message] line[839] Heart Beat Rsp... [ble_svc_gatt_access:202] ble_uuid_u16(ctxt->chr->uuid) >> uuid:0 [ble_svc_gatt_access:203] ctxt->chr->flags:0xc max_data_len=1024 Len=36 att=0x0 0x21 0x20 0xc 0x37 0x54 0xcf 0x5a 0x6 0xcc 0x1f 0x55 0xb8 0x8 0x8c 0x3c 0xb 0xf8 0x5f 0xdd 0x8d 0x9 0x86 0xdb 0xa1 0x38 0x89 0x55 0x91 0xc1 0xe5 0x15 0x73 0xbf 0x58 0xa9 [ble_svc_gatt_access:235]conn_handle :1 [ble_svc_gatt_access:236]attr_handle :21 [ble_svc_gatt_access:237]tuya_conn_handle:64848 [ble_svc_gatt_access:238]send gatt event type:7 (TKL_BLE_GATT_EVT_WRITE_REQ) [ble_svc_gatt_access:239]event.gatt_event.write_report.char_handle :1 ble_slave_gap_event->type=14 subscribe event; conn_handle=1 attr_handle=23 reason=2 prevn=1 curn=0 previ=0 curi=0 ble_slave_gap_event->type=1 disconnect; reason=0x213 [ble_gap_event:116]send event type:5 (TKL_BLE_GAP_EVT_DISCONNECT) [ble_gap_event:117]gap_evt.conn_handle :64848 [01-01 00:00:35 ty D][5834][tuya_ble_svc.c:1115] rev ble event 6 [01-01 00:00:35 ty N][5834][tuya_ble_svc.c:774] Ble Disonnected [01-01 00:00:35 ty N][5834][tuya_ble_data_handler.c:69] ble reset sn [01-01 00:00:35 ty N][5834][tuya_ble_data_handler.c:83] ble clear pair rand [01-01 00:00:35 ty N][5834][tuya_ble_svc.c:1659] ble set conn stat:0 [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:244] upd adv para, send conn_req beacon. [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:115] adv_data 31 <0x13e2a29> 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 6a 74 70 7a 73 63 63 34 33 73 32 66 7a 61 66 66 [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:115] rsp_data 31 <0x13e2a49> 17 ff d0 07 00 00 04 21 e1 0f 16 2d 0b b3 ba 65 28 ce 77 19 9c 09 5f eb 06 09 54 55 59 41 5f [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:1665] ble get conn stat:0 ==================tkl_ble_gap_adv_stop================= ==================tkl_ble_gap_adv_rsp_data_set================= [tkl_ble_gap_adv_rsp_data_set:1746] 0x2 0x1 0x6 0x3 0x2 0x50 0xfd 0x17 0x16 0x50 0xfd 0x43 0x4 0 0x10 0x6a 0x74 0x70 0x7a 0x73 0x63 0x63 0x34 0x33 0x73 0x32 0x66 0x7a 0x61 0x66 0x66 [ble_gap_event:116]send event type:5 (TKL_BLE_GAP_EVT_DISCONNECT) [ble_gap_event:117]gap_evt.conn_handle :64848 [01-01 00:00:35 ty D][5834][tuya_ble_svc.c:1115] rev ble event 6 [01-01 00:00:35 ty N][5834][tuya_ble_svc.c:774] Ble Disonnected [01-01 00:00:35 ty N][5834][tuya_ble_data_handler.c:69] ble reset sn [01-01 00:00:35 ty N][5834][tuya_ble_data_handler.c:83] ble clear pair rand [01-01 00:00:35 ty N][5834][tuya_ble_svc.c:1659] ble set conn stat:0 ==================tkl_ble_gap_adv_start================= error lib_ble_main_init already! [01-01 00:00:35 ty N][6144][tuya_ble_svc.c:1381] ble adv updated [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:244] upd adv para, send conn_req beacon. [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:115] adv_data 31 <0x13e2a29> 02 01 06 03 02 50 fd 17 16 50 fd 43 04 00 10 6a 74 70 7a 73 63 63 34 33 73 32 66 7a 61 66 66 [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:115] rsp_data 31 <0x13e2a49> 17 ff d0 07 00 00 04 21 e1 0f 16 2d 0b b3 ba 65 28 ce 77 19 9c 09 5f eb 06 09 54 55 59 41 5f [01-01 00:00:35 ty D][6144][tuya_ble_svc.c:1665] ble get conn stat:0 ==================tkl_ble_gap_adv_stop================= ==================tkl_ble_gap_adv_rsp_data_set================= [tkl_ble_gap_adv_rsp_data_set:1746] 0x2 0x1 0x6 0x3 0x2 0x50 0xfd 0x17 0x16 0x50 0xfd 0x43 0x4 0 0x10 0x6a 0x74 0x70 0x7a 0x73 0x63 0x63 0x34 0x33 0x73 0x32 0x66 0x7a 0x61 0x66 0x66 ==================tkl_ble_gap_adv_start================= error lib_ble_main_init already! [01-01 00:00:35 ty N][6144][tuya_ble_svc.c:1381] ble adv updated [2021-08-03 07:56:16:516] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[21] send command length(8), max length(196) ............ [2021-08-03 07:56:16:516] tag[DEBG] module[COMPORT_SWAP] func[comport_send] line[68] serial message is send success 55aa030000010104 [2021-08-03 07:56:16:552] tag[INFO] module[COMPORT_SWAP] func[comport_recv] line[133] reading serial response length(128),receive len(8) success! [2021-08-03 07:56:16:552] tag[INFO] module[MCU_UART] func[dispatch_message] line[915] dispatch message. [2021-08-03 07:56:16:552] tag[INFO] module[MCU_UART] func[process_message] line[821] msg cmd:0x00, len:1 [2021-08-03 07:56:16:552] tag[INFO] module[MCU_UART] func[process_message] line[839] Heart Beat Rsp...