Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdNetworkJoinStatus.cpp
- Committer:
- Mike Fiore
- Date:
- 2016-11-04
- Revision:
- 14:f9a77400b622
- Parent:
- 1:e52ae6584f1c
File content as of revision 14:f9a77400b622:
#include "CmdNetworkJoinStatus.h"
CmdNetworkJoinStatus::CmdNetworkJoinStatus() :
Command("Network Join Status", "AT+NJS", "0: Not joined, 1: Joined", "(0,1)")
{
_queryable = true;
}
uint32_t CmdNetworkJoinStatus::action(std::vector<std::string> args)
{
CommandTerminal::Serial()->writef("%u\r\n", CommandTerminal::Dot()->getNetworkJoinStatus());
return 0;
}
