You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Build instructions

Alexa related recipes are hosted in recipes-alexa and contains below build targets

RecipeFunctionality
wpe-openblasMain recipe for downloading the AVS SDK and compiling the same.
wpe-alexa.bbRecipe required in case of Wake-word-engine mode is selected.


1. copy recipes-alexa to meta-cmf-raspberrypi or to a similar OEM layer
2. Add above 2 recipes to the appropriate package-group
3. bitbake rdk-generic-wpe-thunder (or the image where alexa is packaged)

Customization

Mapping the developer account

Modify below section and map with relevant developer account.

$ vi Alexa_SDK/Integration/AlexaClientSDKConfig.json
     "deviceInfo":{
        // Unique device serial number. e.g. 123456
        "deviceSerialNumber":"<SERIAL_NO>",
        // The Client ID of the Product from developer.amazon.com
        "clientId":"<CLIENT_ID>",
        // Product ID from developer.amazon.com
        "productId":"<PRODUCT_ID>",
        // The name of the device manufacturer.
        "manufacturerName": "<MANUFACTURER_NAME>",
        // The description of the device which should contain the manufacturer name or how the device is connected.
        "description": "<DESCRIPTION"
    },

LED Support

Prerequisite : Alexa Client uses IOConnector plugin to set different LED notifications, so IOConnector need to be enabled for the platform

https://github.com/rdkcentral/ThunderNanoServices/tree/master/IOConnector

$ vi Alexa_SDK/Integration/AlexaCurl.json
Set below GPIO to appropriate value
   "PinOne":"115",
   "PinTwo":"122",
   "PinThree":"115"

Architecture & Flow diagram

Feature Supported

  • Features:
    • Configurable to support different device profiles (FFV, Push-to-talk).
    • New skills can be dynamically added without modifying the client code.
  • Skills:
    • Support default Alexa skills such as Weather information, news alerts and so on.
    • Ability to support voice enabled UI Navigation.
    • Ability to launch, suspend or resume applications such as YouTube.
    • Ability to control media player operations such as Play or Pause.
  • No labels