5.7 Reference Guide for using DLL
190
5.7.7 Audio Fucntions
start_tone_sig
Description
This function starts sending of audio tone signal to the DUT.
Syntax
unsigned long start_tone_sig(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_tone_sig
Description
This function stops sending of audio tone signal to the DUT.
Syntax
unsigned long stop_tone_sig(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 // connection handle of the SCO link to send tone signal
audio_test
Description
This function measures the parameters of RX audio signal. This is a useful function on DUT that do not have
test mode support, by measuring SINAD and Distortion corresponding to RX test(Sensitivity).
Syntax
unsigned long audio_test(unsigned short connection_handle, short dut_tone_freq, float *pow_peak, float
*frequency, float *rms, float *sinad, float *dist );
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 // connection handle of the SCO link to test the parameters of RX audio signal
dut_tone_freq // frequency of the tone signal, with the DUT sends to the tester
pow_peak // peak value of the power in audio spectrum characteristic
frequency // frequency of the audio signal's power density maximum
rms // RMS value of the audio signal
sinad // sinad value of the audio signal
dist // distortion of the audio signal
start_sco_loopback
Description
This function enters the SCO loopback mode to send all SCO data back to the DUT.
Syntax