BleMeshMac
Description
Parameters
Name | Type | Unit | Default value | Description |
---|---|---|---|---|
address | string | "auto" | ||
headerLength | int | b | 72 b | length of MAC header |
mtu | int | B | 0B | |
bitrate | double | bps | 250000 bps | bit rate |
ccaDetectionTime | double | s | 0.000128 s | Clear Channel Assessment detection time |
rxSetupTime | double | s | 0 s | Time to setup radio to reception state |
aTurnaroundTime | double | s | 0.000192 s | Time to switch radio from Rx to Tx state |
useMACAcks | bool | Send/Expect MAC acks for unicast traffic? | ||
macMaxFrameRetries | int | 3 | Maximum number of frame retransmission, only used when usage of MAC acks is enabled. |
|
macAckWaitDuration | double | s | 0.00056 s | Time to wait for an acknowledgement after transmitting a unicast frame. Only used when usage of MAC acks is enabled. Value is calculated from 1+12+10+12 symbols, which is defined for nonbeacon-enabled PAN. In the non-beacon-enabled case, the receiver responds at aTurnaroundTime (i.e. the time for the sender and receiver to both be guaranteed to have switched from Tx to Rx and vice verse). This gives the value 192us + 352us = 544us (there's been some discussion about the "extra" 1 symbol == 16us) [section 7.5.6.4.2 of the specification]. |
ackLength | int | b | 40 b | Complete MAC ack message length (in bits) (! headerLength is not added to this), only used when usage of MAC acks is enabled. |
sifs | double | s | 0.000192 s | Simple interframe space (12 symbols). Time to wait between receiving a frame and acknowledging it. Should be bigger than the maximum time for switching between Tx and Rx at the receiver. Only used when usage of MAC acks is enabled. |
backoffMethod | string | "linear" | Backoff method to use: constant, linear or exponential | |
macMaxCSMABackoffs | int | 5 | maximum number of extra backoffs (excluding the first unconditional one) before frame drop | |
aUnitBackoffPeriod | double | s | 0.00032 s | base unit for all backoff calculations |
contentionWindow | int | 2 | # of backoff periods of the initial contention window (for linear and constant backoff method only) |
|
macMinBE | int | 3 | minimum backoff exponent (for exponential backoff method only) | |
macMaxBE | int | 8 | maximum backoff exponent (for exponential backoff method only) | |
radioModule | string | "^.radio" | ||
lowPowerNode | bool | false |