Onboard Library - Class List

Following is the description of classes presented in the Stream Library.

Onboard:

This derived class overrides OnboardService base class member functions.
The AnyConnect Smarter Camera Platform Libraries will call these APIs
to read and send data to and from Bluetooth or WiFi network interfaces.

Private Attributes

Private Methods

Public Methods

Private Member Data Documentation

Following is the detailed documentation of the private variables declared under the Onboard: class.

handler

com::anyconnect::onboard::DataReceiveHandler handler;

dataThread

std::thread dataThread;

dataThreadRunning

bool dataThreadRunning;

Private Member Function Documentation

Following is the detailed documentation of the private methods declared under the Onboard: class.

dataReceiveThread

void dataReceiveThread();

Public Member Function Documentation

Following is the detailed documentation of the public methods declared under the Onboard: class.

Onboard

Onboard();

~Onboard

virtual ~Onboard();

getAvailableInterfaces

void getAvailableInterfaces(std::vector<std::string> &interfaceList) override;

enableInterface

void enableInterface(const std::string& interfaceId) override;

disableInterface

void disableInterface(const std::string& interfaceId) override;

sendData

void sendData(const std::string& interfaceId, std::string data, const int length) override;

setDataReceiveCallback

void setDataReceiveCallback(com::anyconnect::onboard::DataReceiveHandler handler) override;

connecttoWifi

com::anyconnect::onboard::WifiStatus connecttoWifi(const std::string& wifiSecurity, const std::string& wifiSSID, const std::string& password) override;