AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Functions | Variables
DiscoveryUtils.h File Reference
#include <map>
#include <utility>
#include <string>
#include <vector>
#include <AVSCommon/AVS/AVSDiscoveryEndpointAttributes.h>
#include <AVSCommon/AVS/CapabilityConfiguration.h>
Include dependency graph for DiscoveryUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

bool alexaClientSDK::capabilitiesDelegate::utils::validateCapabilityConfiguration (const avsCommon::avs::CapabilityConfiguration &capabilityConfig)
 
bool alexaClientSDK::capabilitiesDelegate::utils::validateEndpointAttributes (const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes)
 
bool alexaClientSDK::capabilitiesDelegate::utils::compareEndpointConfigurations (const std::string &firstEndpointConfigJson, const std::string &secondEndpointConfigJson)
 
std::string alexaClientSDK::capabilitiesDelegate::utils::getEndpointConfigJson (const avsCommon::avs::AVSDiscoveryEndpointAttributes &endpointAttributes, const std::vector< avsCommon::avs::CapabilityConfiguration > &capabilities)
 
std::pair< std::string, std::string > alexaClientSDK::capabilitiesDelegate::utils::getAddOrUpdateReportEventJson (const std::vector< std::string > &endpointConfigurations, const std::string &authToken)
 
std::string alexaClientSDK::capabilitiesDelegate::utils::getDeleteReportEndpointConfigJson (const std::string &endpointId)
 
std::string alexaClientSDK::capabilitiesDelegate::utils::getDeleteReportEventJson (const std::vector< std::string > &endpointConfigurations, const std::string &authToken)
 

Variables

static constexpr int alexaClientSDK::capabilitiesDelegate::utils::MAX_DISCOVERY_PAYLOAD_SIZE = 256 * 1024
 Maximum size of the Discovery event (256 KB) More...
 
static constexpr int alexaClientSDK::capabilitiesDelegate::utils::MAX_DISCOVERY_HEADER_AND_SCOPE_SIZE = 10 * 1024
 Maximum size of header and scope fields in the Discovery event (Choosing a sufficiently large size of 10KB). More...
 
static constexpr int alexaClientSDK::capabilitiesDelegate::utils::MAX_ENDPOINTS_SIZE_IN_PAYLOAD = MAX_DISCOVERY_PAYLOAD_SIZE - MAX_DISCOVERY_HEADER_AND_SCOPE_SIZE
 Maximum size of endpoint configurations in Event payload. More...
 

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