dev
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdSaveSession.cpp@14:f9a77400b622, 2016-11-04 (annotated)
- Committer:
- Mike Fiore
- Date:
- Fri Nov 04 14:25:43 2016 -0500
- Revision:
- 14:f9a77400b622
- Parent:
- 9:ff62b20f7000
update from git revision 2.0.16
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mike Fiore |
9:ff62b20f7000 | 1 | #include "CmdSaveSession.h" |
Mike Fiore |
9:ff62b20f7000 | 2 | |
Mike Fiore |
14:f9a77400b622 | 3 | CmdSaveSession::CmdSaveSession() : |
Mike Fiore |
14:f9a77400b622 | 4 | Command("Save Network Session", "AT+SS", "Save network session info to flash", "NONE") |
Mike Fiore |
9:ff62b20f7000 | 5 | { |
Mike Fiore |
9:ff62b20f7000 | 6 | } |
Mike Fiore |
9:ff62b20f7000 | 7 | |
Mike Fiore |
9:ff62b20f7000 | 8 | uint32_t CmdSaveSession::action(std::vector<std::string> args) |
Mike Fiore |
9:ff62b20f7000 | 9 | { |
Mike Fiore |
14:f9a77400b622 | 10 | CommandTerminal::Dot()->saveNetworkSession(); |
Mike Fiore |
9:ff62b20f7000 | 11 | return 0; |
Mike Fiore |
9:ff62b20f7000 | 12 | } |
Mike Fiore |
9:ff62b20f7000 | 13 |