Contains logic for the base station set (enable/disable) beacon command (v2)
static ByteStream buildCommand( |
| ) |
Builds the set beacon command packet, using the passed in seconds as the start time
utcTime uint32 | The start time for the beacon in UTC seconds from the Unix Epoch (01/01/1970) |
A ByteStream containing the base station set beacon command
Handles the response to the base station write eeprom command
Response( |
| ) |
Creates a set beacon Response object
utcTime uint32 | The start time for the beacon in UTC seconds from the Unix Epoch (01/01/1970) |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response |
The start time that was sent to the beacon.
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.
Gets the start time that was sent to enable the beacon
a Timestamp representing the start time that was sent to enable the beacon
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