|
Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Memory map controller. More...
Public Member Functions | |
| int | readMemory (in int address, in int size, out vector< byte > memory) |
| Read a given number of bytes from an address. | |
| int | writeMemory (in int address, in vector< byte > memory) |
| Write bytes to an address. | |
Public Member Functions inherited from pdumodel::Controller | |
| Status | getCommunicationStatus () |
| Retrieve the current status of communication with controller. | |
| CtrlStatistic | getStatistics () |
| Retrieve statistics. | |
| MetaData | getMetaData () |
| Retrieve the sub controller metadata. | |
| int | reset () |
| Reset this sub controller. | |
Additional Inherited Members | |
Public Types inherited from pdumodel::Controller | |
| enum | Status { OK , COMMUNICATION_UNSTABLE , COMMUNICATION_FAILURE , UNKNOWN , INCOMPATIBLE , FIRMWARE_UPDATE } |
| Communication status. More... | |
| enum | Type { OUTLET_CTRL , INLET_CTRL , METER_CTRL } |
| Sub controller type. More... | |
Public Attributes inherited from pdumodel::Controller | |
| constant int | ERR_NOT_SUPPORTED = 1 |
| Operation not supported. | |
Memory map controller.
Definition at line 12 of file MemoryMapController.idl.
| int pdumodel::MemoryMapController::readMemory | ( | in int | address, |
| in int | size, | ||
| out vector< byte > | memory | ||
| ) |
Read a given number of bytes from an address.
| address | The address to read |
| size | The number of bytes to read |
| memory | The vector with the read bytes |
| int pdumodel::MemoryMapController::writeMemory | ( | in int | address, |
| in vector< byte > | memory | ||
| ) |
Write bytes to an address.
| address | The address to write |
| memory | The vector with the bytes to write |