1#ifndef __RADM_DSAM_DEVICE_MANAGER_IDL__
2#define __RADM_DSAM_DEVICE_MANAGER_IDL__
4#include <DsamDevice.idl>
5#include <SerialAccessPort.idl>
6#include <UserEvent.idl>
10 constant
int ERR_INVALID_ARGUMENT = 1;
vector< UpdateHistoryEntry > getUpdateHistory()
Fetch the DSAM firmware update history.
void startFirmwareUpdate(in vector< DsamDevice > dsams)
Start firmware update on the given devices.
string getAvailableFirmwareVersion()
Get version of the DSAM firmware available for update.
UpdateHistoryStatus
Firmware update history status
@ FAILED
The update failed.
@ INCOMPLETE
The update was not completed.
@ SUCCESSFUL
The update was successfully completed.
vector< DsamDevice > getDsamDevices()
Get DSAM devices connected to the device.
map< string, vector< SerialAccessPort > > getKeywordMapping()
Get serial device keyword mapping.
int setKeywordMapping(in map< string, vector< SerialAccessPort > > mapping)
Set serial device keyword mapping.
Common base for all events.
Event: A DSAM device was connected.
DsamDevice device
Newly connected DSAM device.
Event: Connected DSAM devices list has changed.
vector< DsamDevice > dsamList
List of connected DSAM devices after change.
Event: A DSAM device was disconnected.
string deviceId
ID of disconnected DSAM.
string serialNumber
Serial number of disconnected DSAM.
Event: The keyword mapping was changed.
map< string, vector< SerialAccessPort > > newMapping
Mapping after change.
map< string, vector< SerialAccessPort > > oldMapping
Mapping before change.
DSAM firmware update history entry.
time timestamp
Timestamp when the update was started.
int port
Index of port the DSAM was connected to.
UpdateHistoryStatus status
Update status.
string serialno
DSAM serial number.
string oldVersion
Previous firmware version.
string imageVersion
Firmware version of update image.