5.7 Reference Guide for using DLL
193
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
freq // RX frequency of a tester (TX for a DUT). 0(2402 MHz), 1(2403 MHz) ..., 78(2480 MHz)
pkt_type // packet type. 0:Longest, 3:DM1, 4:DH1(default), 9:AUX1, 10:DM3, 11:DH3, 14:DM5, 15:DH5
num_pkts // number of packets, Default:1
one_mhz_f // 1MHz filter 0: OFF(default), 1: ON
power_min // the minimum power (in average) 1 unit = 0.01dBm.
power_max // the maximum power 1 unit = 0.01dBm
power_step_max // maximum power step (1 unit = 0.01dBm).
power_step_min // minimum power step (1 unit = 0.01dBm).
spec_fr_range
Description
This function provides measurement of the the lowest and highest frequencies below and above the
operating frequencies at which spectral power density drops below the level of 80 dBm/Hz e.i.r.p (-30 dBm
if measured in a 100 kHz bandwidth). The function can be used for the TRM/CA/04/C (TX Output Spectrum
Frequency range) test case.
Syntax
unsigned long spec_fr_range(unsigned char hop_mode, unsigned short data_length, unsigned long*f_l,
unsigned long *f_h);
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
hop_mode// Hopping 1: OFF, 79: ON
data_length// length of payload's data. Default:0
f_l // lowest frequency below the operating frequencies at which spectral power density drops
// below the level of 80 dBm/Hz e.i.r.p (-30 dBm if measured in a 100 kHz bandwidth).
f_h // highest frequency above the operating frequencies at which spectral power density drops
// below the level of 80 dBm/Hz e.i.r.p (-30 dBm if measured in a 100 kHz bandwidth).
spec_20_db
Description
The 'spec_20_db' function provides measurement of the lowest and highest frequencies below and above
the operating frequency at which transmit power drops 20 dB below the highest power value in the transmit
channel at the given TX frequency. The frequency is RX frequency of a tester. The function can be used for
TRM/CA/05/C (TX Output Spectrum -20 dB Bandwidth) test case.
Syntax
unsigned long spec_20_db(unsigned char freq,unsigned char hop_mode, unsigned short data_length,
unsigned long *f_l, unsigned long*f_h);
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
freq // RX frequency of a tester (TX for a DUT). 0:2402 MHz, 1:2403 MHz, ... , 78:2480 MHz
hop_mode// Hopping 1: OFF, 79: ON
data_length// length of payload's data. Default:0
f_l // lowest frequency in Hz below the operating frequency at which
// transmit power drops 20 dB below the highest power value in the transmit channel