AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
DeviceInfo.cpp File Reference
#include "AVSCommon/Utils/DeviceInfo.h"
#include "AVSCommon/SDKInterfaces/Endpoints/EndpointIdentifier.h"
#include "AVSCommon/Utils/Logger/Logger.h"
Include dependency graph for DeviceInfo.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::avsCommon
 
 alexaClientSDK::avsCommon::utils
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::avsCommon::utils::TAG ("DeviceInfo")
 String to identify log entries originating from this file. More...
 
EndpointIdentifier alexaClientSDK::avsCommon::utils::generateEndpointId (const std::string &clientId, const std::string &productId, const std::string &deviceSerialNumber)
 

Variables

const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_DEVICE_INFO = "deviceInfo"
 Name of ConfigurationNode for DeviceInfo. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_CLIENT_ID = "clientId"
 Name of clientId value in DeviceInfo's ConfigurationNode. More...
 
const static std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_REGISTRATION_KEY = "registrationKey"
 Name of registration key value in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_PRODUCT_ID_KEY = "productIdKey"
 Name of productId key value in DeviceInfo's ConfigurationNode. More...
 
const static std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_REGISTRATION = "registration"
 Name of registration value in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_PRODUCT_ID = "productId"
 Name of productId value in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_DSN = "deviceSerialNumber"
 Name of deviceSerialNumber value in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_DEVICE_TYPE = "deviceType"
 DeviceType in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_FRIENDLY_NAME = "friendlyName"
 Name of friendlyName value in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_MANUFACTURER_NAME = "manufacturerName"
 Key for the device manufacturer name in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::CONFIG_KEY_DESCRIPTION = "description"
 Key for the device description in DeviceInfo's ConfigurationNode. More...
 
const std::string alexaClientSDK::avsCommon::utils::ENDPOINT_ID_CONCAT = "::"
 String used to join attributes in the generation of the default endpoint id. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0