The PIB(Pan Information Base) attributes related to the TAL are Stored and handled by the TAL PIB storage.
Functions | |
void | init_tal_pib (void) |
Initialize the TAL PIB. More... | |
void | write_all_tal_pib_to_trx (void) |
Write all shadow PIB variables to the transceiver. More... | |
void init_tal_pib | ( | void | ) |
Initialize the TAL PIB.
This function initializes the TAL information base attributes to their default values.
References limit_tx_pwr(), TAL_BATTERY_LIFE_EXTENSION_DEFAULT, TAL_BEACON_ORDER_DEFAULT, TAL_CCA_MODE_DEFAULT, TAL_CURRENT_CHANNEL_DEFAULT, TAL_CURRENT_PAGE_DEFAULT, TAL_MAX_CSMA_BACKOFFS_DEFAULT, TAL_MAX_FRAME_DURATION_DEFAULT, TAL_MAXBE_DEFAULT, TAL_MAXFRAMERETRIES_DEFAULT, TAL_MINBE_DEFAULT, TAL_PAN_COORDINATOR_DEFAULT, TAL_PANID_BC_DEFAULT, tal_pib, TAL_PIB_PROMISCUOUS_MODE_DEFAULT, TAL_SHORT_ADDRESS_DEFAULT, TAL_SHR_DURATION_DEFAULT, TAL_SUPERFRAME_ORDER_DEFAULT, TAL_SYMBOLS_PER_OCTET_DEFAULT, TAL_TRANSMIT_POWER_DEFAULT, and TRX_SUPPORTED_CHANNELS.
Referenced by internal_tal_reset().
void write_all_tal_pib_to_trx | ( | void | ) |
Write all shadow PIB variables to the transceiver.
This function writes all shadow PIB variables to the transceiver. It is assumed that the radio does not sleep.
References apply_channel_page_configuration(), CMD_RX_ON, convert_phyTransmitPower_to_reg_value(), i, RG_IEEE_ADDR_0, RG_PAN_ID_0, RG_PHY_TX_PWR, RG_SHORT_ADDR_0, set_trx_state(), SR_AACK_I_AM_COORD, SR_CCA_MODE, SR_CHANNEL, SR_MAX_BE, SR_MAX_CSMA_RETRIES, SR_MAX_FRAME_RETRIES, SR_MIN_BE, SR_TX_PWR, and tal_pib.
Referenced by internal_tal_reset(), and set_trx_state().