Skip to content

Instantly share code, notes, and snippets.

View boyce-xx's full-sized avatar

Boyce Yeh boyce-xx

  • Wistron
  • Shanghai, China
View GitHub Profile
@boyce-xx
boyce-xx / error.txt
Created November 9, 2017 12:44
Can't get dialogRequestId in directive when playing shopping list
2017-11-09 12:37:59.443 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:00.444 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:01.445 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:02.445 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:03.446 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:04.447 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:05.448 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:06.448 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2017-11-09 12:38:07.449 [ 4] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
*** testKeyWordObserverDebug:: onKeyWordDetected
@boyce-xx
boyce-xx / cannot_stop_ihr.txt
Created November 10, 2017 13:32
V1.2.0 can't stop iHR
##### Start recording!
2017-11-06 10:52:07.548 [ 2] E MediaPlayer:messageReceived:messageType=buffering
2017-11-06 10:52:07.548 [ 2] E MediaPlayer:messageReceived:messageType=buffering
2017-11-06 10:52:07.551 [ a] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid\: 06de4dfffe8b74b6-000029c2-0005e91b-8ff2605eea725634-b21f8a47-25
2017-11-06 10:52:07.552 [ a] 0 HTTP2Transport:cleanupFinishedStream:streamId=25,result=204
2017-11-06 10:52:07.552 [ a] 0 HTTP2StreamPool:releaseStream:streamId=25,numAcquiredStreams=1
2017-11-06 10:52:07.552 [ a] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
2017-11-06 10:52:07.553 [ a] 0 HTTP2Transport:processNextOutgoingMessage
@boyce-xx
boyce-xx / sports_update_error.txt
Created November 14, 2017 10:30
I can't hear the response when I ask a question after playing sports update.
*** testKeyWordObserverDebug:: onKeyWordDetected
openFMDuringTest : isFMOpened = 0
stopMediaPlayer 11111
stopLocalMediaPlayer 222
2017-11-14 10:17:08.162 [ 21] E MediaPlayer:stopCalled
2017-11-14 10:17:08.162 [ 2] E MediaPlayer:handleStopCalled
2017-11-14 10:17:08.162 [ 2] E MediaPlayer:doStopSuccess:reason=alreadyStopped
2017-11-14 10:17:08.162 [ 2] E MediaPlayer:doStopSuccess
stopSpeakMediaPlayer 33333
2017-11-14 10:17:08.163 [ 21] E MediaPlayer:stopCalled
@boyce-xx
boyce-xx / Segmentation_fault_error.txt
Created November 14, 2017 11:24
"Segmentation fault" error when playing Amazon music
2017-11-14 11:19:10.119 [ 2] E MediaPlayer:messageReceived:messageType=buffering
2017-11-14 11:19:10.427 [ 9] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid\: 06da90fffe2ee54a-00005193-0000e184-cb22ac9d458cc8d2-7e6425cc-539
2017-11-14 11:19:10.430 [ 9] 0 HTTP2Transport:cleanupFinishedStream:streamId=539,result=200
2017-11-14 11:19:10.430 [ 9] 0 HTTP2StreamPool:releaseStream:streamId=539,numAcquiredStreams=1
2017-11-14 11:19:10.430 [ e] 0 MessageInterpreter:receive:messageId=730fa074-4af3-423a-b68b-ef4e82aac36b:No dialogRequestId attached to message.
2017-11-14 11:19:10.431 [ e] I DirectiveSequencer:onDirective:UnparsedDirective={"directive"\:{"header"\:{"namespace"\:"AudioPlayer"\,"name"\:"Play"\,"messageId"\:"730fa074-4af3-423a-b68b-ef4e82aac36b"}\,"payload"\:{"audioItem"\:{"audioItemId"\:"amzn1.as-ct.v1.Dee-Domain-Music#ACRI#url#ACRI#28c0096e-9acd-4e19-9482-b5074a103fbb\:8"\,"stream"\:{"offsetInMilliseconds"\:0\,"expiryTime"\:"2017-11-14T11\:20\:10+0000"\,"progressReport"\:{"progressReportDela
@boyce-xx
boyce-xx / error_log_20171115.txt
Created November 15, 2017 11:05
cannot hear the response audio when barge-in during my sports update on V1.2.0 SDK
********** AVS_SDK Start test AVS ********** --> 2017-11-15 18:58:11:993
[==========] Muticast address is: 224.0.0.251
Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from QCSVA_AlexaAudioTestbinded success!!!
Nut2AVS: findMe:: waiting for new command...
[ RUN ] QCSVA_AlexaAudioTest.avsFunctionTest
2017-11-15 10:58:12.001 [ 3] I ConfigurationNode:initializeSuccess
2017-11-15 10:58:12.082 [ 3] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=SetEndpoint,handler=0xa7a30244,policy=NON_BLOCKING
@boyce-xx
boyce-xx / stopCapture_take_too_long_time.txt
Created November 21, 2017 11:24
stopCapture directive will take too long time to return back
/usr/nut2_avs # ./Nut2AVS
************** Nut2AVS version is: v3.3 build on 20171121, AVS sdk version: 1.1.0 **************
Registered Wifi signal!
mkdir: cannot create directory '/data/nut2_avs/': File exists
rm: cannot remove '/data/nut2_avs/volume.txt': No such file or directory
SKU detect: CX/SB
Current SKU is: CX
@boyce-xx
boyce-xx / WisAlertsIntegrationTest.cpp
Created December 18, 2017 11:20
Play reminder failed
/*
* AlertsIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / WisAlertsIntegrationTest
Created December 19, 2017 12:14
WisAlertsIntegrationTest running log
$ adb shell
/ # cd usr/nut2_avs/
/usr/nut2_avs # ./WisAlertsIntegrationTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from AlertsTest
[ RUN ] AlertsTest.handleOneTimerWithLocalStop
2017-12-15 12:06:56.061 [ 1] I ConfigurationNode:initializeSuccess
2017-12-15 12:06:56.289 [ 2] 0 MediaPlayer:handleSetObserverCalled
2017-12-15 12:06:56.293 [ 1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x331590,policy=BLOCKING
@boyce-xx
boyce-xx / WisAlertsIntegrationTest test source code
Created December 19, 2017 12:17
WisAlertsIntegrationTest source code
/*
* AlertsIntegrationTest.cpp
*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
@boyce-xx
boyce-xx / log.txt
Created January 2, 2018 10:41
The waiting time is too long(about 8 seconds) between TTS and Music playing when playing music; but Echo will take less than 1 seond
*** wakeWordTrigger:: onKeyWordDetected
stopMediaPlayer 11111
stopLocalMediaPlayer(Local) 22222 --> sourceID = 0
stopSpeakMediaPlayer(TTS) 33333 --> sourceID = 0
stopRendererMediaPlayer(Alert) 44444 --> sourceID = 0
stopMediaPlayer 55555
---> reset state! --> 2018-01-02 18:28:39:197
openFMDuringTest : isFMOpened = 0
Nut2AVS King:: wakeWordTrigger::onKeyWordDetected.....beginIndex = 169680, endIndex = 177120,
Nut2AVS King:: wakeWordTrigger::Sensory recognize.....beginIndex = 169680, endIndex = 177120