Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterfaceWithDM by
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 Wed Jul 13 2022 01:24:03 by
