There are additional configuration options, which allow to customize the operation in RX_AACK mode. This allows for example the indication of frames, which do not match the IEEE 802.15.4-2006 filter rules as well as a specific configuration of the automatic acknowledgement frame transmission. For a detailed description refer to
section 5.2.3.1 (RX_AACK Configuration Registers) of the AT86RF212 datasheet.
- Parameters:
-
- Additional Parameters:
-
Use Cases:
- Code example
trx_bit_write(SR_RX_SAFE_MODE, safe_mode);
trx_bit_write(SR_AACK_PROM_MODE, prom_mode);
trx_bit_write(SR_AACK_ACK_TIME, ack_time);
trx_bit_write(SR_AACK_UPLD_RES_FT, upld_res_ft);
trx_bit_write(SR_AACK_FLTR_RES_FT, fltr_res_ft);
trx_bit_write(SR_AACK_DIS_ACK, dis_ack);
trx_bit_write(SR_AACK_FVN_MODE, fvn_mode);
trx_bit_write(SR_AACK_SET_PD, pendd);
trx_reg_write(RG_PAN_ID_0, panid_7_0);
trx_reg_write(RG_PAN_ID_1, panid_15_8);
trx_reg_write(RG_SHORT_ADDR_0, short_addr_7_0);
trx_reg_write(RG_SHORT_ADDR_1, short_addr_15_8);
trx_reg_write(RG_IEEE_ADDR_0, ext_addr_7_0);
trx_reg_write(RG_IEEE_ADDR_1, ext_addr_15_8);
trx_reg_write(RG_IEEE_ADDR_2, ext_addr_23_16);
trx_reg_write(RG_IEEE_ADDR_3, ext_addr_31_24);
trx_reg_write(RG_IEEE_ADDR_4, ext_addr_39_32);
trx_reg_write(RG_IEEE_ADDR_5, ext_addr_47_40);
trx_reg_write(RG_IEEE_ADDR_6, ext_addr_55_48);
trx_reg_write(RG_IEEE_ADDR_7, ext_addr_63_56);
trx_bit_write(SR_AACK_I_AM_COORD, coord);
trx_bit_write(SR_SLOTTED_OPERATION, slmode);