MTDOT-BOX-EVB-Factory-Firmware
Dependencies: NCP5623B GpsParser ISL29011 libmDot-mbed5 MTS-Serial MMA845x DOGS102 MPL3115A2
CommandTerminal/CmdJoinDelay.h@16:e76cec0eec43, 2019-03-14 (annotated)
- Committer:
- jenkins@jenkinsdm1
- Date:
- Thu Mar 14 08:23:20 2019 -0500
- Revision:
- 16:e76cec0eec43
- Parent:
- 13:20bdea8bb997
dotbox-firmware revision 3.1.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 1 | /* Copyright (c) <2018> <MultiTech Systems>, MIT License |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 2 | * |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 7 | * furnished to do so, subject to the following conditions: |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 8 | * |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 10 | * substantial portions of the Software. |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 11 | * |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 17 | */ |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 18 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 19 | #ifndef __CMDJOINDELAY_H__ |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 20 | #define __CMDJOINDELAY_H__ |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 21 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 22 | #include "Command.h" |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 23 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 24 | class ModeConfig; |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 25 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 26 | class CmdJoinDelay : public Command { |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 27 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 28 | public: |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 29 | CmdJoinDelay(mDot* dot, mts::MTSSerial& serial); |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 30 | virtual uint32_t action(std::vector<std::string> args); |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 31 | virtual bool verify(std::vector<std::string> args); |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 32 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 33 | private: |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 34 | mts::MTSSerial& _serial; |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 35 | }; |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 36 | |
jenkins@jenkinsdm1 | 13:20bdea8bb997 | 37 | #endif // __CMDJOINDELAY_H__ |