|
Legrand / Raritan Xerus™ JSON-RPC API for Remote Access Devices like KX4-101, KX3G2
|
Classes | |
| struct | DeviceAttachedEvent |
| Event: A DSAM device was connected. More... | |
| struct | DeviceChangedEvent |
| Event: Connected DSAM devices list has changed. More... | |
| struct | DeviceRemovedEvent |
| Event: A DSAM device was disconnected. More... | |
| struct | KeywordMappingChangedEvent |
| Event: The keyword mapping was changed. More... | |
| struct | UpdateHistoryEntry |
| DSAM firmware update history entry. More... | |
Public Types | |
| enum | UpdateHistoryStatus { SUCCESSFUL , FAILED , INCOMPLETE } |
| Firmware update history status More... | |
Public Member Functions | |
| vector< DsamDevice > | getDsamDevices () |
| Get DSAM devices connected to the device. | |
| string | getAvailableFirmwareVersion () |
| Get version of the DSAM firmware available for update. | |
| vector< UpdateHistoryEntry > | getUpdateHistory () |
| Fetch the DSAM firmware update history. | |
| void | startFirmwareUpdate (in vector< DsamDevice > dsams) |
| Start firmware update on the given devices. | |
| map< string, vector< SerialAccessPort > > | getKeywordMapping () |
| Get serial device keyword mapping. | |
| int | setKeywordMapping (in map< string, vector< SerialAccessPort > > mapping) |
| Set serial device keyword mapping. | |
Public Attributes | |
| constant int | ERR_INVALID_ARGUMENT = 1 |
Definition at line 9 of file DsamDeviceManager.idl.
Firmware update history status
| Enumerator | |
|---|---|
| SUCCESSFUL | The update was successfully completed. |
| FAILED | The update failed. |
| INCOMPLETE | The update was not completed. |
Definition at line 15 of file DsamDeviceManager.idl.
| string radm::DsamDeviceManager::getAvailableFirmwareVersion | ( | ) |
Get version of the DSAM firmware available for update.
| vector< DsamDevice > radm::DsamDeviceManager::getDsamDevices | ( | ) |
Get DSAM devices connected to the device.
| map< string, vector< SerialAccessPort > > radm::DsamDeviceManager::getKeywordMapping | ( | ) |
Get serial device keyword mapping.
An alert is sent in the serial protocol whenever a configured keyword is encountered in the serial port data.
| vector< UpdateHistoryEntry > radm::DsamDeviceManager::getUpdateHistory | ( | ) |
Fetch the DSAM firmware update history.
| int radm::DsamDeviceManager::setKeywordMapping | ( | in map< string, vector< SerialAccessPort > > | mapping | ) |
Set serial device keyword mapping.
The following constraints apply:
| mapping | New keyword mapping, using keyword as key and serial ports the keyword is configured for as value |
| void radm::DsamDeviceManager::startFirmwareUpdate | ( | in vector< DsamDevice > | dsams | ) |
Start firmware update on the given devices.
| dsams | DSAM devices to update |
| constant int radm::DsamDeviceManager::ERR_INVALID_ARGUMENT = 1 |
Definition at line 10 of file DsamDeviceManager.idl.