Closed mano1979 closed 6 years ago
You can listen to the audio in the Alexa app. Does it sound right?
The app says it is not online. However, i saw that same message with AlexaPi on a raspberry pi, wich worked great.
Is the app supposed to see the alexa client by itself?
I managed to fix the "Offline" issue by changing the server location from europe to US. Nkw it shows online.
But that is it. I see no commands in the app (voice recordings)
Here is the output from booting:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5544
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:13716
entry 0x40078fb4
[0;32mI (30) boot: ESP-IDF v3.1-dev-137-g4f44d16 2nd stage bootloader[0m
[0;32mI (30) boot: compile time 06:11:43[0m
[0;32mI (30) boot: Enabling RNG early entropy source...[0m
[0;32mI (36) boot: SPI Speed : 40MHz[0m
[0;32mI (40) boot: SPI Mode : DIO[0m
[0;32mI (44) boot: SPI Flash Size : 4MB[0m
[0;32mI (48) boot: Partition Table:[0m
[0;32mI (52) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (59) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (67) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (74) boot: 2 factory factory app 00 00 00010000 00200000[0m
[0;32mI (82) boot: End of partition table[0m
[0;32mI (86) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x72638 (468536) map[0m
[0;32mI (257) esp_image: segment 1: paddr=0x00082660 vaddr=0x3ffb0000 size=0x06244 ( 25156) load[0m
[0;32mI (267) esp_image: segment 2: paddr=0x000888ac vaddr=0x40080000 size=0x00400 ( 1024) load[0m
[0;32mI (268) esp_image: segment 3: paddr=0x00088cb4 vaddr=0x40080400 size=0x0735c ( 29532) load[0m
[0;32mI (287) esp_image: segment 4: paddr=0x00090018 vaddr=0x400d0018 size=0xedb3c (973628) map[0m
[0;32mI (626) esp_image: segment 5: paddr=0x0017db5c vaddr=0x4008775c size=0x0b30c ( 45836) load[0m
[0;32mI (645) esp_image: segment 6: paddr=0x00188e70 vaddr=0x400c0000 size=0x00000 ( 0) load[0m
[0;32mI (657) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (657) boot: Disabling RNG early entropy source...[0m
[0;32mI (658) cpu_start: Pro cpu up.[0m
[0;32mI (661) cpu_start: Starting app cpu, entry point is 0x40081060[0m
[0;32mI (0) cpu_start: App cpu up.[0m
[0;32mI (672) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (678) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (684) heap_init: At 3FFC1BD0 len 0001E430 (121 KiB): DRAM[0m
[0;32mI (691) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m
[0;32mI (697) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (703) heap_init: At 40092A68 len 0000D598 (53 KiB): IRAM[0m
[0;32mI (710) cpu_start: Pro cpu start user code[0m
[0;32mI (56) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
[0;32mI (58) main: starting app_main()[0m
[0;33mW (58) main: 168: - RAM left 239196[0m
[0;31mE (58) main: MAC address: 30:ae:a4:38:81:2c[0m
[0;32mI (98) main: hardware initialized[0m
[0;32mI (98) renderer: init I2S mode 2, port 0, 16 bit, 44100 Hz[0m
[0;32mI (98) I2S: queue free spaces: 1[0m
[0;32mI (98) I2S: DMA Malloc info, datalen=blocksize=256, dma_buf_count=32[0m
[0;32mI (108) I2S: PLL_D2: Req RATE: 44100, real rate: 2777.000, BITS: 16, CLKM: 30, BCK: 60, MCLK: 30.234, SCLK: 88864.000000, diva: 64, divb: 14[0m
[0;32mI (118) I2S: DMA Malloc info, datalen=blocksize=512, dma_buf_count=32[0m
[0;32mI (128) I2S: PLL_D2: Req RATE: 16000, real rate: 16025.000, BITS: 32, CLKM: 39, BCK: 4, MCLK: 4096000.000, SCLK: 1025600.000000, diva: 64, divb: 4[0m
[0;33mW (138) main: 194: - RAM left 193168[0m
[0;32mI (138) alexa: 572: - RAM left 193168[0m
[0;32mI (148) asio: adding task: led_ui[0m
I (158) wifi: wifi firmware version: 275023b
I (158) wifi: config NVS flash: enabled
I (158) wifi: config nano formating: disabled
[0;32mI (168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (178) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (188) wifi: Init dynamic tx buffer num: 32
I (188) wifi: Init data frame dynamic rx buffer num: 32
I (188) wifi: Init management frame dynamic rx buffer num: 32
I (188) wifi: wifi driver task: 3ffd2898, prio:23, stack:4096
I (198) wifi: Init static rx buffer num: 10
I (198) wifi: Init dynamic rx buffer num: 32
I (198) wifi: wifi power manager task: 0x3ffd74d8 prio: 21 stack: 2560
[0;32mI (298) phy: phy_version: 366.0, ba9923d, Oct 31 2017, 18:06:17, 0, 0[0m
I (298) wifi: mode : sta (30:ae:a4:38:81:2c)
[0;32mI (298) asio: adding task: <unknown>[0m
[0;32mI (298) wifi: received wifi event 2[0m
[0;32mI (298) asio: adding task: refresh_auth_token[0m
[0;32mI (308) wifi: connected successfully[0m
[0;33mW (308) alexa: 592: - RAM left 162048[0m
[0;32mI (318) asio: adding task: downchannel[0m
[0;32mI (318) asio: adding task: send_initial_state[0m
[0;33mW (328) led_ui: UI initialized on pin 4[0m
[0;32mI (328) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:1 [0m
[0;31mE (348) led_ui: setColors 0=1, 1=0[0m
I (428) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (1408) wifi: state: init -> auth (b0)
I (1418) wifi: state: auth -> assoc (0)
I (1428) wifi: state: assoc -> run (10)
I (1798) wifi: connected with UPC247731094, channel 6
[0;32mI (1808) wifi: received wifi event 4[0m
[0;32mI (2638) event: sta ip: 192.168.192.47, mask: 255.255.255.0, gw: 192.168.192.1[0m
[0;32mI (2638) wifi: received wifi event 7[0m
[0;32mI (2648) sntp: Initializing SNTP[0m
[0;32mI (2648) sntp: Waiting for system time to be set... (1/40)[0m
[0;32mI (2848) nghttp2: new nghttp session, uri: https://alexa.boeckling.net/auth/refresh/Atzr|IwEBIHgqSoHFysB4hdpjgvLrYOB_k7NngKJQnxYduwXrQhyintACbRqmbf5fA7io18Sje8LcNBm3NgPksMX1SrVE9HeCIAuzd_NhPXA2bbSFgw5HlM8SWAqDz6g4wDlCo-cic6AqIkPqH-FutksyecSK3zR_1rQMXo8cwzDmTWZQwTaOLoDWKq15nSN7Z8zTGm1cztPeRA69YCdq2FL2SuDHhHP7aJCm_KCu9TOGwCI65RviGYRbed9anWOO4KFgCAdpU27_Sg-njHqV8miaBKUVXBqPoOXOYHjdZEDjyMjb50IwQStK9Db_5cdWoQuGQLwBl5QvoT1KHPpnEv0dPZ1Ej1ShHjLHODcJEDJC_jKhn7ukXFfLg-yTmhvJV4hcZ2OJ4mS4KlK0SrblWQBYqrW6jU_jiFwsRUp2OLEVlhli_p-hvh9w4pigA_fa0sUbMYHMumJ3iHdz0g7mkocQNabNKs6fXO0qsorMJxNnX9cZJOHSDAQIQW3sNdfJvM20ImijsaqzlhxLZ_VOHUgOK3hx46mL[0m
[0;32mI (2888) nghttp2: Writing HTTP request...[0m
[0;32mI (2898) nghttp2: Request headers:[0m
[0;32mI (2898) nghttp2: :method: GET[0m
[0;32mI (2898) nghttp2: :scheme: https[0m
[0;32mI (2908) nghttp2: :authority: alexa.boeckling.net[0m
[0;32mI (2908) nghttp2: :path: /auth/refresh/Atzr|IwEBIHgqSoHFysB4hdpjgvLrYOB_k7NngKJQnxYduwXrQhyintACbRqmbf5fA7io18Sje8LcNBm3NgPksMX1SrVE9HeCIAuzd_NhPXA2bbSFgw5HlM8SWAqDz6g4wDlCo-cic6AqIkPqH-FutksyecSK3zR_1rQMXo8cwzDmTWZQwTaOLoDWKq15nSN7Z8zTGm1cztPeRA69YCdq2FL2SuDHhHP7aJCm_KCu9TOGwCI65RviGYRbed9anWOO4KFgCAdpU27_Sg-njHqV8miaBKUVXBqPoOXOYHjdZEDjyMjb50IwQStK9Db_5cdWoQuGQLwBl5QvoT1KHPpnEv0dPZ1Ej1ShHjLHODcJEDJC_jKhn7ukXFfLg-yTmhvJV4hcZ2OJ4mS4KlK0SrblWQBYqrW6jU_jiFwsRUp2OLEVlhli_p-hvh9w4pigA_fa0sUbMYHMumJ3iHdz0g7mkocQNabNKs6fXO0qsorMJxNnX9cZJOHSDAQIQW3sNdfJvM20ImijsaqzlhxLZ_VOHUgOK3hx46mL[0m
[0;32mI (2958) nghttp2: created new stream: 1[0m
[0;33mW (2968) nghttp2: 859: - RAM left 138992[0m
[0;32mI (2968) asio: adding task: alexa.boeckling.net[0m
Algorithms:
[0;32mI (2978) asio: removing task: refresh_auth_token[0m
[0;33mW (2988) asio: 96: - RAM left 131456[0m
connecting to: 188.226.169.151
connected.
WARNING: no configured trust anchor
[0;33mW (3048) led_ui: switching anim[0m
[0;31mE (3048) led_ui: setColors 0=-2146289036, 1=1073545904[0m
I (4428) wifi: pm start, type:0
Handshake completed
version: TLS 1.2
cipher suite: ECDHE_RSA_WITH_AES_256_GCM_SHA384
ECDHE curve: secp384r1 (P-384)
secure renegotiation: yes
protocol name (ALPN): h2
[0;32mI (4538) nghttp2: frame received: 4[0m
[0;32mI (4538) nghttp2: frame received: 8[0m
[0;32mI (4568) nghttp2: frame received: 4[0m
[0;32mI (5108) nghttp2: Response headers for stream ID=1:[0m
[0;32mI (5108) nghttp2: :status: 200[0m
[0;32mI (5108) nghttp2: server: nginx/1.10.3 (Ubuntu)[0m
[0;32mI (5108) nghttp2: date: Mon, 01 Jan 2018 13:44:34 GMT[0m
[0;32mI (5118) nghttp2: content-type: text/plain; charset=utf-8[0m
[0;32mI (5118) nghttp2: content-length: 1190[0m
[0;32mI (5128) nghttp2: strict-transport-security: max-age=63072000; includeSubdomains[0m
[0;32mI (5128) nghttp2: x-frame-options: DENY[0m
[0;32mI (5138) nghttp2: x-content-type-options: nosniff[0m
[0;32mI (5138) nghttp2: All headers received[0m
[0;32mI (5148) nghttp2: frame received: 0[0m
[0;32mI (5148) alexa: new auth_token: *********************************************************
[0;32mI (5208) asio_http2: closed stream 1 with error_code=0[0m
[0;31mE (5208) asio_http2: no more open streams, terminating session[0m
[0;31mE (5218) asio_http2: closing stream[0m
[0;32mI (5218) asio_handler_ssl: asio_ssl_handle_close[0m
[0;32mI (5228) nghttp2: freeing http2_session_data[0m
[0;33mW (5228) nghttp2: 194: - RAM left 157636[0m
[0;33mW (5238) asio: 96: - RAM left 157696[0m
[0;32mI (5248) nghttp2: new nghttp session, uri: https://avs-alexa-na.amazon.com/v20160207/directives[0m
[0;32mI (5248) nghttp2: Writing HTTP request...[0m
[0;32mI (5258) nghttp2: Request headers:[0m
[0;32mI (5258) nghttp2: :method: GET[0m
[0;32mI (5258) nghttp2: :scheme: https[0m
[0;32mI (5268) nghttp2: :authority: avs-alexa-na.amazon.com[0m
[0;32mI (5268) nghttp2: :path: /v20160207/directives[0m
[0;32mI (5278) nghttp2: authorization: Bearer *********************************************************
[0;32mI (5328) nghttp2: created new stream: 1[0m
[0;33mW (5338) nghttp2: 859: - RAM left 136476[0m
[0;32mI (5338) asio: adding task: avs-alexa-na.amazon.com[0m
Algorithms:
[0;32mI (5348) asio: removing task: downchannel[0m
[0;33mW (5348) asio: 96: - RAM left 130264[0m
connecting to: 54.239.21.157
connected.
WARNING: no configured trust anchor
Handshake completed
version: TLS 1.2
cipher suite: ECDHE_RSA_WITH_AES_256_GCM_SHA384
ECDHE curve: secp256r1 (P-256)
secure renegotiation: yes
protocol name (ALPN): h2
[0;32mI (6448) alexa: frame received: 4[0m
[0;32mI (6478) alexa: frame received: 8[0m
[0;32mI (6578) alexa: frame received: 4[0m
[0;32mI (6608) nghttp2: Response headers for stream ID=1:[0m
:status: 200
access-control-allow-origin: *
x-amzn-requestid: 06c4defffe645d2e-00002200-0007b7b0-ec599f86d651de3a-c768d897-1
content-type: multipart/related; boundary=------abcde123; type=application/json
[0;32mI (6638) handler_directives: init multipart_parser: --------abcde123[0m
[0;32mI (6648) alexa: All headers received for stream 1[0m
[0;32mI (6658) alexa: setting DOWNCHAN_CONNECTED_BIT[0m
[0;32mI (6658) nghttp2: new nghttp stream, uri: https://avs-alexa-na.amazon.com/v20160207/events[0m
[0;32mI (6668) nghttp2: Request headers:[0m
[0;32mI (6668) nghttp2: :method: POST[0m
[0;32mI (6678) nghttp2: :scheme: https[0m
[0;32mI (6678) nghttp2: :authority: avs-alexa-na.amazon.com[0m
[0;32mI (6688) nghttp2: :path: /v20160207/events[0m
[0;32mI (6688) nghttp2: authorization: Bearer *****************************************************************
[0;32mI (6748) nghttp2: content-type: multipart/form-data; boundary="nghttp2123456789"[0m
[0;32mI (6748) nghttp2: created new stream: 3[0m
[0;32mI (6758) nghttp2: new nghttp stream, uri: https://avs-alexa-na.amazon.com/v20160207/events[0m
[0;32mI (6768) nghttp2: Request headers:[0m
[0;32mI (6768) nghttp2: :method: POST[0m
[0;32mI (6778) nghttp2: :scheme: https[0m
[0;32mI (6778) nghttp2: :authority: avs-alexa-na.amazon.com[0m
[0;32mI (6788) nghttp2: :path: /v20160207/events[0m
[0;32mI (6788) nghttp2: authorization: Bearer **************************************************
[0;32mI (6838) nghttp2: content-type: multipart/form-data; boundary="nghttp2123456789"[0m
[0;32mI (6848) nghttp2: created new stream: 5[0m
[0;32mI (6858) audio_player: RAM left 93972[0m
[0;32mI (6858) mad_decoder: decoder start[0m
[0;32mI (6868) audio_player: created decoder task: mp3_decoder_task[0m
[0;32mI (8268) asio: removing task: send_initial_state[0m
[0;33mW (8268) asio: 96: - RAM left 68860[0m
--nghttp2123456789
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8
{"context":[{"header":{"namespace":"Alerts","name":"AlertsState"},"payload":{"allAlerts":[],"activeAlerts":[]}},{"header":{"namespace":"AudioPlayer","name":"PlaybackState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"IDLE"}},{"header":{"namespace":"Speaker","name":"VolumeState"},"payload":{"volume":100,"muted":false}},{"header":{"namespace":"SpeechSynthesizer","name":"SpeechState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"FINISHED"}},{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"ALEXA"}}],"event":{"header":{"namespace":"System","name":"SynchronizeState","messageId":"1"},"payload":{}}}
--nghttp2123456789--
--nghttp2123456789
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8
{"event":{"header":{"namespace":"Settings","name":"SettingsUpdated","messageId":"2"},"payload":{"settings":[{"key":"locale","value":"en-US"}]}}}
--nghttp2123456789--
[0;32mI (8878) nghttp2: Response headers for stream ID=5:[0m
:status: 204
access-control-allow-origin: *
x-amzn-requestid: 06c4defffe645d2e-00002200-0007b7b0-ec599f86d651de3a-c768d897-5
[0;32mI (8908) alexa: All headers received for stream 5[0m
[0;32mI (8908) alexa: closed stream 5 with error_code=0[0m
[0;32mI (8918) asio_http2: closed stream 5 with error_code=0[0m
[0;32mI (9388) mad_decoder: decoder stopped[0m
[0;32mI (9388) mad_decoder: MAD decoder stack: 724
[0m
[0;33mW (9398) led_ui: switching anim[0m
[0;31mE (9398) led_ui: setColors 0=-2146288040, 1=1073545920[0m
[0;32mI (9778) nghttp2: Response headers for stream ID=3:[0m
:status: 204
access-control-allow-origin: *
x-amzn-requestid: 06c4defffe645d2e-00002200-0007b7b0-ec599f86d651de3a-c768d897-3
[0;32mI (9808) alexa: All headers received for stream 3[0m
[0;32mI (9808) alexa: closed stream 3 with error_code=0[0m
[0;32mI (9818) asio_http2: closed stream 3 with error_code=0[0m
Not sure about the "closed stream n with error_code=0", but the rest looks alright. What happens if you press GPIO0 and ask something?
When i press the button: Leds blink red and blue, and some noise is coming from the speaker. It seems to send something (see output first post) but nothing comes back. No answer, nothing.
Have you also seen the "204" response code? 204 means "no data". (Http error codes)
So that would mean there is nothing coming back from amazon?
I found the issue!! It works now!
On my board, gpio17 is not numbered. While searchin online, i found a refenrence that now, seems to be wrong. It said that gpio17 was named tx0. Now it seems that it accually should be tx2. So i changed the data pin to tx2 and it works!
Only issue is the voice is very fast. Chipmunk style! Can i change that somewhere?
I found the sample rate multiplier for the output sound. That is now set to 1 instead of 1.25.
But the recorded voice, my voice is still in chipmunk. (Listened back in the alexa app). Where can i change the sample rate of the mic input?
Hmm, your recorded voice shouldn't be high-pitched. AFAIK I'm using the two different I2S peripherals for that reason.
After listening again, it is not high pitched, just speed up.
What do you mean with "two different i2s peripherals"? Are you using 2 microphones?
On 4 January 2018 15:19:01 GMT+01:00, "Michael Böckling" notifications@github.com wrote:
Hmm, your recorded voice shouldn't be high-pitched. AFAIK I'm using the two different I2S peripherals for that reason.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/MrBuddyCasino/ESP32_Alexa/issues/11#issuecomment-355293223
No, but I2S is full-duplex interface. You can do playback and recording on the same port, but then the bitclock must be the same. Thats why I use the separate I2S_0 and I2S_1 periphs on the ESP32.
Aha! So if i understand correctly, i might be using the wrong i2s port?
Or is it just the bitclock that is wrong? Can this be fixed by switching around the pins i connect the microphone to?
On 4 January 2018 16:52:43 GMT+01:00, "Michael Böckling" notifications@github.com wrote:
No, but I2S is full-duplex interface. You can do playback and recording on the same port, but then the bitclock must be the same. Thats why I use the separate I2S_0 and I2S_1 periphs on the ESP32.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/MrBuddyCasino/ESP32_Alexa/issues/11#issuecomment-355318132
No, I was just explaining that the input & output are independent, this shouldn't happen. But I don't have the hardware with me right now to make tests.
Ok. No problem. Let me know when you know something.
My thoughts where that it might have something to do with the difference between the ics43434 and the sph0645 microphone. Since they seem to have slightly different outputs (24bit vs 32bit). But like i said, i am not a great programmer, and bit's and byte's are waaaay out of my league.
On 4 January 2018 17:43:48 GMT+01:00, "Michael Böckling" notifications@github.com wrote:
No, I was just explaining that the input & output are independent, this shouldn't happen. But I don't have the hardware with me right now to make tests.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/MrBuddyCasino/ESP32_Alexa/issues/11#issuecomment-355332746
I tested both ics43434 and sph0645, both were working fine for me (the ics43434 sounds better).
Yes. I use the ics43434 too.
Weirdly enough though, the commands i give are recognized most of the time. Even though the audio is about twice the speed.
Thank you for your help!
On 4 January 2018 17:56:11 GMT+01:00, "Michael Böckling" notifications@github.com wrote:
I tested both ics43434 and sph0645, both were working fine for me (the ics43434 sounds better).
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/MrBuddyCasino/ESP32_Alexa/issues/11#issuecomment-355336585
Modifying a line in send_speech_read_callback function in alexa_speech_recognizer.c will make better recoded sound quality and better recognition result for me.
In case AUDIO_DATA: I changed the line from "if(rounds > 1) {" to "if(rounds > 4) {"
Tried it, but this doesn't change the speed of the microphone audio. In the Alexa app, my voice still sounds sped up.
Don't know if the audio got better. I never had any issues with it recognizing my commands. (Except for the occasional time i slurry my words. English is not my native language)
When i press the button, the neopixels don't come on, and when i ask something, i get no reaction. I am using the ics-43434 mic and internal dac output. Below is the serial output:
` rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:5544 load:0x40078000,len:0 ho 12 tail 0 room 4 load:0x40078000,len:13716 entry 0x40078fb4 [0;32mI (30) boot: ESP-IDF v3.1-dev-137-g4f44d16 2nd stage bootloader[0m [0;32mI (30) boot: compile time 01:04:33[0m [0;32mI (30) boot: Enabling RNG early entropy source...[0m [0;32mI (35) boot: SPI Speed : 40MHz[0m [0;32mI (40) boot: SPI Mode : DIO[0m [0;32mI (44) boot: SPI Flash Size : 4MB[0m [0;32mI (48) boot: Partition Table:[0m [0;32mI (51) boot: ## Label Usage Type ST Offset Length[0m [0;32mI (59) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m [0;32mI (66) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m [0;32mI (73) boot: 2 factory factory app 00 00 00010000 00200000[0m [0;32mI (81) boot: End of partition table[0m [0;32mI (85) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x72628 (468520) map[0m [0;32mI (257) esp_image: segment 1: paddr=0x00082650 vaddr=0x3ffb0000 size=0x06244 ( 25156) load[0m [0;32mI (267) esp_image: segment 2: paddr=0x0008889c vaddr=0x40080000 size=0x00400 ( 1024) load[0m [0;32mI (268) esp_image: segment 3: paddr=0x00088ca4 vaddr=0x40080400 size=0x0736c ( 29548) load[0m [0;32mI (287) esp_image: segment 4: paddr=0x00090018 vaddr=0x400d0018 size=0xedb3c (973628) map[0m [0;32mI (625) esp_image: segment 5: paddr=0x0017db5c vaddr=0x4008776c size=0x0b2fc ( 45820) load[0m [0;32mI (644) esp_image: segment 6: paddr=0x00188e60 vaddr=0x400c0000 size=0x00000 ( 0) load[0m [0;32mI (656) boot: Loaded app from partition at offset 0x10000[0m [0;32mI (656) boot: Disabling RNG early entropy source...[0m [0;32mI (657) cpu_start: Pro cpu up.[0m [0;32mI (660) cpu_start: Starting app cpu, entry point is 0x40081060[0m [0;32mI (0) cpu_start: App cpu up.[0m [0;32mI (671) heap_init: Initializing. RAM available for dynamic allocation:[0m [0;32mI (678) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m [0;32mI (684) heap_init: At 3FFC1BD0 len 0001E430 (121 KiB): DRAM[0m [0;32mI (690) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m [0;32mI (696) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m [0;32mI (703) heap_init: At 40092A68 len 0000D598 (53 KiB): IRAM[0m [0;32mI (709) cpu_start: Pro cpu start user code[0m [0;32mI (56) cpu_start: Starting scheduler on PRO CPU.[0m [0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m [0;32mI (57) main: starting app_main()[0m [0;33mW (57) main: 168: - RAM left 239196[0m [0;31mE (57) main: MAC address: 30:ae:a4:37:f1:74[0m [0;32mI (97) main: hardware initialized[0m [0;32mI (97) renderer: init I2S mode 2, port 0, 16 bit, 44100 Hz[0m [0;32mI (97) I2S: queue free spaces: 1[0m [0;32mI (97) I2S: DMA Malloc info, datalen=blocksize=256, dma_buf_count=32[0m [0;32mI (107) I2S: PLL_D2: Req RATE: 44100, real rate: 2777.000, BITS: 16, CLKM: 30, BCK: 60, MCLK: 30.234, SCLK: 88864.000000, diva: 64, divb: 14[0m [0;32mI (117) I2S: DMA Malloc info, datalen=blocksize=512, dma_buf_count=32[0m [0;32mI (127) I2S: PLL_D2: Req RATE: 16000, real rate: 16025.000, BITS: 32, CLKM: 39, BCK: 4, MCLK: 4096000.000, SCLK: 1025600.000000, diva: 64, divb: 4[0m [0;33mW (137) main: 194: - RAM left 193168[0m [0;32mI (137) alexa: 572: - RAM left 193168[0m [0;32mI (147) asio: adding task: led_ui[0m I (157) wifi: wifi firmware version: 275023b I (157) wifi: config NVS flash: enabled I (157) wifi: config nano formating: disabled [0;32mI (167) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m [0;32mI (177) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m I (197) wifi: Init dynamic tx buffer num: 32 I (197) wifi: Init data frame dynamic rx buffer num: 32 I (197) wifi: Init management frame dynamic rx buffer num: 32 I (197) wifi: wifi driver task: 3ffd2898, prio:23, stack:4096 I (197) wifi: Init static rx buffer num: 10 I (207) wifi: Init dynamic rx buffer num: 32 I (207) wifi: wifi power manager task: 0x3ffd74d8 prio: 21 stack: 2560 [0;32mI (257) phy: phy_version: 366.0, ba9923d, Oct 31 2017, 18:06:17, 0, 0[0m I (257) wifi: mode : sta (30:ae:a4:37:f1:74) [0;32mI (267) asio: adding task:[0m
[0;32mI (267) wifi: received wifi event 2[0m
[0;32mI (267) asio: adding task: refresh_auth_token[0m
[0;32mI (267) wifi: connected successfully[0m
[0;33mW (277) alexa: 592: - RAM left 162356[0m
[0;32mI (287) asio: adding task: downchannel[0m
[0;32mI (287) asio: adding task: send_initial_state[0m
[0;33mW (297) led_ui: UI initialized on pin 4[0m
[0;32mI (297) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:1 [0m
[0;31mE (317) led_ui: setColors 0=1, 1=0[0m
I (387) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (1377) wifi: state: init -> auth (b0)
I (1387) wifi: state: auth -> assoc (0)
I (1387) wifi: state: assoc -> run (10)
I (1677) wifi: connected with UPC247731094, channel 6
[0;32mI (1687) wifi: received wifi event 4[0m
[0;32mI (2617) event: sta ip: 192.168.192.54, mask: 255.255.255.0, gw: 192.168.192.1[0m
[0;32mI (2617) wifi: received wifi event 7[0m
[0;32mI (2627) sntp: Initializing SNTP[0m
[0;32mI (2627) sntp: Waiting for system time to be set... (1/40)[0m
[0;32mI (2827) nghttp2: new nghttp session, uri: https://alexa.boeckling.net/auth/refresh/MYAUTHCODE
[0;32mI (2867) nghttp2: Writing HTTP request...[0m
[0;32mI (2867) nghttp2: Request headers:[0m
[0;32mI (2877) nghttp2: :method: GET[0m
[0;32mI (2877) nghttp2: :scheme: https[0m
[0;32mI (2887) nghttp2: :authority: alexa.boeckling.net[0m
[0;32mI (2887) nghttp2: :path: /auth/refresh/MYAUTHCODE
[0;32mI (2937) nghttp2: created new stream: 1[0m [0;33mW (2947) nghttp2: 859: - RAM left 139144[0m [0;32mI (2947) asio: adding task: alexa.boeckling.net[0m Algorithms: [0;32mI (2957) asio: removing task: refresh_auth_token[0m [0;33mW (2957) asio: 96: - RAM left 131628[0m connecting to: 188.226.169.151 connected. WARNING: no configured trust anchor [0;33mW (3027) led_ui: switching anim[0m [0;31mE (3027) led_ui: setColors 0=-2146289036, 1=1073545904[0m I (4387) wifi: pm start, type:0
Handshake completed version: TLS 1.2 cipher suite: ECDHE_RSA_WITH_AES_256_GCM_SHA384 ECDHE curve: secp384r1 (P-384) secure renegotiation: yes protocol name (ALPN): h2 [0;32mI (4517) nghttp2: frame received: 4[0m [0;32mI (4517) nghttp2: frame received: 8[0m [0;32mI (4547) nghttp2: frame received: 4[0m [0;32mI (5117) nghttp2: Response headers for stream ID=1:[0m [0;32mI (5117) nghttp2: :status: 200[0m [0;32mI (5117) nghttp2: server: nginx/1.10.3 (Ubuntu)[0m [0;32mI (5117) nghttp2: date: Sat, 30 Dec 2017 00:29:44 GMT[0m [0;32mI (5127) nghttp2: content-type: text/plain; charset=utf-8[0m [0;32mI (5127) nghttp2: content-length: 1169[0m [0;32mI (5137) nghttp2: strict-transport-security: max-age=63072000; includeSubdomains[0m [0;32mI (5137) nghttp2: x-frame-options: DENY[0m [0;32mI (5147) nghttp2: x-content-type-options: nosniff[0m
[0;32mI (5147) nghttp2: All headers received[0m [0;32mI (5157) nghttp2: frame received: 0[0m [0;32mI (5157) alexa: new auth_token: MYAUTHCODE [0;32mI (5217) asio_http2: closed stream 1 with error_code=0[0m [0;31mE (5217) asio_http2: no more open streams, terminating session[0m [0;31mE (5227) asio_http2: closing stream[0m [0;32mI (5227) asio_handler_ssl: asio_ssl_handle_close[0m [0;32mI (5237) nghttp2: freeing http2_session_data[0m [0;33mW (5237) nghttp2: 194: - RAM left 157984[0m [0;33mW (5247) asio: 96: - RAM left 158044[0m [0;32mI (5257) nghttp2: new nghttp session, uri: https://avs-alexa-eu.amazon.com/v20160207/directives[0m [0;32mI (5257) nghttp2: Writing HTTP request...[0m [0;32mI (5267) nghttp2: Request headers:[0m [0;32mI (5267) nghttp2: :method: GET[0m [0;32mI (5267) nghttp2: :scheme: https[0m [0;32mI (5277) nghttp2: :authority: avs-alexa-eu.amazon.com[0m [0;32mI (5277) nghttp2: :path: /v20160207/directives[0m [0;32mI (5287) nghttp2: authorization: Bearer MYAUTHCODE
[0;32mI (5337) nghttp2: created new stream: 1[0m [0;33mW (5347) nghttp2: 859: - RAM left 136620[0m [0;32mI (5347) asio: adding task: avs-alexa-eu.amazon.com[0m Algorithms: [0;32mI (5357) asio: removing task: downchannel[0m [0;33mW (5357) asio: 96: - RAM left 130424[0m connecting to: 54.239.39.74 connected. WARNING: no configured trust anchor Handshake completed version: TLS 1.2 cipher suite: ECDHE_RSA_WITH_AES_256_GCM_SHA384 ECDHE curve: secp256r1 (P-256) secure renegotiation: yes protocol name (ALPN): h2 [0;32mI (6127) alexa: frame received: 4[0m [0;32mI (6157) alexa: frame received: 8[0m [0;32mI (6187) alexa: frame received: 4[0m [0;32mI (6217) nghttp2: Response headers for stream ID=1:[0m :status: 200 access-control-allow-origin: * x-amzn-requestid: 06****ae-1 content-type: multipart/related; boundary=------abcde123; type=application/json [0;32mI (6247) handler_directives: init multipart_parser: --------abcde123[0m
[0;32mI (6257) alexa: All headers received for stream 1[0m [0;32mI (6267) alexa: setting DOWNCHAN_CONNECTED_BIT[0m [0;32mI (6267) nghttp2: new nghttp stream, uri: https://avs-alexa-eu.amazon.com/v20160207/events[0m [0;32mI (6277) nghttp2: Request headers:[0m [0;32mI (6277) nghttp2: :method: POST[0m [0;32mI (6287) nghttp2: :scheme: https[0m [0;32mI (6287) nghttp2: :authority: avs-alexa-eu.amazon.com[0m [0;32mI (6297) nghttp2: :path: /v20160207/events[0m [0;32mI (6297) nghttp2: authorization: Bearer MYAUTHCODE [0;32mI (6357) nghttp2: content-type: multipart/form-data; boundary="nghttp2123456789"[0m
[0;32mI (6367) nghttp2: created new stream: 3[0m [0;32mI (6367) nghttp2: new nghttp stream, uri: https://avs-alexa-eu.amazon.com/v20160207/events[0m [0;32mI (6377) nghttp2: Request headers:[0m [0;32mI (6377) nghttp2: :method: POST[0m [0;32mI (6387) nghttp2: :scheme: https[0m [0;32mI (6387) nghttp2: :authority: avs-alexa-eu.amazon.com[0m [0;32mI (6397) nghttp2: :path: /v20160207/events[0m [0;32mI (6397) nghttp2: authorization: Bearer MYAUTHCODE [0;32mI (6447) nghttp2: content-type: multipart/form-data; boundary="nghttp2123456789"[0m
[0;32mI (6457) nghttp2: created new stream: 5[0m [0;32mI (6467) audio_player: RAM left 94148[0m [0;32mI (6467) mad_decoder: decoder start[0m [0;32mI (6477) audio_player: created decoder task: mp3_decoder_task[0m [0;32mI (7877) asio: removing task: send_initial_state[0m [0;33mW (7877) asio: 96: - RAM left 69040[0m
--nghttp2123456789
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8
{"context":[{"header":{"namespace":"Alerts","name":"AlertsState"},"payload":{"allAlerts":[],"activeAlerts":[]}},{"header":{"namespace":"AudioPlayer","name":"PlaybackState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"IDLE"}},{"header":{"namespace":"Speaker","name":"VolumeState"},"payload":{"volume":100,"muted":false}},{"header":{"namespace":"SpeechSynthesizer","name":"SpeechState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"FINISHED"}},{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"ALEXA"}}],"event":{"header":{"namespace":"System","name":"SynchronizeState","messageId":"1"},"payload":{}}}
--nghttp2123456789--
--nghttp2123456789
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8
{"event":{"header":{"namespace":"Settings","name":"SettingsUpdated","messageId":"2"},"payload":{"settings":[{"key":"locale","value":"en-US"}]}}}
--nghttp2123456789--
[0;32mI (8397) nghttp2: Response headers for stream ID=5:[0m :status: 204 access-control-allow-origin: * x-amzn-requestid: 06****ae-5
[0;32mI (8427) alexa: All headers received for stream 5[0m [0;32mI (8437) alexa: closed stream 5 with error_code=0[0m [0;32mI (8437) asio_http2: closed stream 5 with error_code=0[0m [0;32mI (8997) mad_decoder: decoder stopped[0m [0;32mI (8997) mad_decoder: MAD decoder stack: 528 [0m [0;33mW (9007) led_ui: switching anim[0m [0;31mE (9007) led_ui: setColors 0=-2146288040, 1=1073545920[0m [0;32mI (9907) nghttp2: Response headers for stream ID=3:[0m :status: 200 access-control-allow-origin: * x-amzn-requestid: 06****ae-1 content-type: multipart/related;boundary=------abcde123;start=metadata.1514429072123;type="application/json" [0;32mI (9947) handler_events: init multipart_parser: --------abcde123[0m
[0;32mI (9947) alexa: All headers received for stream 3[0m events data: --------abcde123
Content-Type: application/json; charset=UTF-8
{"directive":{"header":{"namespace":"System","name":"SetEndpoint","messageId":"6d6afdf1-bec4-453a-840f-278a052f32f1"},"payload":{"endpoint":"https://avs-alexa-na.amazon.com"}}}
--------abcde123--
on_part_data_begin on_header_field Content-Type on_header_value application/json; charset=UTF-8 directive detected on_headers_complete on_part_data_end handle_directive: {"directive":{"header":{"namespace":"System","name":"SetEndpoint","messageId":"6d6afdf1-bec4-453a-840f-278a052f32f1"},"payload":{"endpoint":"https://avs-alexa-na.amazon.com"}}} on_body_end [0;32mI (10057) alexa: frame received: 0[0m [0;32mI (10097) alexa: frame received: 0[0m [0;32mI (10097) alexa: closed stream 3 with error_code=0[0m [0;32mI (10097) asio_http2: closed stream 3 with error_code=0[0m GPIO[0] intr, val: 1 [0;32mI (33077) nghttp2: new nghttp stream, uri: https://avs-alexa-eu.amazon.com/v20160207/events[0m [0;32mI (33077) nghttp2: Request headers:[0m [0;32mI (33077) nghttp2: :method: POST[0m [0;32mI (33077) nghttp2: :scheme: https[0m [0;32mI (33087) nghttp2: :authority: avs-alexa-eu.amazon.com[0m [0;32mI (33087) nghttp2: :path: /v20160207/events[0m [0;32mI (33097) nghttp2: authorization: Bearer MYAUTHCODE [0;32mI (33147) nghttp2: content-type: multipart/form-data; boundary="nghttp2123456789"[0m
[0;32mI (33157) nghttp2: created new stream: 7[0m
--nghttp2123456789
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=UTF-8
{"context":[{"header":{"namespace":"Alerts","name":"AlertsState"},"payload":{"allAlerts":[],"activeAlerts":[]}},{"header":{"namespace":"AudioPlayer","name":"PlaybackState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"IDLE"}},{"header":{"namespace":"Speaker","name":"VolumeState"},"payload":{"volume":100,"muted":false}},{"header":{"namespace":"SpeechSynthesizer","name":"SpeechState"},"payload":{"token":"","offsetInMilliseconds":0,"playerActivity":"FINISHED"}},{"header":{"namespace":"SpeechRecognizer","name":"RecognizerState"},"payload":{"wakeword":"ALEXA"}}],"event":{"header":{"namespace":"SpeechRecognizer","name":"Recognize","messageId":"3","dialogRequestId":"1"},"payload":{"profile":"NEAR_FIELD","format":"AUDIO_L16_RATE_16000_CHANNELS_1","initiator":{"type":"TAP"}}}}
--nghttp2123456789
Content-Disposition: form-data; name="audio"
Content-Type: application/octet-stream
[0;32mI (33257) renderer: changing sample rate from 44100 to 16000[0m [0;32mI (33257) I2S: PLL_D2: Req RATE: 20000, real rate: 1262.000, BITS: 16, CLKM: 66, BCK: 60, MCLK: 66.667, SCLK: 40384.000000, diva: 64, divb: 42[0m bytes_out: 512 bytes_out: 512 [0;33mW (33297) led_ui: switching anim[0m [0;31mE (33297) led_ui: setColors 0=0, 1=1073647076[0m bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (33547) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (33797) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 [0;31mE (34047) led_ui: setColors 0=1071, 1=0[0m bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (34297) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 [0;31mE (34547) led_ui: setColors 0=1071, 1=0[0m bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (34797) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (35047) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (35297) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (35547) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (35797) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (36047) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 [0;31mE (36297) led_ui: setColors 0=0, 1=1073645408[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (36547) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (36797) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 [0;31mE (37047) led_ui: setColors 0=943, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 512 [0;31mE (37297) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (37547) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (37797) led_ui: setColors 0=0, 1=1073645152[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (38047) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 [0;31mE (38297) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 256 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 [0;31mE (38547) led_ui: setColors 0=687, 1=0[0m bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 512 bytes_out: 512 bytes_out: 384 bytes_out: 512 bytes_out: 128 [0;31mE (38797) led_ui: setColors 0=-2146288040, 1=1073545920[0m bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 128 bytes_out: 512 bytes_out: 256 directives data:
--------abcde123
Content-Type: application/json
{"directive":{"header":{"namespace":"SpeechRecognizer","name":"StopCapture","messageId":"27be99a3-76c9-4a5e-8758-72395294294e"},"payload":{}}}
--------abcde123
on_part_data_begin on_header_field Content-Type on_header_value application/json on_headers_complete on_multipart_data: {"directive":{"header":{"namespace":"SpeechRecognizer","name":"StopCapture","messageId":"27be99a3-76c9-4a5e-8758-72395294294e"},"payload":{}}} [0;33mW (38887) handler_directives: StopCapture detected[0m on_part_data_end on_part_data_begin [0;32mI (38897) alexa: frame received: 0[0m [0;33mW (38907) led_ui: switching anim[0m [0;31mE (38907) led_ui: setColors 0=216, 1=1073628241[0m [0;31mE (38917) event_send_speech: DONE[0m
[0;32mI (39017) nghttp2: Response headers for stream ID=7:[0m :status: 200 access-control-allow-origin: * x-amzn-requestid: 06****ae-1 content-type: multipart/related;boundary=------abcde123;start=metadata.1514430344234;type="application/json" [0;32mI (39057) handler_events: init multipart_parser: --------abcde123[0m
[0;32mI (39057) alexa: All headers received for stream 7[0m events data: --------abcde123
Content-Type: application/json; charset=UTF-8
{"directive":{"header":{"namespace":"System","name":"SetEndpoint","messageId":"cf7568c5-df5e-482d-b210-1e67c476266c","dialogRequestId":"1"},"payload":{"endpoint":"https://avs-alexa-na.amazon.com"}}}
--------abcde123--
on_part_data_begin on_header_field Content-Type on_header_value application/json; charset=UTF-8 directive detected on_headers_complete on_part_data_end handle_directive: {"directive":{"header":{"namespace":"System","name":"SetEndpoint","messageId":"cf7568c5-df5e-482d-b210-1e67c476266c","dialogRequestId":"1"},"payload":{"endpoint":"https://avs-alexa-na.amazon.com"}}} on_body_end [0;32mI (39177) alexa: frame received: 0[0m [0;32mI (39207) alexa: frame received: 0[0m [0;32mI (39207) alexa: closed stream 7 with error_code=0[0m [0;32mI (39207) asio_http2: closed stream 7 with error_code=0[0m `