对话,回复好慢,有时候也不回复
tkl_net_socket_create type(0), fd(5)!
[07-10 10:43:07 ty D][706c][tcp_transporter.c:75] bind ip:c0a8019f port:0 ok
[07-10 10:43:07 ty D][706c][tuya_tls.c:1018] MAX SECURITY_LEVEL:1, TUYA SECURITY_LEVEL:1, mode:1
[07-10 10:43:07 ty D][706c][tuya_tls.c:1027] TUYA_TLS Begin Connect a6.tuyacn.com:443
[07-10 10:43:07 ty D][706c][tuya_tls.c:775] mbedtls authmode: MBEDTLS_SSL_VERIFY_REQUIRED
[07-10 10:43:07 ty D][706c][tuya_tls.c:788] load tuya cert.
[07-10 10:43:07 ty D][706c][tuya_cert_manager.c:213] p_url:a6.tuyacn.com, rcs.urlx:h6-ay.iot-dns.com
[07-10 10:43:07 ty D][706c][tuya_cert_manager.c:236] tuya public url
[07-10 10:43:07 ty D][706c][tuya_cert_manager.c:1100] parse crt <0> len <540> ret <0>
[07-10 10:43:07 ty D][706c][tuya_tls.c:1118] socket fd is set. set to inner send/recv to handshake
vad_start_flag
------------vad start----------
[07-10 10:43:08 ty D][7839][tuya_ai_toy.c:338] ----------AUDIO_RECODER_VAD_START----------
[07-10 10:43:08 ty D][7839][tuya_simple_player.c:258] __simple_get_status
[07-10 10:43:08 ty D][7839][tuya_simple_player.c:258] __simple_get_status
[07-10 10:43:08 ty D][7839][tuya_led.c:170] pinname:8
[07-10 10:43:08 ty N][7fd7][tuya_ai_proc.c:171] AI_PROC_AUDIO START
[07-10 10:43:08 ty D][7fd7][tuya_ai_chat_protocol.c:435] tuya ai upload start...
[07-10 10:43:08 ty D][7fd7][tuya_ai_event.c:59] send event rt:0, type:0
[07-10 10:43:08 ty N][7fd7][tuya_ai_event.c:76] event id is b1f753f9-8c6d-4bba-80d3-77d8-73014aa6
[07-10 10:43:08 ty D][7fd7][tuya_ai_chat_protocol.c:463] upload start event_id:b1f753f9-8c6d-4bba-80d3-77d8-73014aa6
[07-10 10:43:08 ty D][7839][audio_recorder.c:623] recoder stat change: AUDIO_RECODER_CHECK_START -> AUDIO_RECODER_CHECK_END
[07-10 10:43:08 ty D][706c][tuya_tls.c:748] mbedtls_cert_pkey_free.
[07-10 10:43:08 ty D][706c][tuya_tls.c:1180] handshake finish for a6.tuyacn.com. set send/recv to user set
[07-10 10:43:08 ty D][706c][tuya_tls.c:1185] TUYA_TLS Success Connect a6.tuyacn.com:443 Suit:TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
[07-10 10:43:08 ty D][706c][httpc.c:637] Connect: a6.tuyacn.com Port: 443 --<< ,r:0
[07-10 10:43:08 ty D][706c][iot_httpc.c:619] Decode Rev:{"result":{"code":200,"data":{}},"t":1752115389,"success":true}
[07-10 10:43:09 ty D][706c][tls_transporter.c:93] tls transporter close socket fd:5
[07-10 10:43:09 ty D][706c][tcp_transporter.c:173] tcp transporter close socket fd:5
[07-10 10:43:09 ty D][706c][tls_transporter.c:101] tls transporter close tls handler:0x607ebe78
[07-10 10:43:09 ty D][706c][tuya_tls.c:1262] TUYA_TLS Disconnect ENTER
[07-10 10:43:09 ty D][706c][tuya_tls.c:1287] TUYA_TLS Disconnect Success
[07-10 10:43:09 ty D][706c][tuya_tls.c:980] tuya_tls_connect_destroy.
[07-10 10:43:09 ty N][706c][astro_timer.c:407] astro timer is delete
cleared tcp_ps_flag.
[07-10 10:43:09 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 39456, psram: 4200344
[07-10 10:43:10 ty D][7e3c][tuya_ai_chat_protocol.c:84] recv event type:0, session_id:c36fb014-385e-4efd-bab3-de73-ba1f6b8e, event_id:b1f753f9-8c6d-4bba-80d3-77d8-73014aa6, attr:
[07-10 10:43:10 ty D][7e3c][tuya_ai_chat_protocol.c:84] recv event type:4, session_id:c36fb014-385e-4efd-bab3-de73-ba1f6b8e, event_id:7ca0125b-40de-44b5-a5b3-2a31-aa1895cb, attr: �
[07-10 10:43:10 ty D][7e3c][tuya_ai_chat_protocol.c:98] recv chat break or srv vad, but current stream is empty
[07-10 10:43:10 ty D][70a5][mqc_app.c:374] Rev MQTT:{"data":{"bizType":"EVENT","data":{"data":{"eventId":"7ca0125b-40de-44b5-a5b3-2a31-aa1895cb","time":"1752115390753"},"type":"asrInterrupt"},"bizId":"b1f753f9-8c6d-4bba-80d3-77d8-73014aa6"},"protocol":9000,"s":1396739,"t":1752115390}
[07-10 10:43:10 ty D][70a5][tuya_ai_chat_protocol.c:84] recv event type:4, session_id:c36fb014-385e-4efd-bab3-de73-ba1f6b8e, event_id:7ca0125b-40de-44b5-a5b3-2a31-aa1895cb, attr:
[07-10 10:43:10 ty D][70a5][tuya_ai_chat_protocol.c:98] recv chat break or srv vad, but current stream is empty
[07-10 10:43:10 ty D][7082][tuya_devos_health.c:71] feed watchdog
[07-10 10:43:11 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 81600, psram: 4239848
[07-10 10:43:13 ty N][706c][tuya_ai_protocol.c:1779] ai ping
[07-10 10:43:13 ty N][7e3c][tuya_ai_client.c:244] ai pong
[07-10 10:43:13 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 77392, psram: 4239848
[07-10 10:43:15 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 77392, psram: 4239848
[07-10 10:43:16 ty N][703d][tuya_key.c:404] __key_tickless_trig_timer_cb enter
[07-10 10:43:16 ty D][703d][tal_sleep.c:69] <tal_cpu_lp> disable_cnt:0
-- cpu sleep set enable:1, mode:0
[07-10 10:43:18 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 67296, psram: 4239848
[07-10 10:43:20 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 77392, psram: 4239848
[07-10 10:43:20 ty D][7082][tuya_devos_health.c:71] feed watchdog
[07-10 10:43:22 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 81600, psram: 4239848
[07-10 10:43:24 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 47688, psram: 4239848
[07-10 10:43:26 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 68920, psram: 4239848
[07-10 10:43:28 ty N][7839][audio_recorder.c:659] cpu0 mem usage sram: 81600, psram: 4239848
以上是从说话到说话后的log