Jason Reiss / Mbed OS Dot-AT-Firmware-XDOT

Dependencies:   MTS-Serial libxDot-mbed5

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CmdLBTRSSI.cpp Source File

CmdLBTRSSI.cpp

00001 #include "CmdLBTRSSI.h"
00002 
00003 CmdLBTRSSI::CmdLBTRSSI()
00004 :
00005   Command("LBT RSSI", "AT+LBTRSSI", "READ LBT RSSI", "(-128-0)")
00006 {
00007     _queryable = true;
00008 }
00009 
00010 uint32_t CmdLBTRSSI::action(std::vector<std::string> args)
00011 {
00012 #ifdef DEBUG_MAC
00013     CommandTerminal::Serial()->writef("%d\r\n", CommandTerminal::Dot()->lbtRssi());
00014 #endif
00015     return 0;
00016 }
00017 
00018 bool CmdLBTRSSI::verify(std::vector<std::string> args)
00019 {
00020 
00021     return true;
00022 }