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

Namespaces

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

Macros

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

Functions

static const std::string alexaClientSDK::avsCommon::utils::network::TAG ("InternetConnectionMonitor")
 String to identify log entries originating from this file. More...
 
static const size_t alexaClientSDK::avsCommon::utils::network::CHUNK_SIZE (1024)
 The number of bytes read from the attachment with each read in the read loop. More...
 

Variables

static const std::chrono::minutes alexaClientSDK::avsCommon::utils::network::DEFAULT_TEST_PERIOD {5}
 The amount of time to wait before retesting for internet connection availability. More...
 
static const std::chrono::milliseconds alexaClientSDK::avsCommon::utils::network::WAIT_FOR_ACTIVITY_TIMEOUT {100}
 Timeout for polling loops that check shutdown. More...
 
static const std::string alexaClientSDK::avsCommon::utils::network::S3_TEST_URL = "http://spectrum.s3.amazonaws.com/kindle-wifi/wifistub.html"
 The URL to fetch content from. More...
 
static const std::string alexaClientSDK::avsCommon::utils::network::VALIDATION_STRING = "81ce4465-7167-4dcb-835b-dcc9e44c112a"
 The string that will serve as validation that the HTTP content was received correctly. More...
 
static const std::string alexaClientSDK::avsCommon::utils::network::PROCESS_ATTACHMENT_ID_PREFIX = "download:"
 Process attachment ID prefix. 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