5.7 Reference Guide for using DLL
165
Syntax
unsigned long write_sco_pkt_type(unsigned char sco_pkt_type);
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
sco_pkt_type // 5:HV1, 6:HV2, 7:HV3(default)
read_sco_loopback_delay
Description
This function reads the delay of SCO loopback in milliseconds.
Syntax
unsigned long read_sco_loopback_delay(unsigned short *sco_loopback_delay);
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
sco_loopback_delay // Range : 0 ~ 65535.
write_sco_loopback_delay
Description
This function writes the delay of SCO loopback in milliseconds
Syntax
unsigned long write_sco_loopback_delay(unsigned short sco_loopback_delay);
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
sco_loopback_delay // Range : 0 ~ 65535. Default : 2000(2 s).
start_sco_loopback
Description
This function enters the SCO loopback mode to send all SCO data back to the DUT.
Syntax
unsigned long start_sco_loopback(unsigned short connection_handle);
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
connection_handle // the connection handle of the SCO link to send tone signal
stop_sco_loopback
Description
This function stops the SCO loopback mode to send all SCO data back to the DUT.
Syntax
unsigned long stop_sco_loopback(unsigned short connection_handle);