【求助】【TuyaOS SDK】对接4G行车记录仪问题

IPC/NVR/可视门铃等具备多媒体能力的设备,扫地机/AGV等机器人设备


HanW
Posts: 34

你好。请教一个问题。在涂鸦APP里面,我点“紧急录像”菜单。进去后,看见的全是黑色图片。后台的日志输出“[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000012_20240218173231_GF.mp4 unreadable” 请问这个是报错吗? 文件的真实路径是在“/mnt/mmc/DCIM/ipc_emergency_record/000012_20240218173231_GF.mp4” 我不知道为什么这里会多一级文件夹thumbnail。图片的路径是放到thumbnail文件夹下的。
不知道是不是我这边哪里没有设置对? 还请麻烦你指导一下。谢谢你。


Tags:
User avatar
Passat
Posts: 29

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

问题二: 在手机APP “紧急抓拍”页面中,不能正常下载显示。
请提供完整日志。

  1. 是否有调用 tuya_ipc_ss_init 这个接口?
  2. tuya_ipc_ss_init 本地存储初始化接口,传参中 album_info 和 base_path,会指定相册的名称和基础的路径,并创建他们。同时附带创建每个相册中 thumbnail 缩略图文件夹。

看当前你发的日志 ipc_emergency_record 应该是 album_info 中指定的相册名称,ipc_emergency_record/thumbnail 这一级目录是自动创建的。

HanW
Posts: 34

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

[02-28 15:35:53 ty D][tuya_ipc_p2p.c:4840] session detect run
[02-28 15:35:53 ty D][tuya_ipc_p2p.c:4818] session[65540] detect WaitCnt[0] SendCnt[66] RecvCnt[0]
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41572 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6209
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:53 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41573 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6210
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:53 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41574 Q:1 Data:{"dps":{"237":true}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6211
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:53 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41575 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6212
[15:35:53:208 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:53 ty D][smart_frame.c:428] dp_cntl value:50, dp_data value:50
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":50}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41576 Q:1 Data:{"dps":{"239":50}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6213
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41577 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6214
[02-28 15:35:53 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:53 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:53 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:53 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:53 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:53 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41578 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:53 ty D][tuya_svc_mqtt_client.c:427] packet id: 6215
[02-28 15:35:53 ty E][tuya_ipc_p2p.c:4692] no video data count = [3000]

[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105753, rept_cnt:26.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105753, rept_cnt:25.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105753, rept_cnt:20.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105753, rept_cnt:17.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":50}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105753, rept_cnt:12.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105753, rept_cnt:16.
[02-28 15:35:53 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:53 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:53 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105753, rept_cnt:12.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105753, rept_cnt:0.
[02-28 15:35:54 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:54 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41579 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6216
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:54 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41580 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6217
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:54 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41581 Q:1 Data:{"dps":{"237":true}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6218
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:54 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41582 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6219
[15:35:54:224 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:54 ty D][smart_frame.c:428] dp_cntl value:50, dp_data value:50
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":50}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41583 Q:1 Data:{"dps":{"239":50}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6220
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41584 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6221
[02-28 15:35:54 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:54 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:54 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:54 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:54 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:54 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41585 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:54 ty D][tuya_svc_mqtt_client.c:427] packet id: 6222
[02-28 15:35:54 ty D][tuya_devos_health.c:68] feed watchdog
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105754, rept_cnt:27.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105754, rept_cnt:26.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105754, rept_cnt:21.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105754, rept_cnt:18.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":50}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105754, rept_cnt:13.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105754, rept_cnt:17.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:54 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105754, rept_cnt:13.
[02-28 15:35:54 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:54 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105754, rept_cnt:0.
[02-28 15:35:55 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:55 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:55 ty D][tuya_imm_service_log.c:764] trigger upload timer....
[02-28 15:35:55 ty I][tuya_ipc_media_stream.c:71] [RTC LOG] {"t":1709134554448,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_stats","tid":"","s":"6ca55cb949ffa636e7gnz21709105668kLl1ChvQ","l":"6ca55cb949ffa636e7gnz2","r":"ay17059101577156bxEV","o":1,"d":71735,"channels":[[0,264,348,264,348,1884,1220,1695,2378,1696,1696,1359],[1,4429751,0,4382727,0,8898256,28036,2755,2745,-1,-1,3188],[6,2204,2408,2204,2408,7760,2884,1695,335,1358,1358,1358]]}
[02-28 15:35:55 ty D][tuya_imm_service_log.c:414] upload timer trigger....
[02-28 15:35:55 ty D][tuya_imm_service_log.c:437] start send.
[02-28 15:35:55 ty D][mqc_app.c:891] Send MQTT Msg.P:312 N:41586 Q:0
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6223
[02-28 15:35:55 ty I][tuya_ipc_media_stream.c:71] [RTC LOG] {"t":1709134554784,"v":"tuya_p2p_sdk_v3.4.120","p":"rtc_session_stats","tid":"","s":"6ca55cb949ffa636e7gnz21709105667aZ5owVvn","l":"6ca55cb949ffa636e7gnz2","r":"ay17059101577156bxEV","o":1,"d":79385,"channels":[[6,2204,0,2204,0,0,0,-1,335,-1,-1,-1]]}
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41587 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6224
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:55 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41588 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6225
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:55 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41589 Q:1 Data:{"dps":{"237":true}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6226
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:55 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41590 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6227
[15:35:55:239 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:55 ty D][smart_frame.c:428] dp_cntl value:50, dp_data value:50
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":50}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41591 Q:1 Data:{"dps":{"239":50}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6228
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41592 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6229
[02-28 15:35:55 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:55 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:55 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:55 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:55 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:55 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41593 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:55 ty D][tuya_svc_mqtt_client.c:427] packet id: 6230
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105755, rept_cnt:28.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105755, rept_cnt:27.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105755, rept_cnt:22.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105755, rept_cnt:19.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":50}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105755, rept_cnt:14.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105755, rept_cnt:18.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:55 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105755, rept_cnt:14.
[02-28 15:35:55 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:55 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105755, rept_cnt:0.
[02-28 15:35:56 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:56 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:2985] recv session[65540] high cmd[100] low cmd[12] len[116] req_id[60]
[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3369] CTRL PLAY BACK session[65540] high[100] low[12]
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:309] ###############################################
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:310] p2p rev event cb=[203] start
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:469] ###############################################
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:470] tuya_ipc_stor_album_cb() p2p rev event cb=[203] start
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41594 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6231
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:56 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41595 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6232
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:56 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41596 Q:1 Data:{"dps":{"237":true}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6233
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:56 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41597 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6234
[15:35:56:248 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:56 ty D][smart_frame.c:428] dp_cntl value:50, dp_data value:75
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":75}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41598 Q:1 Data:{"dps":{"239":75}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6235
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41599 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6236
[02-28 15:35:56 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:56 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:56 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:56 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:56 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:56 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41600 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:56 ty D][tuya_svc_mqtt_client.c:427] packet id: 6237
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:493] get album items 6

[02-28 15:35:56 ty D][ty_sdk_sd_card.c:547] tuya_ipc_stor_album_cb() p2p rev event cb=[203] end
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:548] ###############################################
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:893] p2p rev event cb=[203] end ret = 0
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:894] ###############################################
[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3603] query file ok
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105756, rept_cnt:29.
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105756, rept_cnt:28.
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][tuya_ipc_p2p.c:2985] recv session[65540] high cmd[100] low cmd[13] len[352] req_id[720957]
[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3369] CTRL PLAY BACK session[65540] high[100] low[13]
[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3632] album download info:

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3633] album name:ipc_emergency_record

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000013_20240219164952_GF.mp4

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000012_20240218173231_GF.mp4

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000011_20240218163639_GF.mp4

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000009_20240218112636_GF.mp4

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000006_20240201161539_GF.mp4

[02-28 15:35:56 ty D][tuya_ipc_p2p.c:3636] file 000005_20240201154034_GF.mp4

[02-28 15:35:56 ty D][ty_sdk_media_callback.c:309] ###############################################
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:310] p2p rev event cb=[204] start
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:469] ###############################################
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:470] tuya_ipc_stor_album_cb() p2p rev event cb=[204] start
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:500] start download

