148
PRO SWITCHING SYSTEM
int Hdx2000Exit(HGLOBAL hSession);
Exits the library (mandatory last call to the library).
int Hdx2000SwitchSet(HGLOBAL hSession, char *szIpAddress, char
*szWriteCommunity, int cc, int pp);
Initiates a switch request (will generate a SWI or GSW trap).
hSession Session handler
szIpAddress IP address of the target rack
szWriteCommunity Write community name of the target rack
cc Card slot number (from 1 to 16, 0 for gang
switching)
pp 1 for position A, 2 for position B...
int Hdx2000SwitchGet(HGLOBAL hSession, char *szIpAddress, char
*szReadCommunity, int cc);
Initiates a switch position report (will generate a SWI trap).
hSession Session handler
szIpAddress IP address of the target rack
szReadCommunity Read community name of the target rack
cc Card slot number (from 1 to 16)
int Hdx2000LedGet(HGLOBAL hSession, char *szIpAddress, char
*szReadCommunity, int cc, int pp, int ll);
Initiates an LED state report (will generate an LED trap).
hSession Session handler
szIpAddress IP address of the target rack
szReadCommunity Read community name of the target rack
cc Card slot number (from 1 to 16)
pp Port number (0 for COMMON port, 1 for A, 2 for
B...)
ll LED number
int Hdx2000LineGet(HGLOBAL hSession, char *szIpAddress, char
*szReadCommunity, int cc);
Initiates a line card state report (will generate a LIN trap).
hSession Session handler
szIpAddress IP address of the target rack
szReadCommunity Read community name of the target rack
cc Card slot number (from 1 to 16)