Multitech xDot AT Firmware

Dependencies:   MTS-Serial libxDot-mbed5

CommandTerminal/CmdLBTRSSI.cpp

Committer:
jreiss
Date:
2019-01-16
Revision:
18:72b6b49d363d
Parent:
17:95c9eb69329a

File content as of revision 18:72b6b49d363d:

#include "CmdLBTRSSI.h"

CmdLBTRSSI::CmdLBTRSSI()
:
  Command("LBT RSSI", "AT+LBTRSSI", "READ LBT RSSI", "(-128-0)")
{
    _queryable = true;
}

uint32_t CmdLBTRSSI::action(std::vector<std::string> args)
{
#ifdef DEBUG_MAC
    CommandTerminal::Serial()->writef("%d\r\n", CommandTerminal::Dot()->lbtRssi());
#endif
    return 0;
}

bool CmdLBTRSSI::verify(std::vector<std::string> args)
{

    return true;
}