5.7 Reference Guide for using DLL
194
f_h // highest frequency in Hz above the operating frequencies at which
// transmit power drops 20 dB below thehighest power value in the transmit channel
adj_ch_pow
Description
This function provides measurement of power in adjacent channels.The function can be used for
TRM/CA/06/C (TX Output Spectrum Adjacent channel power)) test case.
Syntax
unsigned long adj_ch_pow(unsigned char freq,unsigned char hop_mode, unsigned short
num_sweeps,unsigned short data_length, short ptx[79]);
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
num_sweeps // number of sweeps at each adjacent channel, Default:1
data_length // length of payload's data. Default:27
ptx[79] // power in adjacent channels
modul_char
Description
This function provides measurement of the modulation index for 11110000 and 1010 bit paterns at the given
TX frequency. The frequency is RX frequency of a tester. The function can be used for the
TRM/CA/07/C:(Modulation Characteristics) test case.
Syntax
unsigned long modul_char(unsigned char test_mode, unsigned char freq,unsigned char
hop_mode,unsigned char pkt_type,unsigned short num_pkts,unsigned char one_mhz_f, unsigned
shortdf2_avg_low_lim, unsigned short*df1_avg,unsigned short *bytes_2, unsigned short *num_df2_l,
unsigned short *df2_avg,unsigned short*df2_min);
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
test_mode// Test Mode. 1:TRANSMITTER_TEST(default), 2:LOOPBACK_TEST
freq // frequency. 0:2402 MHz, 1:2403 MHz, ... 78:2480 MHz
hop_mode // Hopping 1: OFF(default), 79: ON
pkt_type // packet type. 0:Longest(default), 4:DH1, 9:AUX1, 11:DH3, 15:DH5
one_mhz_f // 1MHz filter 0: OFF, 1: ON
df2_avg_low_lim // lower limit for average of all maximum frequency deviations from the average frequency
// for the 1010 pattern in Hz divided by 100 (1unit = 100 Hz)
df1_avg // average of all maximum frequency deviations from the average frequency
// for the 11110000 pattern in Hz divided by 100. (1unit = 100 Hz)
bytes_2 // number of checked bits with pattern 1010
num_df2_l // number of deviations from the average frequency for the 10101010
// pattern less then low limit (115 KHz)
df2_avg // average of all maximum frequency deviations from the average frequency
// for the 1010 pattern in Hz divided by 100. (1unit = 100 Hz)
df2_min // minimum of all maximum frequency deviations from the average frequency
// for the 1010 pattern in Hz divided by 100. (1unit = 100 Hz)
init_car_freq
Description