#include "lorawan_multiband.h"
Macros | |
#define | PDS_REG_EU868_CH_PARAM_1_ADDR ((uint8_t *)&(RegParams.cmnParams.paramsType2.chParams[MAX_CHANNELS_T2 - MAX_CHANNELS_T2])) |
#define | PDS_REG_EU868_CH_PARAM_1_OFFSET (PDS_FILE_START_OFFSET) |
#define | PDS_REG_EU868_CH_PARAM_1_SIZE sizeof(RegParams.cmnParams.paramsType2.chParams) |
#define | PDS_REG_EU868_CH_PARAM_2_ADDR ((uint8_t *)&(RegParams.cmnParams.paramsType2.othChParams[MAX_CHANNELS_T2 - MAX_CHANNELS_T2])) |
#define | PDS_REG_EU868_CH_PARAM_2_OFFSET (PDS_FILE_START_OFFSET) |
#define | PDS_REG_EU868_CH_PARAM_2_SIZE sizeof(RegParams.cmnParams.paramsType2.othChParams) |
Functions | |
void | InitDefault433Channels (void) |
void | InitDefault868Channels (void) |
StackRetStatus_t | LORAReg_InitEU (IsmBand_t ismBand) |
void | LorawanReg_EU868_Pds_Cb (void) |
Variables | |
static const OthChannelParams_t | AdvChannels433 [] |
static const OthChannelParams_t | AdvChannels868 [] |
PdsOperations_t | aRegEu868Fid1PdsOps [PDS_REG_EU868_FID1_MAX_VALUE] |
PdsOperations_t | aRegEu868Fid2PdsOps [PDS_REG_EU868_FID2_MAX_VALUE] |
static const ChannelParams_t | DefaultChannels433 [] |
static const ChannelParams_t | DefaultChannels868 [] |
static const DRParams_t | DefaultDrparamsEU [] |
const ItemMap_t | pds_reg_eu868_fid1_item_list [] |
const ItemMap_t | pds_reg_eu868_fid2_item_list [] |
static const uint16_t | SubBandDutyCycle868 [] |
static const SubBandParams_t | SubBandParams433 [] |
static const SubBandParams_t | SubBandParams868 [] |
#define PDS_REG_EU868_CH_PARAM_1_ADDR ((uint8_t *)&(RegParams.cmnParams.paramsType2.chParams[MAX_CHANNELS_T2 - MAX_CHANNELS_T2])) |
#define PDS_REG_EU868_CH_PARAM_1_OFFSET (PDS_FILE_START_OFFSET) |
#define PDS_REG_EU868_CH_PARAM_1_SIZE sizeof(RegParams.cmnParams.paramsType2.chParams) |
#define PDS_REG_EU868_CH_PARAM_2_ADDR ((uint8_t *)&(RegParams.cmnParams.paramsType2.othChParams[MAX_CHANNELS_T2 - MAX_CHANNELS_T2])) |
#define PDS_REG_EU868_CH_PARAM_2_OFFSET (PDS_FILE_START_OFFSET) |
#define PDS_REG_EU868_CH_PARAM_2_SIZE sizeof(RegParams.cmnParams.paramsType2.othChParams) |
void InitDefault433Channels | ( | void | ) |
References _channelParams::dataRange, i, _RegParams::maxChannels, _RegParams::pChParams, _RegParams::pOtherChParams, _RegParams::pSubBandParams, RegParams, and _DataRange::value.
Referenced by LORAREG_EnableallChannels(), and LORAReg_InitEU().
void InitDefault868Channels | ( | void | ) |
References _RegParams::cmnParams, _channelParams::dataRange, i, _RegParams::maxChannels, _CmnParams::paramsType2, _RegParams::pChParams, _RegParams::pOtherChParams, _RegParams::pSubBandParams, RegParams, _RegParamsType2::subBandDutyCycle, SubBandDutyCycle868, and _DataRange::value.
Referenced by LORAREG_EnableallChannels(), and LORAReg_InitEU().
StackRetStatus_t LORAReg_InitEU | ( | IsmBand_t | ismBand | ) |
References aRegEu868Fid1PdsOps, aRegEu868Fid2PdsOps, _RegParams::band, _RegPdsItems::band_item_id, _RegPdsItems::ch_param_1_item_id, _RegPdsItems::ch_param_2_item_id, _RegParamsType2::chParams, _RegParams::cmnParams, DEFAULT_EIRP_EU, _RegParams::DefRx1DataRate, _RegParams::DefRx2DataRate, _RegParams::DefRx2Freq, _RegParams::defTxPwrIndx, _RegParamsType2::DRParams, _RegParamsType2::DutyCycleTimer, _RegParams::FeaturesSupport, _PdsFileMarks::fIDcb, _RegPdsItems::fileid, _PdsFileMarks::fileMarkListAddr, InitDefault433Channels(), InitDefault868Channels(), ISM_EU433, ISM_EU868, _PdsFileMarks::itemListAddr, _RegParams::joinBackoffTimer, _RegParams::joinbccount, _RegParams::joinDutyCycleTimeout, _RegParams::joinDutyCycleTimer, _RegPdsItems::lastUsedSB, LORAREG_InitGetAttrFnPtrsEU(), LORAREG_InitSetAttrFnPtrsEU(), LORAREG_InitValidateAttrFnPtrsEU(), LORAWAN_SUCCESS, LorawanReg_EU868_Pds_Cb(), MAC_433_RX1_WINDOW_DATARATE, MAC_433_RX2_WINDOW_DATARATE, MAC_433_RX2_WINDOW_FREQ, MAC_868_RX1_WINDOW_DATARATE, MAC_868_RX2_WINDOW_DATARATE, MAC_868_RX2_WINDOW_FREQ, _RegParams::MacTxPower, MAX_CHANNELS_T2, MAX_NUM_SUBBANDS_EU, _RegParams::maxChannels, _RegParams::maxDataRate, _RegParams::maxSubBands, _RegParams::maxTxPwr, _RegParams::maxTxPwrIndx, _RegParams::minDataRate, _RegParams::MinNewChIndex, _RegParamsType2::minNonDefChId, _PdsFileMarks::numItems, _RegParamsType2::othChParams, _CmnParams::paramsType2, _RegParams::pChParams, _RegParams::pDrParams, PDS_FILE_REG_EU868_04_IDX, PDS_FILE_REG_EU868_12_IDX, PDS_REG_EU868_CH_PARAM_1, PDS_REG_EU868_CH_PARAM_2, PDS_REG_EU868_FID1_MAX_VALUE, PDS_REG_EU868_FID2_MAX_VALUE, PDS_RegFile(), _RegParams::pDutyCycleTimer, _RegParams::pJoinBackoffTimer, _RegParams::pJoinDutyCycleTimer, _RegParams::pOtherChParams, _RegParams::pSubBandParams, _RegParams::regParamItems, RegParams, regTimerId, _JoinDutyCycleTimer::remainingtime, _RegParams::Rx1DrOffset, _RegParamsType2::SubBands, _DutyCycleTimer::timerId, _JoinDutyCycleTimer::timerId, _JoinBackoffTimer::timerId, _RegParams::TxCurDataRate, and UNSUPPORTED_BAND.
Referenced by LORAREG_Init().
void LorawanReg_EU868_Pds_Cb | ( | void | ) |
Referenced by LORAReg_InitEU().
|
static |
|
static |
PdsOperations_t aRegEu868Fid1PdsOps[PDS_REG_EU868_FID1_MAX_VALUE] |
Referenced by LORAReg_InitEU().
PdsOperations_t aRegEu868Fid2PdsOps[PDS_REG_EU868_FID2_MAX_VALUE] |
Referenced by LORAReg_InitEU().
|
static |
|
static |
|
static |
const ItemMap_t pds_reg_eu868_fid1_item_list[] |
const ItemMap_t pds_reg_eu868_fid2_item_list[] |
|
static |
Referenced by InitDefault868Channels().
|
static |