2017-05-18 05:02:48 +00:00
|
|
|
{
|
|
|
|
"authDelegate":{
|
2017-11-17 02:49:28 +00:00
|
|
|
// The Client Secret of the Product from developer.amazon.com
|
2017-05-18 05:02:48 +00:00
|
|
|
"clientSecret":"${SDK_CONFIG_CLIENT_SECRET}",
|
2017-11-17 02:49:28 +00:00
|
|
|
// Unique device serial number. e.g. 123456
|
2017-05-18 05:02:48 +00:00
|
|
|
"deviceSerialNumber":"${SDK_CONFIG_DEVICE_SERIAL_NUMBER}",
|
2017-11-17 02:49:28 +00:00
|
|
|
// Refresh Token populated by running AuthServer.py
|
2017-12-09 00:07:37 +00:00
|
|
|
"refreshToken":"${SDK_CONFIG_REFRESH_TOKEN}",
|
2017-11-17 02:49:28 +00:00
|
|
|
// The Client ID of the Product from developer.amazon.com
|
2017-05-18 05:02:48 +00:00
|
|
|
"clientId":"${SDK_CONFIG_CLIENT_ID}",
|
2017-11-17 02:49:28 +00:00
|
|
|
// Product ID from developer.amazon.com
|
2017-10-02 22:59:05 +00:00
|
|
|
"productId":"${SDK_CONFIG_PRODUCT_ID}"
|
2017-07-18 22:25:37 +00:00
|
|
|
},
|
|
|
|
"alertsCapabilityAgent":{
|
2017-11-17 02:49:28 +00:00
|
|
|
// Path to Alerts database file. e.g. /home/ubuntu/Build/alerts.db
|
|
|
|
// Note: The directory specified must be valid.
|
|
|
|
// The database file (alerts.db) will be created by SampleApp, do not create it yourself.
|
|
|
|
// The database file should only be used for alerts (don't use it for other components of SDK)
|
2017-12-09 00:07:37 +00:00
|
|
|
"databaseFilePath":"${SDK_SQLITE_DATABASE_FILE_PATH}"
|
2017-10-02 22:59:05 +00:00
|
|
|
},
|
|
|
|
"settings":{
|
2017-11-17 02:49:28 +00:00
|
|
|
// Path to Settings database file. e.g. /home/ubuntu/Build/settings.db
|
|
|
|
// Note: The directory specified must be valid.
|
|
|
|
// The database file (settings.db) will be created by SampleApp, do not create it yourself.
|
|
|
|
// The database file should only be used for settings (don't use it for other components of SDK)
|
2017-10-02 22:59:05 +00:00
|
|
|
"databaseFilePath":"${SDK_SQLITE_SETTINGS_DATABASE_FILE_PATH}",
|
|
|
|
"defaultAVSClientSettings":{
|
2017-11-17 02:49:28 +00:00
|
|
|
// Default language for Alexa.
|
|
|
|
// See https://developer.amazon.com/docs/alexa-voice-service/settings.html#settingsupdated for valid values.
|
2017-10-02 22:59:05 +00:00
|
|
|
"locale":"${SETTING_LOCALE_VALUE}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"certifiedSender":{
|
2017-11-17 02:49:28 +00:00
|
|
|
// Path to Certified Sender database file. e.g. /home/ubuntu/Build/certifiedsender.db
|
|
|
|
// Note: The directory specified must be valid.
|
|
|
|
// The database file (certifiedsender.db) will be created by SampleApp, do not create it yourself.
|
|
|
|
// The database file should only be used for certifiedSender (don't use it for other components of SDK)
|
|
|
|
"databaseFilePath":"${SDK_CERTIFIED_SENDER_DATABASE_FILE_PATH}"
|
2017-12-09 00:07:37 +00:00
|
|
|
},
|
|
|
|
"sampleApp":{
|
|
|
|
// To specify if the SampleApp supports display cards.
|
|
|
|
"displayCardsSupported":true
|
2017-10-02 22:59:05 +00:00
|
|
|
}
|
|
|
|
}
|
2017-11-17 02:49:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Notes for logging
|
|
|
|
// The log levels are supported to debug when SampleApp is not working as expected.
|
|
|
|
// There are 14 levels of logging with DEBUG9 providing the highest level of logging and CRITICAL providing
|
|
|
|
// the lowest level of logging i.e. if DEBUG9 is specified while running the SampleApp, all the logs at DEBUG9 and
|
|
|
|
// below are displayed, whereas if CRITICAL is specified, only logs of CRITICAL are displayed.
|
|
|
|
// The 14 levels are:
|
2017-12-09 00:07:37 +00:00
|
|
|
// DEBUG9, DEBUG8, DEBUG7, DEBUG6, DEBUG5, DEBUG4, DEBUG3, DEBUG2, DEBUG1, DEBUG0, INFO, WARN, ERROR, CRITICAL.
|
2017-11-17 02:49:28 +00:00
|
|
|
|
|
|
|
// To selectively see the logging for a particular module, you can specify logging level in this json file.
|
|
|
|
// Some examples are:
|
|
|
|
// To only see logs of level INFO and below for ACL and MediaPlayer modules,
|
|
|
|
// - grep for ACSDK_LOG_MODULE in source folder. Find the log module for ACL and MediaPlayer.
|
|
|
|
// - Put the following in json:
|
|
|
|
|
|
|
|
// "acl":{
|
|
|
|
// "logLevel":"INFO"
|
|
|
|
// },
|
|
|
|
// "mediaPlayer":{
|
|
|
|
// "logLevel":"INFO"
|
|
|
|
// }
|
|
|
|
|
|
|
|
// To enable DEBUG, build with cmake option -DCMAKE_BUILD_TYPE=DEBUG. By default it is built with RELEASE build.
|
|
|
|
// And run the SampleApp similar to the following command.
|
|
|
|
// e.g. TZ=UTC ./SampleApp /home/ubuntu/.../AlexaClientSDKConfig.json /home/ubuntu/KittAiModels/ DEBUG9"
|