Capture the Alexa answer to elaborate it c++ #764
Comments
Hi @dottantgal, This questions sounds very similar to what you were asking in #721. AVS is focused almost exclusively on audio-in and audio-out. It does not provide any way for a skill to communicate commands down to a device. In other words, there is no data that flows through the C++ SDK which you could use to control your robot. The only data that the SDK sees is the actual audio content that plays out. To send commands from your skill to your device, you will need to explore another communications path such as AWS IoT. Ken |
Hi @kencecka |
Hi @dottantgal, Reading your summary, I think you have a correct understanding of AVS and the SDK. To answer some of your remaining questions:
Not necessarily visible, but you do need a way for your lambda to send a message to your board.
This is where AWS IoT may be of interest to you. If you connect your device to AWS IoT, you can have your lambda publish a message to a topic in AWS IoT and your device will receive a notification of that message. This does not require opening up a public IP to your device; it connects to AWS IoT as a client.
It is possible to capture the audio content, but that content is an MP3 file. You wouldn't have any easy way to interpret what it actually means. In AVS, when alexa speaks, the text-to-speech operation happens in the cloud, and the device only sees the MP3 audio. The text is never sent down to the device. Ken |
Hi @dottantgal, It appears that @kencecka has answered your questions, so I am closing this issue. If you have other questions, please open a new issue. If you think that this issue should not have been closed, please feel free to re-open it and clarify what need to be addressed. Thank you, |
Hi all,
is there any way to capture the answers coming from Alexa Sample App, handle them and, for example, send commands to a robot?
I'm trying to locate which part of the Sample App is involved in the handling of the answers coming from the AWS but i still have to find it.
I'm developing on Ubuntu with the c++ sdk.
Thank you
The text was updated successfully, but these errors were encountered: