Inherits NetOceanDirect::ManagedObject< EepromAPI >.
|
array< unsigned char > | readSlot (long deviceID, int% errorCode, int slotNumber, int bufferLength) |
|
| ManagedObject (EepromAPI *instance) |
|
EepromAPI * | GetInstance () |
|
◆ readSlot()
array< unsigned char > Eeprom::readSlot |
( |
long |
deviceID, |
|
|
int% |
errorCode, |
|
|
int |
slotNumber, |
|
|
int |
bufferLength |
|
) |
| |
Reads a specific slot from the given device's EEPROM and returns its contents in a new tracked array.
- Parameters
-
[in] | deviceID | the device ID for the device to be queried (from OceanDirect::findDevices()) |
[out] | errorCode | set to 0 if successful, an OceanDirect error code (nonzero) otherwise |
[in] | slotNumber | the EEPROM slot index to be read |
[in] | bufferLength | the amount of data (in bytes) to read from the EEPROM slot |
- Returns
- tracked handle to a new array of length bufferLength containing the contents of the EEPROM slot
The documentation for this class was generated from the following files: