ESP32 ADFexamples dueros fail : can weakup but dueros service fail.

tanghuanqiao
Posts: 6
Joined: Sun Sep 08, 2019 1:56 pm

ESP32 ADFexamples dueros fail : can weakup but dueros service fail.

Postby tanghuanqiao » Wed Sep 11, 2019 3:04 pm

log:


----------------------------- ESP Audio Platform -----------------------------
I (947) AUDIO_ELEMENT: [filter] Element task created
I (959) AUDIO_ELEMENT: [raw] Element task created
I (965) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:324, MEM Total:4280132 Bytes, Inter:181688
Bytes, Dram:147768 Bytes

I (970) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (978) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (983) wifi: state: init -> auth (b0)
I (988) I2S_STREAM: AUDIO_STREAM_READER,Rate:48000,ch:2
I (996) wifi: state: auth -> assoc (0)
I (1000) I2S: APLL: Req RATE: 48000, real rate: 47999.961, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 122
87990.000, SCLK: 1535998.750000, diva: 1, divb: 0
I (1006) wifi: state: assoc -> run (10)
I (977) AUDIO_PIPELINE: Pipeline started
I (1022) DUEROS: Recorder has been created
I (1020) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1
I (1029) wifi: connected with TangPhone, channel 6
I (1028) REC_ENG: ESP SR Engine, chunksize is 480��� FRAME_SIZE:960, frequency:16000
I (1042) wifi: pm start, type: 1

E (1046) REC_ENG: Recorder Engine Running ..., vad_window=9, wakeup=10000 ms, vad_off=800 ms, thr
eshold=90 ms, sensitivity=0
I (1043) RSP_FILTER: sample rate of source data : 48000, channel of source data : 2, sample rate
of destination data : 16000, channel of destination data : 1
I (1061) REC_ENG: state idle
| |
| ESP_AUDIO v1.2-dc23f7a |
| Compile date: Aug 5 2019-15:37:00 |
------------------------------------------------------------------------------
I (1112) ESP_AUDIO_CTRL: Func:media_ctrl_create, Line:146, MEM Total:4256872 Bytes, Inter:162604
Bytes, Dram:128684 Bytes

I (1124) AUDIO_HAL: Codec mode is 3, Ctrl:1
W (1151) I2S: I2S driver already installed
I (1151) LYRAT_V4_3: I2S0, MCLK output by GPIO0
I (1152) STAGEFRIGHTMP3_DECODER: MP3 init
I (1157) AUDIO_WRAPPER: Func:setup_player, Line:155, MEM Total:4253040 Bytes, Inter:158680 Bytes,
Dram:124760 Bytes

