A.2 eeprom functions, A.1.1 eeprom_readbyte, Eeprom functions – ADLINK EOS-1200 User Manual

Page 78: A.1.1, Eeprom_readbyte

Advertising
background image

66

Function Library

Mode

Power mode of the PoE port. Valid values:

Z

0: disables power supply to the PoE port

Z

1: automatically supplies power to the PoE port when

the PoE device is connected to the port

Return Code(s)

0: No error
-1: Not a valid device
-2: Invalid parameter

A.2 EEPROM Functions

The EOS-1200 provides 1k bits EERPOM, to store private data.

A.1.1

EEPROM_ReadByte

Description

Reads one byte of data from the EEPROM.

Syntax

C/C++

short EEPROM_ReadByte (short Offset, unsigned
char *Data)

Visual Basic

EEPROM_ReadByte (ByVal Offset As Integer,
ByRef Data As Byte) As Integer

VB.Net

EEPROM_ReadByte (ByVal Offset As Short, ByRef
Data As Byte) As Short

C#

short EEPROM_ReadByte (short Offset, out byte
Data)

Advertising