[02-28 15:35:56 ty D][tuya_ipc_album.c:991] ab:abum[ipc_emergency_record] dl status 1 fileCnt 6
[02-28 15:35:56 ty E][tuya_ipc_album.c:1005] ab:aburm ipc_emergency_record status 1 cnt 6 thunbnail 1
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105756, rept_cnt:23.
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105756, rept_cnt:20.
[02-28 15:35:56 ty D][tal_thread.c:204] Thread:ss_album_downlo Exec Start. Set to Running Stat
[02-28 15:35:56 ty D][tuya_ipc_album.c:687] ab:__begin
[02-28 15:35:56 ty I][tal_thread.c:185] thread_create name:ss_album_download,stackDepth:524288,totalstackDepth:1234431,priority:3
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:547] tuya_ipc_stor_album_cb() p2p rev event cb=[204] end
[02-28 15:35:56 ty D][ty_sdk_sd_card.c:548] ###############################################
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:893] p2p rev event cb=[204] end ret = 0
[02-28 15:35:56 ty D][ty_sdk_media_callback.c:894] ###############################################
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":75}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105756, rept_cnt:15.
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:56 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105756, rept_cnt:19.
[02-28 15:35:56 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:56 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105756, rept_cnt:0.
[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000013_20240219164952_GF.mp4 unreadable
[02-28 15:35:57 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:57 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105757, rept_cnt:15.
[02-28 15:35:57 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:57 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000012_20240218173231_GF.mp4 unreadable
[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000011_20240218163639_GF.mp4 unreadable
[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000009_20240218112636_GF.mp4 unreadable
[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000006_20240201161539_GF.mp4 unreadable
[02-28 15:35:57 ty E][tuya_ipc_album.c:742] ab:abs_file /mnt/mmc/DCIM/ipc_emergency_record/thumbnail/000005_20240201154034_GF.mp4 unreadable
[02-28 15:35:57 ty D][tuya_ipc_album.c:767] ab:total file [6/6]
[02-28 15:35:57 ty D][tuya_ipc_album.c:775] ab:dl exit1
[02-28 15:35:57 ty D][tuya_ipc_album.c:494] ab:__begin
[02-28 15:35:57 ty D][tuya_ipc_album.c:505] ab:free p_file_info_arr

[02-28 15:35:57 ty D][tuya_ipc_album.c:777] ab:dl exit2
ens33 No such device

ifconfig: ens33: error fetching interface information: Device not found
ifconfig: ens33: error fetching interface information: Device not found
WIFI[0] Get IP:
ens33 No such device

ifconfig: ens33: error fetching interface information: Device not found
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41601 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6238
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:57 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41602 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6239
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:57 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41603 Q:1 Data:{"dps":{"237":true}}
ifconfig: ens33: error fetching interface information: Device not found
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6240
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:57 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41604 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6241
WIFI[0] Get IP:
[15:35:57:261 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:57 ty D][smart_frame.c:428] dp_cntl value:75, dp_data value:75
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":75}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41605 Q:1 Data:{"dps":{"239":75}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6242
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41606 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6243
[02-28 15:35:57 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:57 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:57 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:57 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:57 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:57 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41607 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:57 ty D][tuya_svc_mqtt_client.c:427] packet id: 6244
ens33 No such device

ifconfig: ens33: error fetching interface information: Device not found
ifconfig: ens33: error fetching interface information: Device not found
WIFI[0] Get IP:
[02-28 15:35:57 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:57 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105757, rept_cnt:30.
[02-28 15:35:57 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:57 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105757, rept_cnt:29.
[02-28 15:35:57 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:57 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105757, rept_cnt:24.
[02-28 15:35:57 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:57 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105757, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:21.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":75}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:16.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:20.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105758, rept_cnt:16.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:58 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<235> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"235":"22.730284,114.056107"}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41608 Q:1 Data:{"dps":{"235":"22.730284,114.056107"}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6245
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<236> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:58 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"236":0}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41609 Q:1 Data:{"dps":{"236":0}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6246
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<237> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:0
[02-28 15:35:58 ty D][smart_frame.c:416] dp_cntl bool:1, dp_data bool:1
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"237":true}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41610 Q:1 Data:{"dps":{"237":true}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6247
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<238> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:58 ty D][smart_frame.c:428] dp_cntl value:0, dp_data value:0
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"238":0}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41611 Q:1 Data:{"dps":{"238":0}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6248
[15:35:58:287 ERROR-]:LD_TUYA_GpsReportThread[288]:IPC_APP_update_gps_info gps_str=22.730284,114.056107! gps_speed=0, gps_start=1, mile=0
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<239> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:58 ty D][smart_frame.c:428] dp_cntl value:75, dp_data value:50
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"239":50}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41612 Q:1 Data:{"dps":{"239":50}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6249
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<241> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:2
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"241":"89860621320035305830"}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41613 Q:1 Data:{"dps":{"241":"89860621320035305830"}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6250
[02-28 15:35:58 ty D][smart_frame.c:3797] rept chan:1
[02-28 15:35:58 ty D][smart_frame.c:410] dp<240> check. need_update:1 pv_stat:3 trig_t:0 dp_rept_type:0 force_send:1 prop_tp:1
[02-28 15:35:58 ty D][smart_frame.c:428] dp_cntl value:100, dp_data value:100
[02-28 15:35:58 ty D][smart_frame.c:518] is_need_update:1, is_dp_passive:0
[02-28 15:35:58 ty D][smart_frame.c:2492] dp rept_type:0, data:{"240":100}
[02-28 15:35:58 ty D][mqc_app.c:691] Send MQTT Msg.P:4 N:41614 Q:1 Data:{"dps":{"240":100}}
[02-28 15:35:58 ty D][tuya_svc_mqtt_client.c:427] packet id: 6251
[02-28 15:35:58 ty D][tuya_ipc_p2p.c:4156] session cmd send proc alive [184000] num[1]
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"235":"22.730284,114.056107"}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:235, curr_t:1709105758, rept_cnt:31.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:235, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:235, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"236":0}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:236, curr_t:1709105758, rept_cnt:30.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:236, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:236, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"237":true}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:237, curr_t:1709105758, rept_cnt:25.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:237, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:237, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"238":0}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:22.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:238, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"239":50}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:17.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:239, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"241":"89860621320035305830"}}, mqtt async dp cb:0
[02-28 15:35:58 ty D][smart_frame.c:214] set short dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:21.
[02-28 15:35:58 ty D][smart_frame.c:222] set long dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:231] set all dp rate rule, dpID:241, curr_t:1709105758, rept_cnt:0.
[02-28 15:35:58 ty D][smart_frame.c:2061] msg_data:{"dps":{"240":100}}, mqtt async dp cb:0
[02-28 15:35:59 ty D][smart_frame.c:214] set short dp rate rule, dpID:240, curr_t:1709105759, rept_cnt:17.
[02-28 15:35:59 ty D][smart_frame.c:222] set long dp rate rule, dpID:240, curr_t:1709105759, rept_cnt:0.
[02-28 15:35:59 ty D][smart_frame.c:231] set all dp rate rule, dpID:240, curr_t:1709105759, rept_cnt:0.
[02-28 15:35:59 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

[02-28 15:35:59 ty E][ty_sdk_sd_card.c:113] ToDo......tuya_ipc_sd_get_mode_config

HanW
Posts: 34

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

日志比较大,我截取了部分。你看看是否有用。谢谢你。

设置代码如下:
#define SD_PATH "/mnt/mmc/"

#define TUYA_IPC_ALBUM_EMERAGE_FILE "ipc_emergency_record" // 行车记录仪的紧急抓拍
#define TUYA_IPC_ALBUM_LAPSE_FILE "ipc_time_lapse_record"
#define TUYA_IPC_ALBUM_PARK_FILE "ipc_parking_monitoring"

Code: Select all

    TUYA_IPC_STORAGE_VAR_T stg_var;

    memset(&stg_var, 0, SIZEOF(TUYA_IPC_STORAGE_VAR_T));
    strcpy(stg_var.base_path, SD_PATH);

    stg_var.max_event_per_day = 500;
    stg_var.skills = 0;
    stg_var.sd_status_changed_cb = tuya_ipc_sd_status_upload;

    stg_var.album_info.cnt = 3;
    memcpy(&stg_var.album_info.album_name[0], TUYA_IPC_ALBUM_EMERAGE_FILE, strlen(TUYA_IPC_ALBUM_EMERAGE_FILE));
    memcpy(&stg_var.album_info.album_name[1], TUYA_IPC_ALBUM_LAPSE_FILE, strlen(TUYA_IPC_ALBUM_LAPSE_FILE));
    memcpy(&stg_var.album_info.album_name[2], TUYA_IPC_ALBUM_PARK_FILE, strlen(TUYA_IPC_ALBUM_PARK_FILE));

    ret = tuya_ipc_ss_init(&stg_var);
    printf("local storage init result is %d\n", ret);
User avatar
Passat
Posts: 29

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

根据你表达的意思,应该是APP 请求数据时,找错了路径,应该在 /mnt/mmc/DCIM/ipc_emergency_record/ 中找000012_20240218173231_GF.mp4 ,但根据日志,查找的路径是 /mnt/mmc/DCIM/ipc_emergency_record/thumbnail。

原因可能如下:
设备端 tuya_ipc_album_set_download_status 处理远端读取数据的请求时,传参 SS_ALBUM_DOWNLOAD_START_INFO_T 中 thumbnail 字段应该填写 0,才会在正常的相册文件夹中查找录像。 thumbnail 为 1 ,表示要在缩略图文件夹中查找资源。

HanW
Posts: 34

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

是的。我看日志执行的相关代码如下:
case MEDIA_STREAM_ALBUM_DOWNLOAD_START: /* start download album */
{
C2C_CMD_IO_CTRL_ALBUM_DOWNLOAD_START *pSrcType = (C2C_CMD_IO_CTRL_ALBUM_DOWNLOAD_START *)args;
PR_DEBUG("start download\n");
SS_DOWNLOAD_STATUS_E status = 0;
SS_ALBUM_DOWNLOAD_START_INFO_T strStarInfo = {0};
strStarInfo.session_id = pSrcType->channel;
memcpy(strStarInfo.album_name, pSrcType->albumName, strlen(pSrcType->albumName));
strStarInfo.file_count = pSrcType->fileTotalCnt;
strStarInfo.thumbnail = pSrcType->thumbnail;
strStarInfo.p_file_info_arr = (SS_FILE_PATH_T *)pSrcType->pFileInfoArr;
int ret = tuya_ipc_album_set_download_status(SS_DL_START, &strStarInfo);
if (0 != ret)
{
PR_DEBUG("err %d\n", ret);
}
break;
}
如你所诉,日志里面thumbnail变量确实为1.
然后,我想请问一下。这个是逻辑不对?还是SDK需要修改呢?还是我这边需要修改一下代码?如果我这边需要修改的话,能指导一下我怎么修改吗? 谢谢你! 因为目前点击“紧急录像”标签。相关功能未达到预期。

User avatar
Passat
Posts: 29

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

  1. APP是用涂鸦公版的吗?还是你们自己的?
  2. 正常情况下,APP获取非缩略图的数据时,发给设备的数据中 thumbnail 标记应该为0。
  3. 当前 thumbnail 标记为1,且请求的数据 mp4 文件(缩略图文件夹中数据一般为JPG格式),说明APP端请求存在异常。
HanW
Posts: 34

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

谢谢你的解答。
涂鸦APP,我是在Android应用市场下载的。应该是公版吧。
请问,那我应该如何解决该问题呢?

另外还有一个问题。就是在帖子开始提到的设备内存不够问题。根据贵公司的回复,需要获取正式版,才会把库里的资源文件去掉,从而减小贵公司库文件的大小。我想请问一下。我应该如何获取正式版的库文件呢?谢谢你们!

User avatar
pippin-bobo
Posts: 164

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

内存这个您这边可能理解错了,您现在使用的就是正式版本。
可执行程序去掉音视频相关的源文件是指,你们在正式集成芯片编解码数据的时候必然不会使用demo素材,就不会有可执行程序很大的问题。

User avatar
Passat
Posts: 29

Re: 【求助】【TuyaOS SDK】对接4G行车记录仪问题

可以先尝试,tuya_ipc_album_set_download_status 的入参中,将 thumbnail 标记强制改为 0,看下能否达到效果?

Post Reply