Contains logic for the base station Start RF Sweep command.
static ByteStream buildCommand( |
| ) |
Builds the beacon status command.
min uint32 | The minimum sweep frequency in kHz (2400000 = 2.4GHz). |
max uint32 | The maximum sweep frequency in kHz (2400000 = 2.4GHz). |
interval uint32 | The sweep interval in kHz. |
options uint16 | The options to send with the command (advanced, used internally). |
A ByteStream containing the base station beacon status command.
Handles the response to the command
The min frequency to match in the response.
The max frequency to match in the response.
The interval to match in the response.
The options to send with the command.
Response( |
| ) |
Creates a get beacon status Response object
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
min uint32 | The minimum sweep frequency to match. |
max uint32 | The maximum sweep frequency to match. |
interval uint32 | The sweep interval to match. |
options uint16 | The advanced options to match. |
virtual bool match( |
| ) override |
Checks if the packet passed in matches either the success or failure response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the response pattern was found, false otherwise.
bool matchSuccessResponse( |
| ) |
Checks if the packet passed in matches the success response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the success response pattern was found, false otherwise