5.7 Reference Guide for using DLL
191
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 // poiner to 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);
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 // poiner to the connection handle of the SCO link to send tone signal
5.7.8 Signal Generator
start_sig_gen
Description
This function turns on the signal generator
Syntax
unsigned long start_sig_gen(unsigned long frequency,float power,unsigned long bit_pattern, short fm_dev);
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
frequency // in KHz. The range is from 2400000 to 2500000
power // TX power in dBm. The range is fom -80dBm to 0dBm
bit_pattern // bit pattern of the signal generator
fm_dev // FM deviation in KHz. The range is from 0KHz to 500KHz. Resolution is 5KHz
stop_sig_gen
Description
This function turns off the signal generator
Syntax
Unsigned long stop_sig_gen(void);
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
void