![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
AT terminal for the mDot using the USB debug port instead of the serial port.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdNetworkKey.h@1:e52ae6584f1c, 2015-06-25 (annotated)
- Committer:
- Mike Fiore
- Date:
- Thu Jun 25 10:23:41 2015 -0500
- Revision:
- 1:e52ae6584f1c
- Child:
- 14:f9a77400b622
update debug, add command source files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
1:e52ae6584f1c | 1 | |
Mike Fiore |
1:e52ae6584f1c | 2 | #ifndef __CMDNETWORKKEY_H__ |
Mike Fiore |
1:e52ae6584f1c | 3 | #define __CMDNETWORKKEY_H__ |
Mike Fiore |
1:e52ae6584f1c | 4 | |
Mike Fiore |
1:e52ae6584f1c | 5 | |
Mike Fiore |
1:e52ae6584f1c | 6 | #include "Command.h" |
Mike Fiore |
1:e52ae6584f1c | 7 | |
Mike Fiore |
1:e52ae6584f1c | 8 | class CommandTerminal; |
Mike Fiore |
1:e52ae6584f1c | 9 | |
Mike Fiore |
1:e52ae6584f1c | 10 | class CmdNetworkKey : public Command { |
Mike Fiore |
1:e52ae6584f1c | 11 | |
Mike Fiore |
1:e52ae6584f1c | 12 | public: |
Mike Fiore |
1:e52ae6584f1c | 13 | |
Mike Fiore |
1:e52ae6584f1c | 14 | CmdNetworkKey(mDot* dot, mts::MTSSerial& serial); |
Mike Fiore |
1:e52ae6584f1c | 15 | virtual uint32_t action(std::vector<std::string> args); |
Mike Fiore |
1:e52ae6584f1c | 16 | virtual bool verify(std::vector<std::string> args); |
Mike Fiore |
1:e52ae6584f1c | 17 | |
Mike Fiore |
1:e52ae6584f1c | 18 | private: |
Mike Fiore |
1:e52ae6584f1c | 19 | mts::MTSSerial& _serial; |
Mike Fiore |
1:e52ae6584f1c | 20 | }; |
Mike Fiore |
1:e52ae6584f1c | 21 | |
Mike Fiore |
1:e52ae6584f1c | 22 | #endif // __CMDNETWORKKEY_H__ |