NetOceanDirect  1.31.0
OceanDirect .NET API
Public Member Functions | Static Public Member Functions
NetOceanDirect::Eeprom Class Reference

Inherits NetOceanDirect::ManagedObject< EepromAPI >.

Public Member Functions

array< unsigned char > readSlot (long deviceID, int% errorCode, int slotNumber, int bufferLength)
 
- Public Member Functions inherited from NetOceanDirect::ManagedObject< EepromAPI >
 ManagedObject (EepromAPI *instance)
 
EepromAPI * GetInstance ()
 

Static Public Member Functions

static Eeprom getInstance ()
 

Additional Inherited Members

- Protected Attributes inherited from NetOceanDirect::ManagedObject< EepromAPI >
EepromAPI * m_Instance
 

Member Function Documentation

◆ 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]deviceIDthe device ID for the device to be queried (from OceanDirect::findDevices())
[out]errorCodeset to 0 if successful, an OceanDirect error code (nonzero) otherwise
[in]slotNumberthe EEPROM slot index to be read
[in]bufferLengththe 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: