mbedConnectorInterface back port from mbedOS v3 using mbed-client C++ call interface
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 58 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 79 of file DeviceManager.cpp.
| ~DeviceManager | ( | ) | [virtual] |
Destructor.
Definition at line 91 of file DeviceManager.cpp.
Member Function Documentation
| void * getResponder | ( | ) |
get the DeviceManagementResponder
- Returns:
- the DeviceManagementResponder or NULL
Definition at line 136 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 98 of file DeviceManager.cpp.
Generated on Wed Jul 13 2022 21:59:32 by
1.7.2