firm newest
Dependencies: MTS-Serial libmDot-dev-mbed5-deprecated
CommandTerminal/CmdLBTRSSI.cpp
- Committer:
- nguyenhoang9x5555
- Date:
- 2018-10-22
- Revision:
- 1:c1c6549b9333
- Parent:
- 0:3c869a8cb8f8
File content as of revision 1:c1c6549b9333:
#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; }