AAD-C622AX
66
Acrosser Technology Co., Ltd.
Syntax:
i32 getRemoteSwitch(u8 *val)
Description:
The function gets the status of the Remote Switch.
Parameters:
This function takes a pointer to an unsigned char variable
as the parameter. After calling this function, the status
of the Remote Switch will be put at the memory which is
pointed by the parameter ‘val’. If the Remote Switch is
enabled, ‘*val’ is 0x5A. If the Remote Switch is disabled,
the ‘*val’ is 0xA5. Users can use the macros ‘ENABLED’
(0x5A) and ‘DISABLED’(0xA5) to test the status value
‘*val’.
For example:
u8 val;
i32 result;
result = getRemoteSwitch(&val);
if(result == 0) {
if(val == ENABLED)
printf(“Remote Switch is enabled.\n”);
else if( val == DISABLED )
printf(“Remote Switch is disabled.\
n”);
}
Return Value:
If this function works successfully, it returns 0, any other
value stands for error.
Syntax:
i32 setRemoteSwitch(u8 val)
Description:
The function sets the status of the Remote Switch.
Parameters:
This function takes an unsigned char as the parameter.
The value of this parameter can be ‘ENABLED’ (0x5A) or
‘DISABLED’(0xA5).
Return Value:
If this function works successfully, it returns 0, any other
value stands for error.
Содержание AAD-C622A Series
Страница 9: ...AAD C622AX 9 www acrosser com 1 3 System Dissection 1 3 1 Dimensions Unit mm AAD C622A1...
Страница 10: ...AAD C622AX 10 Acrosser Technology Co Ltd AAD C622A2...
Страница 11: ...AAD C622AX 11 www acrosser com 1 3 2 Front I O Panel AAD C622A1 AAD C622A2...
Страница 15: ...AAD C622AX 15 www acrosser com 1 3 3 Rear I O Panel AAD C622A1 AAD C622A2...
Страница 40: ...AAD C622AX 40 Acrosser Technology Co Ltd Step 2 Plug in the cable to 10G LAN 1 or 10G LAN 2 socket and tighten...
Страница 41: ...AAD C622AX 41 www acrosser com Step 3 Connect the other end with regular RJ 45 LAN...