This topic describes the following functions:
int E6651_SetCIDValue(BYTE MID, int Idx, WORD Value);
MID [in]: User defined E6651A Machine ID
Idx [in]: The CID to be allocated the value specified by this command.
Value [in]: E6651’s Connection ID (CID) to be set.
Idx:
0 - Basic CID
1 - Primary CID
2 - UL burst CID
3 - DL burst CID
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Configure a connection ID value for a specified connection - Basic, Primary, UL burst and DL burst.
int E6651_GetSSRNGINFO(BYTE MID, double* dPW1, int* nPLW, int* nDPW, int* nFOW, int* nSuccess);
MID [in]: User defined E6651A Machine ID
dPW1 [out] : Calculated Ranging Power from Ranging Message.
nPLW [out] : Detect Power from DSP.
nDPW [out] : Detect Position.
nFOW [out] : Frequency Offset.
nSuccess:
Status
1 - Continue
2 - Abort
3 - Success
Failure: STATE_ERROR(-1)
Retrieve Ranging Information.
int E6651_GetSSPRDRNGINFO(BYTE MID, double* dPW1, int* nPLW, int* nDPW, int* nFOW, int* nSuccess);
MID [in]: User defined E6651A Machine ID
dPW1 [out] : Calculated Ranging Power from Periodic Ranging Message.
nPLW [out] : Detect Power from DSP.
nDPW [out] : Detect Position.
nFOW [out] : Frequency Offset.
nSuccess:
Status
1 - Continue
2 - Abort
3 - Success
Failure: STATE_ERROR(-1)
Retrieve Periodic Ranging Information.
int E6651_GetSSPRDInitRNGINFO(BYTE MID, double* dPW1, int* nPLW, int* nDPW, int* nFOW, int* nSuccess);
MID [in]: User defined E6651A Machine ID
dPW1 [out] : Calculated Ranging Power from PRD(INI) Ranging Message.
nPLW [out] : Detect Power from DSP.
nDPW [out] : Detect Position.
nFOW [out] : Frequency Offset.
nSuccess:
Status
1 - Continue
2 - Abort
3 - Success
Failure: STATE_ERROR(-1)
Retrieve PRD(INI) Ranging Information.
int E6651_ClearRNGINFO(BYTE MID);
MID [in]: User defined E6651A Machine ID
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Reset the parameters' values of various Ranging messages, dPW1, nPLW, nDPW, and nFOW to 0 (zero).
int E6651_GetRefRPValue(BYTE MID, double* Value);
int E6651_SetRefRPValue(BYTE MID, double Value);
MID [in]: User defined E6651A Machine ID
Value [out]: Current reference ranging power value.
Value [in]: Set the power threshold, in dBm, to declare initial ranging success.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieves or sets power threshold to determine the success of initial ranging. If measured power of initial ranging exceeds the threshold, E6651A declares initial ranging success.
int E6651_GetRNGRSPTimingMode(BYTE MID, int* Value);
int E6651_SetRNGRSPTimingMode(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID
Value [out]: Current timing offset determination mode.
Value [in]: Set the method used to determine the timing offset.
0 - default
1 - DPW method.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieves or sets the timing offset determination mode. Timing offset can be set as either the default value (calculated from DL start position and RTD value) or DPW value from the initial ranging message from the DUT. The timing offset is used for timing reference when E6651A demodulates UL signal.
int E6651_GetBSRNGRSPOffset(BYTE MID, int* Value);
int E6651_SetBSRNGRSPOffset(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID
Value [out]: Current power offset value for Initial Ranging or Periodic Ranging in dB.
Value [in]: Set the power offset value for Initial Ranging or Periodic Ranging in dB.
0 dB
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the power offset value for Initial Ranging or Periodic Ranging.
int E6651_GetBSRNGRSP_PowerOffset(BYTE MID, int * Value);
int E6651_SetBSRNGRSP_PowerOffset(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID.
Value [out]: Current Power Offset of E6651(MID) in dB.
Value [in]: Set the Power Offset value in dB.
0 dB
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the overall power offset value in dB.
int E6651_GetBSRNGRSP_FreqOffset(BYTE MID, int * Value);
int E6651_SetBSRNGRSP_FreqOffset(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID.
Value [out]: Current Frequency Offset value of E6651(MID)
Value [in]: Frequency Offset value to be set in Hz.
0 Hz
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the Frequency Offset value of E6651(MID).
int E6651_GetBSRNGRSP_TimeOffset(BYTE MID, double* Value);
int E6651_SetBSRNGRSP_TimeOffset(BYTE MID, double Value);
MID [in]: User defined E6651A Machine ID.
Value [out]: Current Time Offset of E6651(MID).
Value [in]: Time Offset of E6651(MID) to be set.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the Time Offset of the E6651A during Initial Ranging. Units of set value: 0.25 * n ps.
int E6651_GetBSRNGRSP_Status(BYTE MID, int* Value);
int E6651_SetBSRNGRSP_Status(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID.
Value [out]: Current State value of RNG-RSP msg. Transmission Mode.
Value [in]: State value of RNG-RSP msg. Transmission Mode to be set.
0 - Auto
1 if Transmission mode is always ‘Continue’ when a mobile phone is trying Initial Ranging.
2 if Transmission mode is always ‘Abort’ when a mobile phone is trying Initial Ranging.
3 if Transmission mode is always ‘Success’ when a mobile phone is trying Initial Ranging.
4 - Block
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the Status value of Initial Ranging’ Result Transmission Mode.
int E6651_GetRNGRSPPowerMode(BYTE MID, int* Value);
int E6651_SetRNGRSPPowerMode(BYTE MID, int Value);
MID [in]: User defined E6651A Machine ID
Value [out]: Current power mode value.
Value [in]: E6651’s setting to be set.
0 - Auto
1 - dBm
0, Auto
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve and set the power mode value. When retrieving E6651A's receiver power value from ranging response message or setting E6651A's receiver power value to determine successful ranging, the parameter determines the power value to be retrieved or set.
int E6651_GetTimingOffsetRTD(BYTE MID, int* Value);
MID [in]: User defined E6651A Machine ID
Value [out]: Timing offset value calculated from RTD information when timing mode is "1".
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Returns timing offset value calculated from DPW in initial ranging message and RTD information.
int E6651_GetTimingErrorValue(BYTE MID, double* Value);
MID [in]: User defined E6651A Machine ID
Value [out]: The current timing error value in SA. It's the deviation error from DP value of 200 when in BSE mode. The error can be varied according to UL timing offset variation.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve the current timing error value in SA.
int E6651_StartMeasureMode(BYTE MID);
MID [in]: User defined E6651A Machine ID
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Set "Measure Mode Start Flag" as "1". Start measurement mode.
int E6651_StopMeasureMode(BYTE MID, double* MAXValue, double* MINValue);
MID [in]: User defined E6651A Machine ID
MAXValue [out] : The maximum measured power value.
MINValue[out] : The minimum measured power value.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Returns the maximum and the minimum power information from the start of measurement mode (Measurement mode start) to the end of measurement mode (Measurement mode stop).
int E6651_GetULTTG(BYTE MID, double* Value);
MID [in]: User defined E6651A Machine ID
Value [out]: The current TTG (Transmit Time Gab) value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve the TTG value when E6651A(MID) is operating.
int E6651_GetULRTG(BYTE MID, double* Value);
MID [in]: User defined E6651A Machine ID
Value [out]: The current RTG (Receive Time Gab) value.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve the RTG value when E6651A(MID) is operating.
int E6651_GetULSymbol(BYTE MID, int* Value);
MID [in]: User defined E6651A Machine ID
Value [out]: UL symbol number of E6651 (dBm).
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Retrieve the UL symbol number of E6651A(MID).