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
DeviceManager Class Reference
DeviceManager is the endpoint management class. More...
#include <DeviceManager.h>
Public Member Functions | |
DeviceManager (const Logger *logger, const void *dm_responder=NULL, const char *mfg="ARM", const char *dev_type="mbed", const char *model="ARM", const char *serial="000000", const char *fw_ver="0.0.0", const char *hw_ver="0.0.0", const char *sw_ver="0.0.0") | |
Default constructor. | |
DeviceManager (const DeviceManager &manager) | |
Copy constructor. | |
virtual | ~DeviceManager () |
Destructor. | |
void | install (const void *endpoint, const void *config) |
install the device manager into the endpoint | |
void * | getResponder () |
get the DeviceManagementResponder |
Detailed Description
DeviceManager is the endpoint management class.
Definition at line 48 of file DeviceManager.h.
Constructor & Destructor Documentation
DeviceManager | ( | const Logger * | logger, |
const void * | dm_responder = NULL , |
||
const char * | mfg = "ARM" , |
||
const char * | dev_type = "mbed" , |
||
const char * | model = "ARM" , |
||
const char * | serial = "000000" , |
||
const char * | fw_ver = "0.0.0" , |
||
const char * | hw_ver = "0.0.0" , |
||
const char * | sw_ver = "0.0.0" |
||
) |
Default constructor.
- Parameters:
-
logger input logger instance dm_responder input data management responder/processor mfg input endpoint manufacturer dev_type input the endpoint type model input the model of the endpoint serial input the serial of the endpoint fw_vers input the current firmware version hw_vers input the current hardware version sw_vers input the current software version
Definition at line 39 of file DeviceManager.cpp.
DeviceManager | ( | const DeviceManager & | manager ) |
Copy constructor.
- Parameters:
-
resource input the DeviceManager that is to be deep copied
Definition at line 71 of file DeviceManager.cpp.
~DeviceManager | ( | ) | [virtual] |
Destructor.
Definition at line 98 of file DeviceManager.cpp.
Member Function Documentation
void * getResponder | ( | ) |
get the DeviceManagementResponder
- Returns:
- the DeviceManagementResponder or NULL
Definition at line 400 of file DeviceManager.cpp.
void install | ( | const void * | endpoint, |
const void * | config | ||
) |
install the device manager into the endpoint
- Parameters:
-
endpoint input the endpoint instance config input the endpoint configuration instance
Definition at line 379 of file DeviceManager.cpp.
Generated on Tue Jul 12 2022 18:38:06 by 1.7.2