I (1166) AUDIO_WRAPPER: esp_audio instance is:0x3f809b08
I (1649) event: sta ip: 172.20.10.4, mask: 255.255.255.240, gw: 172.20.10.1
I (1650) WIFI_SERV: Got ip:172.20.10.4
W (1651) WIFI_SERV: STATE type:2, pdata:0x0, len:0
I (1656) DUEROS: PERIPH_WIFI_CONNECTED [192]
I (1787,tid:3ffbc76c) lightduer_session.c( 44):random = 75933
E (1873) DUEROS: Recv Que DUER_CMD_LOGIN
I (1874) DUEROS: duer_start, len:1470
{"configures":"{}","bindToken":"1751ae90b276dee5a502f35ccaa40f8b","coapPort":443,"token":"6duygJf
cAizU8kW78a6QdsMwfQbERssQ","serverAddr":"device.iot.baidu.com","lwm2mPort":443,"uuid":"1dfd000000
000a","rsaCaCrt":"-----BEGIN CERTIFICATE-----\nMIIDUDCCAjgCCQCmVPUErMYmCjANBgkqhkiG9w0BAQUFADBqMQ
swCQYDVQQGEwJD\nTjETMBEGA1UECAwKU29tZS1TdGF0ZTEOMAwGA1UECgwFYmFpZHUxGDAWBgNVBAMM\nDyouaW90LmJhaWR
1LmNvbTEcMBoGCSqGSIb3DQEJARYNaW90QGJhaWR1LmNvbTAe\nFw0xNjAzMTEwMzMwNDlaFw0yNjAzMDkwMzMwNDlaMGoxCz
AJBgNVBAYTAkNOMRMw\nEQYDVQQIDApTb21lLVN0YXRlMQ4wDAYDVQQKDAViYWlkdTEYMBYGA1UEAwwPKi5p\nb3QuYmFpZHU
uY29tMRwwGgYJKoZIhvcNAQkBFg1pb3RAYmFpZHUuY29tMIIBIjAN\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtbhIei
N7pznzuMwsLKQj2xB02+51\nOvCJ5d116ZFLjecp9qtllqOfN7bm+AJa5N2aAHJtsetcTHMitY4dtGmOpw4dlGqx\nluoz50k
WJWQjVR+z6DLPnGE4uELOS8vbKHUoYPPQTT80eNVnl9S9h/l7DcjEAJYC\nIYJbf6+K9x+Ti9VRChvWcvgZQHMRym9j1g/7CK
GMCIwkC+6ihkGD/XG40r7KRCyH\nbD53KnBjBO9FH4IL3rGlZWKWzMw3zC6RTS2ekfEsgAtYDvROKd4rNs+uDU9xaBLO\ndXT
l5uxgudH2VnVzWtj09OUbBtXcQFD2IhmOl20BrckYul+HEIMR0oDibwIDAQAB\nMA0GCSqGSIb3DQEBBQUAA4IBAQCzTTH91j
Nh/uYBEFekSVNg1h1kPSujlwEDDf/W\npjqPJPqrZvW0w0cmYsYibNDy985JB87MJMfJVESG/v0Y/YbvcnRoi5gAenWXQNL4\
nh2hf08A5wEQfLO/EaD1GTH3OIierKYZ6GItGrz4uFKHV5fTMiflABCdu37ALGjrA\nrIjwjxQG6WwLr9468hkKrWNG3dMBHK
vmqO8x42sZOFRJMkqBbKzaBd1uW4xY5XwM\nS1QX56tVrgO0A3S+4dEg5uiLVN4YVP/Vqh4SMtYkL7ZZiZAxD9GtNnhRyFsWl
C2r\nOVSdXs1ttZxEaEBGUl7tgsBte556BIvufZX+BXGyycVJdBu3\n-----END CERTIFICATE-----\n","macId":"","v
ersion":14489}
W (2008) DUEROS: duer_callback: type:0, source:0x3f806b8c data:2, data_len:0
I (1922,tid:3ffbc76c) lightduer_engine.c( 220):duer_engine_start, g_handler:3F80CAAC, length:1470
, profile:3F80D690
I (1937,tid:3ffbc76c) lightduer_ca_conf.c( 38): duer_conf_get_string: uuid = 1dfd000000000a
I (1946,tid:3ffbc76c) lightduer_ca_conf.c( 38): duer_conf_get_string: serverAddr = device.iot
.baidu.com
I (1975,tid:3ffbc76c) baidu_ca_socket_adp.c( 134):DNS lookup succeeded. IP=163.177.151.84
I (2033,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
W (2033,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9BB4, timespent
= 112
I (2956,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
W (2956,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9D48, timespent
= 878
I (2963,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (2973,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (2980,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (2988,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (2997,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3005,tid:3ffbc76c) lightduer_engine.c( 220):duer_engine_start, g_handler:3F80CAAC, length:0, p
rofile:00000000
I (3015,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
W (3147,tid:3ffbc76c) lightduer_coap.c( 532):duer_coap_nsdl_tx: sent = 0
I (3148,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3159,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3163,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3169,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3178,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3185,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3732,tid:3ffbc76c) lightduer_connagent.c( 177):connect started!
I (3734,tid:3ffbc76c) lightduer_voice.c( 697):Mutex initializing
I (3734,tid:3ffbc76c) lightduer_ds_log_cache.c( 67):no cache report
E (3825) DUEROS: event: 0
I (3828) DUEROS: duer_dcs_init
I (3748,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.private.protocol
I (3755,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.screen_e
xtended_card
I (3765,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.system
I (3772,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_in
put
I (3781,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_ou
tput
I (3791,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.speaker_
controller
I (3800,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.audio_pl
ayer
I (3895) AUDIO_WRAPPER: duer_dcs_get_speaker_state
E (3904) DUEROS: event: DUER_EVENT_STARTED
I (3904) DUEROS: Dueros DUER_CMD_CONNECTED, duer_state:2
W (3819,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9D48, timespent
= 91
I (3835,tid:3ffbc76c) lightduer_connagent.c( 212):add resource successfully!!
W (3912) DUEROS: duer_callback: type:0, source:0x3f806b8c data:3, data_len:0
I (3841,tid:3ffbc76c) lightduer_connagent.c( 212):add resource successfully!!
W (3855,tid:3ffbc76c) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1,
qcache_len:4
W (3868,tid:3ffbc76c) lightduer_system_info.c( 306):Undefined memory type, 0
E (3873,tid:3ffbc76c) lightduer_system_info.c( 389):Sys Info: Get disk info failed

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: ESP32 ADFexamples dueros fail : can weakup but dueros service fail.

Postby jason.mao » Mon Oct 28, 2019 2:10 am

Hi tanghuanqiao,

The state of `DUER_EVENT_STARTED ` means is connect to Dueros success.
`E (3873,tid:3ffbc76c) lightduer_system_info.c( 389):Sys Info: Get disk info failed` actually is warning information.

kairui
Posts: 20
Joined: Sat Feb 08, 2020 3:41 pm

Re: ESP32 ADFexamples dueros fail : can weakup but dueros service fail.

Postby kairui » Mon Feb 24, 2020 9:18 am

Hi tanghuanqiao,
请教下这个问题怎么解决的呢,我也遇到了同样的问题,只能唤醒,谢谢!

Who is online

Users browsing this forum: No registered users and 41 guests