Represents the status of a BaseStation beacon. See also BaseStation::beaconStatus.
Creates a default BeaconStatus object.
BeaconStatus( |
| ) |
Whether the beacon is enabled or disabled.
Gets whether the beacon is enabled (true) or disabled (false).
Gets the current Timestamp of the beacon.
Contains logic for the base station Get Beacon Status command.
Builds the beacon status command.
A ByteStream containing the base station beacon status command.
Handles the response to the command
Response( |
| ) |
Creates a get beacon status Response object
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
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
bool matchFailResponse( |
| ) |
Checks if the packet passed in matches the failure response.
packet const WirelessPacket& | The WirelessPacket to try to match. |
true if the failure response pattern was found, false otherwise