63 lines
4.0 KiB
Markdown
63 lines
4.0 KiB
Markdown
### CMake configure command(with weak word sdk):
|
||
|
||
cmake $HOME/avs-dev/avs-device-sdk -DCMAKE_INSTALL_PREFIX=/data/avs \
|
||
-DGSTREAMER_MEDIA_PLAYER=ON \
|
||
-DPORTAUDIO=ON \
|
||
-DCMAKE_BUILD_TYPE=DEBUG \
|
||
-DPKCS11=OFF \
|
||
-DPORTAUDIO_LIB_PATH=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/lib64/libportaudio.so \
|
||
-DPORTAUDIO_INCLUDE_DIR=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/include \
|
||
-DCURL_INCLUDE_DIR=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/include/curl \
|
||
-DCURL_LIBRARY=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/lib64/libcurl.so \
|
||
-DLibArchive_INCLUDE_DIR=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/include \
|
||
-DLibArchive_LIBRARY=/usr/local/oecore-x86_64/sysroots/aarch64-poky-linux/usr/lib64/libarchive.so \
|
||
-DAMAZONLITE_KEY_WORD_DETECTOR=ON \
|
||
-DAMAZONLITE_KEY_WORD_DETECTOR_LIB_PATH=$HOME/avs-dev/avs-device-sdk/extension/avs-weakup-sdk/aarch64-tuya-mt8516/PRL2000/libpryon_lite-PRL2000.a \
|
||
-DAMAZONLITE_KEY_WORD_DETECTOR_INCLUDE_DIR=$HOME/avs-dev/avs-device-sdk/extension/avs-weakup-sdk/aarch64-tuya-mt8516 \
|
||
-DEXTENSION_PATH=$HOME/avs-dev/avs-device-sdk/extension/avs-cpp-sdk/KWD
|
||
|
||
|
||
|
||
### What is the Alexa Voice Service (AVS)?
|
||
|
||
The Alexa Voice Service (AVS) enables developers to integrate Alexa directly into their products, bringing the convenience of voice control to any connected device. AVS provides developers with access to a suite of resources to build Alexa-enabled products, including APIs, hardware development kits, software development kits, and documentation.
|
||
|
||
[Learn more »](https://developer.amazon.com/alexa-voice-service)
|
||
|
||
### What is the AVS Device SDK
|
||
|
||
The Alexa Voice Service (AVS) Device SDK provides you with a set of C ++ libraries to build an Alexa Built-in product, meaning your device has direct access to cloud-based Alexa capabilities to receive voice responses instantly. Your device can be almost anything – a smartwatch, a speaker, headphones – the choice is yours.
|
||
|
||
[Learn more »](https://developer.amazon.com/docs/alexa/avs-device-sdk/overview.html)
|
||
|
||
### Release Notes and Known Issues
|
||
|
||
Feature enhancements, updates, and resolved issues from all releases are available on the [Amazon developer portal](https://developer.amazon.com/docs/alexa/avs-device-sdk/release-notes.html).
|
||
|
||
### Get Started
|
||
|
||
You can set up the SDK on the following platforms:
|
||
* [Ubuntu Linux](https://developer.amazon.com/docs/alexa/avs-device-sdk/ubuntu.html)
|
||
* [Raspberry Pi](https://developer.amazon.com/docs/alexa/avs-device-sdk/raspberry-pi.html)
|
||
* [macOS](https://developer.amazon.com/docs/alexa/avs-device-sdk/mac-os.html)
|
||
* [Windows 64-bit](https://developer.amazon.com/docs/alexa/avs-device-sdk/windows-64.html)
|
||
* [Generic Linux](https://developer.amazon.com/docs/alexa/avs-device-sdk/linux.html)
|
||
* [Android](https://developer.amazon.com/docs/alexa/avs-device-sdk/android.html)
|
||
|
||
### SDK Architecture
|
||
|
||
The SDK is modular and abstract. It provides [separate components](https://developer.amazon.com/docs/alexa/avs-device-sdk/overview.html#sdk-architecture) to handle necessary Alexa functionality including processing audio, maintaining persistent connections, and managing Alexa interactions. Each component exposes [Alexa APIs](https://developer.amazon.com/docs/alexa/alexa-voice-service/api-overview.html) to customize your device integrations as needed. The SDK also includes a Sample App, so you can test interactions before integration.
|
||
|
||
[Learn more »](https://developer.amazon.com/docs/alexa/avs-device-sdk/overview.html#sdk-architecture)
|
||
|
||
### API References
|
||
|
||
View the [C++ API References](https://alexa.github.io/avs-device-sdk/) for detailed information about implementation.
|
||
|
||
### Security Best Practices and Important Considerations
|
||
|
||
All Alexa products should adopt the [Security Best Practices for Alexa](https://developer.amazon.com/docs/alexa/alexa-voice-service/security-best-practices.html).
|
||
|
||
When building Alexa with the SDK, you should also adhere to the [following security principles](https://developer.amazon.com/docs/alexa/avs-device-sdk/overview.html#security-best-practices).
|
||
|