TransmitOptions constructor
const
TransmitOptions({})
Z-Wave packet transmission options:
ack
- Request acknowledgment from destination node. Allow routing.
noRoute
- Send only in direct range. Explicitly disallow all routing.
lowPower
- Transmit at low output power level (1/3 of normal RF range)
autoRoute
- If last working route fails or does not exist, then routes from the routing table will be used.
explore
- If existing routes fail, then resolve new routes via explorer discovery.
Implementation
const TransmitOptions({
bool ack: false,
bool lowPower: false,
bool autoRoute: false,
bool noRoute: false,
bool explore: false,
}) : this.raw((ack ? 0x01 : 0x00) |
(lowPower ? 0x02 : 0x00) |
(autoRoute ? 0x04 : 0x00) |
(noRoute ? 0x10 : 0x00) |
(explore ? 0x20 : 0x00));