|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
#include "gsml1const.h"
|
|
|
|
|
|
|
|
|
|
#define SUPERFEMTO_API(x,y,z) ((x << 16) | (y << 8) | z)
|
|
|
|
|
#define SUPERFEMTO_API_VERSION SUPERFEMTO_API(3,10,0)
|
|
|
|
|
#define SUPERFEMTO_API_VERSION SUPERFEMTO_API(5,1,0)
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* Const *
|
|
|
|
@ -66,7 +66,10 @@ typedef enum SuperFemto_PrimId_t
|
|
|
|
|
SuperFemto_PrimId_SetRxCalibTblCnf, ///< CNF: Confirm the use of the new RX level calibration table
|
|
|
|
|
SuperFemto_PrimId_MuteRfReq, ///< REQ: Mute/Unmute the RF section
|
|
|
|
|
SuperFemto_PrimId_MuteRfCnf, ///< CNF: Confirm the mutin/unmiting of the the RF section
|
|
|
|
|
SuperFemto_PrimId_SetRxAttenReq, ///< REQ: Set the RX attenuation
|
|
|
|
|
SuperFemto_PrimId_SetRxAttenCnf, ///< CNF: Confirm the configuration of the RX attenuation
|
|
|
|
|
SuperFemto_PrimId_NUM
|
|
|
|
|
|
|
|
|
|
} SuperFemto_PrimId_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -384,6 +387,11 @@ typedef struct SuperFemto_GetTxCalibTblCnf
|
|
|
|
|
for GSM-900 : 0=955, 1:956, ..., 70:1, ..., 317:956, [318-373]:unused
|
|
|
|
|
for DCS-1800: 0=512, 1:513, ..., 373:885
|
|
|
|
|
for PCS-1900: 0=512, 1:513, ..., 298:810, [299-373]:unused */
|
|
|
|
|
|
|
|
|
|
uint8_t u8DspMajVer; ///< DSP firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8DspMinVer; ///< DSP firmware minor version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMajVer; ///< FPGA firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMinVer; ///< FPGA firmware minor version (0 if unkown)
|
|
|
|
|
} SuperFemto_GetTxCalibTblCnf_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -409,6 +417,11 @@ typedef struct SuperFemto_SetTxCalibTblReq
|
|
|
|
|
for GSM-900 : 0=955, 1:956, ..., 70:1, ..., 317:956, [318-373]:unused
|
|
|
|
|
for DCS-1800: 0=512, 1:513, ..., 373:885
|
|
|
|
|
for PCS-1900: 0=512, 1:513, ..., 298:810, [299-373]:unused */
|
|
|
|
|
|
|
|
|
|
uint8_t u8DspMajVer; ///< DSP firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8DspMinVer; ///< DSP firmware minor version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMajVer; ///< FPGA firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMinVer; ///< FPGA firmware minor version (0 if unkown)
|
|
|
|
|
} SuperFemto_SetTxCalibTblReq_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -469,6 +482,11 @@ typedef struct SuperFemto_GetRxCalibTblCnf
|
|
|
|
|
for PCS-1900: 0=512, 1:513, ..., 298:810, [299-373]:unused */
|
|
|
|
|
uint8_t u8IqImbalMode; ///< IQ imbalance mode (0:off, 1:on, 2:auto)
|
|
|
|
|
uint16_t u16IqImbalCorr[4]; ///< IQ imbalance compensation
|
|
|
|
|
|
|
|
|
|
uint8_t u8DspMajVer; ///< DSP firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8DspMinVer; ///< DSP firmware minor version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMajVer; ///< FPGA firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMinVer; ///< FPGA firmware minor version (0 if unkown)
|
|
|
|
|
} SuperFemto_GetRxCalibTblCnf_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -497,6 +515,11 @@ typedef struct SuperFemto_SetRxCalibTblReq
|
|
|
|
|
for PCS-1900: 0=512, 1:513, ..., 298:810, [299-373]:unused */
|
|
|
|
|
uint8_t u8IqImbalMode; ///< IQ imbalance mode (0:off, 1:on, 2:auto)
|
|
|
|
|
uint16_t u16IqImbalCorr[4]; ///< IQ imbalance compensation
|
|
|
|
|
|
|
|
|
|
uint8_t u8DspMajVer; ///< DSP firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8DspMinVer; ///< DSP firmware minor version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMajVer; ///< FPGA firmware major version (0 if unkown)
|
|
|
|
|
uint8_t u8FpgaMinVer; ///< FPGA firmware minor version (0 if unkown)
|
|
|
|
|
} SuperFemto_SetRxCalibTblReq_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -545,6 +568,37 @@ typedef struct SuperFemto_MuteRfCnf
|
|
|
|
|
|
|
|
|
|
} SuperFemto_MuteRfCnf_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* Struct : SuperFemto_SetRxAttenReq_t
|
|
|
|
|
************************************************************************//**
|
|
|
|
|
*
|
|
|
|
|
* This primitive is used to configure the RF receive attenuation.
|
|
|
|
|
*
|
|
|
|
|
* @ingroup superfemto_api_prim_dbg
|
|
|
|
|
*
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
typedef struct SuperFemto_SetRxAttenReq
|
|
|
|
|
{
|
|
|
|
|
uint8_t u8Atten; ///< RX Attenuation: 0(default), 12, 24, 36 dB
|
|
|
|
|
|
|
|
|
|
} SuperFemto_SetRxAttenReq_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* Struct : SuperFemto_SetRxAttenCnf_t
|
|
|
|
|
************************************************************************//**
|
|
|
|
|
*
|
|
|
|
|
* This primitive is sent back to confirm the configuration of the RF receive
|
|
|
|
|
* attenuation.
|
|
|
|
|
*
|
|
|
|
|
* @ingroup superfemto_api_prim_dbg
|
|
|
|
|
*
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
typedef struct SuperFemto_SetRxAttenCnf
|
|
|
|
|
{
|
|
|
|
|
SuperFemto_Status_t status; ///< Status of the SET-RX-ATTEN-REQ
|
|
|
|
|
|
|
|
|
|
} SuperFemto_SetRxAttenCnf_t;
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* Struct : SuperFemto_Primt_t
|
|
|
|
|
************************************************************************//**
|
|
|
|
@ -582,6 +636,8 @@ typedef struct SuperFemto_Prim
|
|
|
|
|
SuperFemto_SetRxCalibTblCnf_t setRxCalibTblCnf; ///< CNF: Confirm the use of the new RX level calibration table
|
|
|
|
|
SuperFemto_MuteRfReq_t muteRfReq; ///< REQ: Mute/Unmute the RF section
|
|
|
|
|
SuperFemto_MuteRfCnf_t muteRfCnf; ///< CNF: Confirm the mutin/unmiting of the the RF section
|
|
|
|
|
SuperFemto_SetRxAttenReq_t setRxAttenReq; ///< REQ: Set the RX attenuation
|
|
|
|
|
SuperFemto_SetRxAttenCnf_t setRxAttenCnf; ///< CNF: Confirm the configuration of the RX attenuation
|
|
|
|
|
|
|
|
|
|
} u;
|
|
|
|
|
|
|
|
|
|