5.7 Reference Guide for using DLL
167
an error code.
Parameter
agc // 0: OFF, 1: ON
write_tester_agc
Description
This function writes the RX AGC(Automatic Gain Control) value of a tester.
Syntax
unsigned long write_tester_agc(unsigned char agc);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
agc // 0: OFF, 1: ON(default)
read_tester_hc_port
Description
This function reads the number of the device's port (USB, RS-232C...) of a tester to communicate with a HC.
Syntax
unsigned long read_tester_hc_port (unsigned short *hc_port);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
hc_port // the number of the device's port of a tester
// If the device’s port of a tester is USB and its number is 0, it means USB1 of rear panel.
write_tester_hc_port
Description
This function writes the number of ports (USB, RS-232C...) of a tester to communicate with a HC.
Syntax
unsigned long write_tester_hc_port (unsigned short hc_port);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
hc_port // the number of the device's port of a tester
// If the device’s port of a tester is USB and its number is 0, it means USB1 of rear panel.
read_tester_hci_tl
Description
This function reads the type of HCI transport layer of a tester.
Syntax
unsigned long read_tester_hci_tl (unsigned char *hci_tl);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.