diff --git a/include/superfemto.h b/include/superfemto.h index 4ad4754..45831de 100644 --- a/include/superfemto.h +++ b/include/superfemto.h @@ -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,4,0) +#define SUPERFEMTO_API_VERSION SUPERFEMTO_API(3,6,0) /**************************************************************************** * Const * @@ -64,6 +64,8 @@ typedef enum SuperFemto_PrimId_t SuperFemto_PrimId_GetRxCalibTblCnf, ///< CNF: Returns RX level calibration table SuperFemto_PrimId_SetRxCalibTblReq, ///< REQ: Set the RX level calibration table 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_NUM } SuperFemto_PrimId_t; @@ -510,6 +512,36 @@ typedef struct SuperFemto_SetRxCalibTblCnf uint8_t bUplink; ///< Direction (0:Downlink, 1:Uplink) } SuperFemto_SetRxCalibTblCnf_t; +/**************************************************************************** + * Struct : SuperFemto_MuteRfReq_t + ************************************************************************//** + * + * This primitive is used to configure the RF clock sub-system. + * + * @ingroup superfemto_api_prim_dbg + * + ***************************************************************************/ +typedef struct SuperFemto_MuteRfReq +{ + uint8_t u8Mute[8]; ///< Timeslot mute flag (0:unmute, 1:mute) + +} SuperFemto_MuteRfReq_t; + +/**************************************************************************** + * Struct : SuperFemto_MuteRfCnf_t + ************************************************************************//** + * + * This primitive is sent back to confirm the configuration of the RF clock sub-system. + * + * @ingroup superfemto_api_prim_dbg + * + ***************************************************************************/ +typedef struct SuperFemto_MuteRfCnf +{ + SuperFemto_Status_t status; ///< Status of the MUTE-RF-REQ + +} SuperFemto_MuteRfCnf_t; + /**************************************************************************** * Struct : SuperFemto_Primt_t ************************************************************************//** @@ -545,6 +577,9 @@ typedef struct SuperFemto_Prim SuperFemto_GetRxCalibTblCnf_t getRxCalibTblCnf; ///< CNF: Returns RX level calibration table SuperFemto_SetRxCalibTblReq_t setRxCalibTblReq; ///< REQ: Set the RX level calibration table 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 + } u; } SuperFemto_Prim_t;