5.7 Reference Guide for using DLL
192
5.7.9 RF Test Cases
outp_pow
Description
This function provides measurement of the maximum peak and average RF output power of the DUT at the
given TX frequency. The frequency is RX frequency of a tester. The function can be used for the
TRM/CA/01/C (Output Power) test case.
Syntax
unsigned long outp_pow(unsigned char freq, unsigned char hop_mode, unsigned char pkt_type,
unsigned short num_pkts, unsigned char one_mhz_f, short *power_av, short*power_max,short
*power_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
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(default)
pkt_type // packet type. 0:Longest(default), 3:DM1, 4:DH1, 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_av // the average power in dBm multiplied by 100 (1 unit = 0.01dBm)
power_max // maximum peak power in dBm multiplied by 100 (1 unit = 0.01dBm)
power_min // minimum power in dBm multiplied by 100 (1 unit = 0.01dBm).
pow_dens
Description
This function provides measurement of 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 kHzbandwidth). The function can be used for the TRM/CA/02/C (Power Density) test case.
Syntax
unsigned long pow_dens(unsigned char hop_mode, unsigned short data_length, short *p_dens,
unsigned long *f_max);
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(longest supported length).
p_dens // maximum value of the power density per 100KHz EIRP
f_max // center frequency at which the power density reaches the maximum value
pow_ctrl
Description
This function provides measurement of the minimum RF-output power and the step of power controllby the
DUT at the given TX frequency. The frequency is RX frequency of a tester. The function can be used for the
TRM/CA/03/C (Power Control) test case.
Syntax
unsigned long pow_ctrl(unsigned char freq, unsigned char pkt_type, unsigned short num_pkts, unsigned
char one_mhz_f, short *power_min, short *power_max, unsigned short *power_step_max, unsigned short
*power_step_min);