rflib
|
IEEE 802.15.4 Modify Frame Filtering Parameter Command. More...
#include <rf_ieee_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x2002. More... | |
struct { | |
uint16_t frameFiltEn:1 | |
0: Disable frame filtering 1: Enable frame filtering More... | |
uint16_t frameFiltStop:1 | |
0: Receive all packets to the end 1: Stop receiving frame once frame filtering has caused the frame to be rejected. More... | |
uint16_t autoAckEn:1 | |
0: Disable auto ACK 1: Enable auto ACK. More... | |
uint16_t slottedAckEn:1 | |
0: Non-slotted ACK 1: Slotted ACK. More... | |
uint16_t autoPendEn:1 | |
0: Auto-pend disabled 1: Auto-pend enabled More... | |
uint16_t defaultPend:1 | |
The value of the pending data bit in auto ACK packets that are not subject to auto-pend. More... | |
uint16_t bPendDataReqOnly:1 | |
0: Use auto-pend for any packet 1: Use auto-pend for data request packets only More... | |
uint16_t bPanCoord:1 | |
0: Device is not PAN coordinator 1: Device is PAN coordinator More... | |
uint16_t maxFrameVersion:2 | |
Reject frames where the frame version field in the FCF is greater than this value. More... | |
uint16_t fcfReservedMask:3 | |
Value to be AND-ed with the reserved part of the FCF; frame rejected if result is non-zero. More... | |
uint16_t modifyFtFilter:2 | |
Treatment of MSB of frame type field before frame-type filtering: 0: No modification 1: Invert MSB 2: Set MSB to 0 3: Set MSB to 1. More... | |
uint16_t bStrictLenFilter:1 | |
0: Accept acknowledgement frames of any length >= 5 1: Accept only acknowledgement frames of length 5 More... | |
} | newFrameFiltOpt |
New value of frameFiltOpt for the running background level operation. More... | |
struct { | |
uint8_t bAcceptFt0Beacon:1 | |
Treatment of frames with frame type 000 (beacon): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt1Data:1 | |
Treatment of frames with frame type 001 (data): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt2Ack:1 | |
Treatment of frames with frame type 010 (ACK): 0: Reject, unless running ACK receive command 1: Always accept. More... | |
uint8_t bAcceptFt3MacCmd:1 | |
Treatment of frames with frame type 011 (MAC command): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt4Reserved:1 | |
Treatment of frames with frame type 100 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt5Reserved:1 | |
Treatment of frames with frame type 101 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt6Reserved:1 | |
Treatment of frames with frame type 110 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt7Reserved:1 | |
Treatment of frames with frame type 111 (reserved): 0: Reject 1: Accept. More... | |
} | newFrameTypes |
New value of frameTypes for the running background level operation. More... | |
struct { | |
uint16_t frameFiltEn:1 | |
0: Disable frame filtering 1: Enable frame filtering More... | |
uint16_t frameFiltStop:1 | |
0: Receive all packets to the end 1: Stop receiving frame once frame filtering has caused the frame to be rejected. More... | |
uint16_t autoAckEn:1 | |
0: Disable auto ACK 1: Enable auto ACK. More... | |
uint16_t slottedAckEn:1 | |
0: Non-slotted ACK 1: Slotted ACK. More... | |
uint16_t autoPendEn:1 | |
0: Auto-pend disabled 1: Auto-pend enabled More... | |
uint16_t defaultPend:1 | |
The value of the pending data bit in auto ACK packets that are not subject to auto-pend. More... | |
uint16_t bPendDataReqOnly:1 | |
0: Use auto-pend for any packet 1: Use auto-pend for data request packets only More... | |
uint16_t bPanCoord:1 | |
0: Device is not PAN coordinator 1: Device is PAN coordinator More... | |
uint16_t maxFrameVersion:2 | |
Reject frames where the frame version field in the FCF is greater than this value. More... | |
uint16_t fcfReservedMask:3 | |
Value to be AND-ed with the reserved part of the FCF; frame rejected if result is non-zero. More... | |
uint16_t modifyFtFilter:2 | |
Treatment of MSB of frame type field before frame-type filtering: 0: No modification 1: Invert MSB 2: Set MSB to 0 3: Set MSB to 1. More... | |
uint16_t bStrictLenFilter:1 | |
0: Accept acknowledgement frames of any length >= 5 1: Accept only acknowledgement frames of length 5 More... | |
} | newFrameFiltOpt |
New value of frameFiltOpt for the running background level operation. More... | |
struct { | |
uint8_t bAcceptFt0Beacon:1 | |
Treatment of frames with frame type 000 (beacon): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt1Data:1 | |
Treatment of frames with frame type 001 (data): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt2Ack:1 | |
Treatment of frames with frame type 010 (ACK): 0: Reject, unless running ACK receive command 1: Always accept. More... | |
uint8_t bAcceptFt3MacCmd:1 | |
Treatment of frames with frame type 011 (MAC command): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt4Reserved:1 | |
Treatment of frames with frame type 100 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt5Reserved:1 | |
Treatment of frames with frame type 101 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt6Reserved:1 | |
Treatment of frames with frame type 110 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt7Reserved:1 | |
Treatment of frames with frame type 111 (reserved): 0: Reject 1: Accept. More... | |
} | newFrameTypes |
New value of frameTypes for the running background level operation. More... | |
struct { | |
uint16_t frameFiltEn:1 | |
0: Disable frame filtering 1: Enable frame filtering More... | |
uint16_t frameFiltStop:1 | |
0: Receive all packets to the end 1: Stop receiving frame once frame filtering has caused the frame to be rejected. More... | |
uint16_t autoAckEn:1 | |
0: Disable auto ACK 1: Enable auto ACK. More... | |
uint16_t slottedAckEn:1 | |
0: Non-slotted ACK 1: Slotted ACK. More... | |
uint16_t autoPendEn:1 | |
0: Auto-pend disabled 1: Auto-pend enabled More... | |
uint16_t defaultPend:1 | |
The value of the pending data bit in auto ACK packets that are not subject to auto-pend. More... | |
uint16_t bPendDataReqOnly:1 | |
0: Use auto-pend for any packet 1: Use auto-pend for data request packets only More... | |
uint16_t bPanCoord:1 | |
0: Device is not PAN coordinator 1: Device is PAN coordinator More... | |
uint16_t maxFrameVersion:2 | |
Reject frames where the frame version field in the FCF is greater than this value. More... | |
uint16_t fcfReservedMask:3 | |
Value to be AND-ed with the reserved part of the FCF; frame rejected if result is non-zero. More... | |
uint16_t modifyFtFilter:2 | |
Treatment of MSB of frame type field before frame-type filtering: 0: No modification 1: Invert MSB 2: Set MSB to 0 3: Set MSB to 1. More... | |
uint16_t bStrictLenFilter:1 | |
0: Accept acknowledgement frames of any length >= 5 1: Accept only acknowledgement frames of length 5 More... | |
} | newFrameFiltOpt |
New value of frameFiltOpt for the running background level operation. More... | |
struct { | |
uint8_t bAcceptFt0Beacon:1 | |
Treatment of frames with frame type 000 (beacon): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt1Data:1 | |
Treatment of frames with frame type 001 (data): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt2Ack:1 | |
Treatment of frames with frame type 010 (ACK): 0: Reject, unless running ACK receive command 1: Always accept. More... | |
uint8_t bAcceptFt3MacCmd:1 | |
Treatment of frames with frame type 011 (MAC command): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt4Reserved:1 | |
Treatment of frames with frame type 100 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt5Reserved:1 | |
Treatment of frames with frame type 101 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt6Reserved:1 | |
Treatment of frames with frame type 110 (reserved): 0: Reject 1: Accept. More... | |
uint8_t bAcceptFt7Reserved:1 | |
Treatment of frames with frame type 111 (reserved): 0: Reject 1: Accept. More... | |
} | newFrameTypes |
New value of frameTypes for the running background level operation. More... | |
IEEE 802.15.4 Modify Frame Filtering Parameter Command.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::commandNo |
The command ID number 0x2002.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::frameFiltEn |
0: Disable frame filtering
1: Enable frame filtering
uint16_t rfc_CMD_IEEE_MOD_FILT_s::frameFiltStop |
0: Receive all packets to the end
1: Stop receiving frame once frame filtering has caused the frame to be rejected.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::autoAckEn |
0: Disable auto ACK
1: Enable auto ACK.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::slottedAckEn |
0: Non-slotted ACK
1: Slotted ACK.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::autoPendEn |
0: Auto-pend disabled
1: Auto-pend enabled
uint16_t rfc_CMD_IEEE_MOD_FILT_s::defaultPend |
The value of the pending data bit in auto ACK packets that are not subject to auto-pend.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::bPendDataReqOnly |
0: Use auto-pend for any packet
1: Use auto-pend for data request packets only
uint16_t rfc_CMD_IEEE_MOD_FILT_s::bPanCoord |
0: Device is not PAN coordinator
1: Device is PAN coordinator
uint16_t rfc_CMD_IEEE_MOD_FILT_s::maxFrameVersion |
Reject frames where the frame version field in the FCF is greater than this value.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::fcfReservedMask |
Value to be AND-ed with the reserved part of the FCF; frame rejected if result is non-zero.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::modifyFtFilter |
Treatment of MSB of frame type field before frame-type filtering:
0: No modification
1: Invert MSB
2: Set MSB to 0
3: Set MSB to 1.
uint16_t rfc_CMD_IEEE_MOD_FILT_s::bStrictLenFilter |
0: Accept acknowledgement frames of any length >= 5
1: Accept only acknowledgement frames of length 5
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameFiltOpt |
New value of frameFiltOpt
for the running background level operation.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt0Beacon |
Treatment of frames with frame type 000 (beacon):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt1Data |
Treatment of frames with frame type 001 (data):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt2Ack |
Treatment of frames with frame type 010 (ACK):
0: Reject, unless running ACK receive command
1: Always accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt3MacCmd |
Treatment of frames with frame type 011 (MAC command):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt4Reserved |
Treatment of frames with frame type 100 (reserved):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt5Reserved |
Treatment of frames with frame type 101 (reserved):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt6Reserved |
Treatment of frames with frame type 110 (reserved):
0: Reject
1: Accept.
uint8_t rfc_CMD_IEEE_MOD_FILT_s::bAcceptFt7Reserved |
Treatment of frames with frame type 111 (reserved):
0: Reject
1: Accept.
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameTypes |
New value of frameTypes
for the running background level operation.
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameFiltOpt |
New value of frameFiltOpt
for the running background level operation.
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameTypes |
New value of frameTypes
for the running background level operation.
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameFiltOpt |
New value of frameFiltOpt
for the running background level operation.
struct { ... } rfc_CMD_IEEE_MOD_FILT_s::newFrameTypes |
New value of frameTypes
for the running background level operation.