firm newest

Dependencies:   MTS-Serial libmDot-dev-mbed5-deprecated

Committer:
nguyenhoang9x5555
Date:
Mon Oct 22 01:56:09 2018 +0000
Revision:
1:c1c6549b9333
Parent:
0:3c869a8cb8f8
hey

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nguyenhoang9x5555 0:3c869a8cb8f8 1 #include "CmdDataPending.h"
nguyenhoang9x5555 0:3c869a8cb8f8 2
nguyenhoang9x5555 0:3c869a8cb8f8 3 CmdDataPending::CmdDataPending() :
nguyenhoang9x5555 0:3c869a8cb8f8 4 Command("Data Pending", "AT+DP", "Indicator of data in queue on server", "(0,1)")
nguyenhoang9x5555 0:3c869a8cb8f8 5 {
nguyenhoang9x5555 0:3c869a8cb8f8 6 _queryable = true;
nguyenhoang9x5555 0:3c869a8cb8f8 7 }
nguyenhoang9x5555 0:3c869a8cb8f8 8
nguyenhoang9x5555 0:3c869a8cb8f8 9 uint32_t CmdDataPending::action(std::vector<std::string> args)
nguyenhoang9x5555 0:3c869a8cb8f8 10 {
nguyenhoang9x5555 0:3c869a8cb8f8 11 CommandTerminal::Serial()->writef("%d\r\n", CommandTerminal::Dot()->getDataPending());
nguyenhoang9x5555 0:3c869a8cb8f8 12 return 0;
nguyenhoang9x5555 0:3c869a8cb8f8 13 }
nguyenhoang9x5555 0:3c869a8cb8f8 14