![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
AT terminal for the mDot using the USB debug port instead of the serial port.
Dependencies: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CommandTerminal/CmdLBTRSSI.cpp
- Committer:
- pferland
- Date:
- 2018-03-02
- Revision:
- 18:f5d28d621bb0
- Parent:
- 17:95c9eb69329a
File content as of revision 18:f5d28d621bb0:
#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; }