对话过程中的错误

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
13160058813
Posts: 15

1、T5开发板,去掉了UI,对话过程中log一直报错,没有现象问题,对话正常
附件是log

部分log如下:
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_ai_chat_protocol.c:159] skill code: emo
[07-02 18:29:59 ty D][7d81][tuya_speaker_service.c:1455] emo[0]: NEUTRAL
[07-02 18:29:59 ty D][7d81][tuya_ai_proc.c:125] emotion NEUTRAL
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1
[07-02 18:29:59 ty E][7d81][tuya_simple_player.c:293] feed error:-1
[07-02 18:29:59 ty D][7d81][tuya_astream.c:515] feed error, the params:-1

Attachments
对话log错误.txt
(390.12 KiB) Downloaded 7 times
愚者千虑必有一得
Posts: 631

Re: 对话过程中的错误

这个错误是设备的播放器已经关闭,云端还有数据推送过来,导致播放出错。如果你后续的对话没有问题,可以忽略这个错误log。如果后续的对话有问题,把完整的log提过过来。

13160058813
Posts: 15

Re: 对话过程中的错误

出现这个错误的时候,还有音频在播放的,这个现象是我把UI去掉+tuya_ai_toy.c里面的tuya_ai_display_msg去掉后才出现的。
我们的需求是不用ui的

13160058813
Posts: 15

Re: 对话过程中的错误

抱歉,现象反馈错误,是被打断了,没有播放声音了,
声音被打断了,没有播放云端下放的音频

13160058813
Posts: 15

Re: 对话过程中的错误

重新描述下现象:
通过如下图方式去掉了UI,会概率性报出被打断的错误,很大概率。

Attachments
4ffed68d0ba5eba16cbd7e24fb482d1.png
愚者千虑必有一得
Posts: 631

Re: 对话过程中的错误

会影响后续的交互吗?这个是设备本地vad打断,云端还不感知的情况,还在继续发包。 你的版本是哪个?

13160058813
Posts: 15

Re: 对话过程中的错误

[07-03 10:48:57 ty D][7a78][tuya_aqueue.c:276] send finish. ret:0
[07-03 10:48:57 ty D][7a78][tuya_ai_toy.c:145] player event: 2, url: bin://f0d88d05-72f8-413a-9f80-48e2-8870df0a, last_url: bin://fbbee942-70be-4276-a906-4349-5a3d67ca
[07-03 10:48:57 ty D][7a78][tuya_ai_toy.c:195] player start event 1
[07-03 10:48:57 ty D][7a78][tuya_ai_toy.c:111] ai_toy stat change: AI_TOY_THINK -> AI_TOY_SPEAK
[07-03 10:48:57 ty D][7a78][tuya_simple_player.c:527] on cmd [3] result:0
[07-03 10:48:57 ty D][7a4f][tuya_adecode.c:506] not need create resample
[07-03 10:48:57 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 81264, psram: 4181656

[07-03 10:48:59 ty D][707d][tuya_devos_health.c:71] feed watchdog
[07-03 10:48:59 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 81264, psram: 4181656

[07-03 10:49:00 ty N][7038][tuya_key.c:404] __key_tickless_trig_timer_cb enter
[07-03 10:49:00 ty D][7038][tal_sleep.c:69] <tal_cpu_lp> disable_cnt:0
-- cpu sleep set enable:1, mode:0
[07-03 10:49:02 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 69728, psram: 4170616

[07-03 10:49:04 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 72072, psram: 4171992

[07-03 10:49:06 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 71800, psram: 4171272

[07-03 10:49:08 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 70384, psram: 4172232

[07-03 10:49:09 ty D][707d][tuya_devos_health.c:71] feed watchdog
[07-03 10:49:10 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 72672, psram: 4170616

[07-03 10:49:12 ty N][7871][audio_recorder.c:659] cpu0 mem usage sram: 72216, psram: 4172712

vad_start_flag
------------vad start----------
[07-03 10:49:13 ty D][7871][tuya_ai_toy.c:394] ----------AUDIO_RECODER_VAD_START----------
[07-03 10:49:13 ty D][7871][tuya_simple_player.c:258] __simple_get_status
[07-03 10:49:13 ty D][7871][tuya_simple_player.c:258] __simple_get_status
[07-03 10:49:13 ty D][7871][tuya_simple_player.c:258] __simple_get_status
[07-03 10:49:13 ty D][7871][tuya_led.c:170] pinname:1
[07-03 10:49:13 ty N][7ea4][tuya_ai_proc.c:192] AI_PROC_AUDIO START
[07-03 10:49:13 ty D][7ea4][tuya_ai_chat_protocol.c:435] tuya ai upload start...
[07-03 10:49:13 ty D][7ea4][tuya_ai_event.c:59] send event rt:0, type:0
[07-03 10:49:13 ty N][7ea4][tuya_ai_event.c:76] event id is 0d5f9383-5577-46d7-aa4c-ff13-12ed5512
[07-03 10:49:13 ty D][7ea4][tuya_ai_chat_protocol.c:463] upload start event_id:0d5f9383-5577-46d7-aa4c-ff13-12ed5512
[07-03 10:49:13 ty D][7a78][tuya_simple_player.c:369] [1-0x28017bd8] TUYA_SIMPLE_CMD_STOP, state:2
[07-03 10:49:13 ty D][7871][audio_recorder.c:623] recoder stat change: AUDIO_RECODER_CHECK_START -> AUDIO_RECODER_CHECK_END
[07-03 10:49:13 ty D][7a4f][tuya_adecode.c:327] [0x6078ac98-ToneDecoder] TUYA_ADECODE_CMD_RESET, state:2
[07-03 10:49:13 ty D][789d][tuya_amix.c:101] [0x60787488] 1
[07-03 10:49:13 ty D][789d][tuya_amix.c:112] reset track:0x6070a700, success
[07-03 10:49:13 ty D][789d][tuya_amix.c:170] on cmd result:0
[07-03 10:49:13 ty D][7a4f][tuya_aqueue.c:276] send finish. ret:0
[07-03 10:49:13 ty D][789d][tuya_amix.c:101] [0x60787488] 3
[07-03 10:49:13 ty D][789d][tuya_amix.c:132] drop track:0x6070a700, success

通过上面的log看是vad在播放云下放的音频时突然出现了

Post Reply