This is the sample program that can see the decode result of barcode data on Watson IoT.

Dependencies:   AsciiFont DisplayApp GR-PEACH_video LCD_shield_config LWIPBP3595Interface_STA_for_mbed-os USBDevice

Embed: (wiki syntax)

« Back to documentation index

Options Class Reference

Options Class Reference

Options class. More...

#include <Options.h>

Inherited by OptionsBuilder [private].

Public Member Functions

 Options ()
 Default constructor.
 Options (const Options &opt)
 Copy constructor.
virtual ~Options ()
 Destructor.
int getLifetime ()
 Get the node lifetime.
string getDomain ()
 Get the NSP domain.
string getEndpointNodename ()
 Get the node name.
string getEndpointType ()
 Get the node type.
char * getConnectorURL ()
 Get the endpoint Connector URL.
uint16_t getConnectorPort ()
 Get the connector connection port from the URL.
void * getDeviceResourcesObject ()
 Get the Device Resources Object Instance.
void * getFirmwareResourcesObject ()
 Get the Firmware Resources Object Instance.
StaticResourcesList * getStaticResourceList ()
 Get the list of static resources.
DynamicResourcesList * getDynamicResourceList ()
 Get the list of dynamic resources.
string getWiFiSSID ()
 Get the WiFi SSID.
WiFiAuthTypes getWiFiAuthType ()
 Get the WiFi Auth Type.
string getWiFiAuthKey ()
 Get the WiFi Auth Key.
CoAPConnectionTypes getCoAPConnectionType ()
 Get the CoAP Connection Type.
IPAddressTypes getIPAddressType ()
 Get the IP Address Type.
bool immedateObservationEnabled ()
 Enable/Disable Immediate Observationing.
bool enableGETObservationControl ()
 Enable/Disable Observation control via GET.
uint8_t * getServerCertificate ()
 Get the Server Certificate.
int getServerCertificateSize ()
 Get the Server Certificate Size (bytes)
uint8_t * getClientCertificate ()
 Get the Client Certificate.
int getClientCertificateSize ()
 Get the Client Certificate Size (bytes)
uint8_t * getClientKey ()
 Get the Client Key.
int getClientKeySize ()
 Get the Client Key Size (bytes)
void * getEndpoint ()
 Get Our Endpoint.

Detailed Description

Options class.

Definition at line 77 of file Options.h.


Constructor & Destructor Documentation

Options (  )

Default constructor.

Definition at line 32 of file Options.cpp.

Options ( const Options opt )

Copy constructor.

Definition at line 37 of file Options.cpp.

~Options (  ) [virtual]

Destructor.

Definition at line 42 of file Options.cpp.


Member Function Documentation

bool enableGETObservationControl (  )

Enable/Disable Observation control via GET.

Definition at line 137 of file Options.cpp.

uint8_t * getClientCertificate (  )

Get the Client Certificate.

Definition at line 152 of file Options.cpp.

int getClientCertificateSize (  )

Get the Client Certificate Size (bytes)

Definition at line 157 of file Options.cpp.

uint8_t * getClientKey (  )

Get the Client Key.

Definition at line 162 of file Options.cpp.

int getClientKeySize (  )

Get the Client Key Size (bytes)

Definition at line 167 of file Options.cpp.

CoAPConnectionTypes getCoAPConnectionType (  )

Get the CoAP Connection Type.

Definition at line 122 of file Options.cpp.

uint16_t getConnectorPort (  )

Get the connector connection port from the URL.

Definition at line 77 of file Options.cpp.

char * getConnectorURL (  )

Get the endpoint Connector URL.

Definition at line 71 of file Options.cpp.

void * getDeviceResourcesObject (  )

Get the Device Resources Object Instance.

Definition at line 83 of file Options.cpp.

string getDomain (  )

Get the NSP domain.

Definition at line 53 of file Options.cpp.

DynamicResourcesList * getDynamicResourceList (  )

Get the list of dynamic resources.

Definition at line 101 of file Options.cpp.

void * getEndpoint (  )

Get Our Endpoint.

Definition at line 172 of file Options.cpp.

string getEndpointNodename (  )

Get the node name.

Definition at line 59 of file Options.cpp.

string getEndpointType (  )

Get the node type.

Definition at line 65 of file Options.cpp.

void * getFirmwareResourcesObject (  )

Get the Firmware Resources Object Instance.

Definition at line 89 of file Options.cpp.

IPAddressTypes getIPAddressType (  )

Get the IP Address Type.

Definition at line 127 of file Options.cpp.

int getLifetime (  )

Get the node lifetime.

Definition at line 47 of file Options.cpp.

uint8_t * getServerCertificate (  )

Get the Server Certificate.

Definition at line 142 of file Options.cpp.

int getServerCertificateSize (  )

Get the Server Certificate Size (bytes)

Definition at line 147 of file Options.cpp.

StaticResourcesList * getStaticResourceList (  )

Get the list of static resources.

Definition at line 95 of file Options.cpp.

string getWiFiAuthKey (  )

Get the WiFi Auth Key.

Definition at line 117 of file Options.cpp.

WiFiAuthTypes getWiFiAuthType (  )

Get the WiFi Auth Type.

Definition at line 112 of file Options.cpp.

string getWiFiSSID (  )

Get the WiFi SSID.

Definition at line 107 of file Options.cpp.

bool immedateObservationEnabled (  )

Enable/Disable Immediate Observationing.

Definition at line 132 of file Options.cpp.