Appendix B : Software Functions - Vecow PE-5000 Series User Manual

4/2-channel intel xl710/x550-at2 10g poe+ lan, ieee 802.3at compliant pci express x8/x4 expansion card
Table of Contents

Advertisement

B

APPENDIX B : Software Functions

B.1 Driver API Guide
In Runtime folder, on PE5K.h :
_DLL_IMPORT_ definition is used on LoadLibrary API for PE5K.dll. PE5K_
EXPORTS definition is used on PE5K.dll building.
BOOL Initial(BYTE Scan, BYTE ID)
Initial card for POE
Scan : POE ID scan type
2: Auto scan; 1: Manual setup; 0: Not detect ID ([3:0]): POE ID by manual
setting
Return :
TRUE (1): Success;
FALSE (0): Fail (Driver not exists, or out of range error, or initial error (version
is too old, or card not match))
BOOL GetPOEConfig(BYTE ID, BYTE *Auto, BYTE *Mask)
Get POE configuration (by variable) ID ([3:0]): POE ID
Auto ([3:0]): Auto mode, pin setting by hexadecimal bitmask
1: Auto;
0: Manual
Mask ([3:0]): DC Enable/Disable, pin setting by hexadecimal bitmask
1: Enable;
0: Disable
Return :
TRUE (1): Success;
FALSE (0): Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetPOEConfig(BYTE ID, BYTE Auto, BYTE Mask)
Set POE configuration ID ([3:0]): POE ID
Auto ([3:0]): Auto mode, pin setting by hexadecimal bitmask
1: Auto;
0: Manual
Mask ([3:0]): DC Enable/Disable, pin setting by hexadecimal bitmask
1: Enable;
0: Disable
Return :
TRUE (1): Success;
FALSE (0): Fail (Initial error, or out of range error, or hardware problem)
©Vecow PE-5000 User Manual
©Vecow PE-5000 User Manual
Appendix B
38
38

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pe-5004Pe-5002

Table of Contents