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 libxDot-mbed5
CommandTerminal/CmdLBTRSSI.cpp@18:72b6b49d363d, 2019-01-16 (annotated)
- Committer:
- jreiss
- Date:
- Wed Jan 16 14:20:49 2019 +0000
- Revision:
- 18:72b6b49d363d
- Parent:
- 17:95c9eb69329a
Update libxDot to latest and mbed-os to 5.7.7; Update PacketRx for new library
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 1 | #include "CmdLBTRSSI.h" |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 2 | |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 3 | CmdLBTRSSI::CmdLBTRSSI() |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 4 | : |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 5 | Command("LBT RSSI", "AT+LBTRSSI", "READ LBT RSSI", "(-128-0)") |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 6 | { |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 7 | _queryable = true; |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 8 | } |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 9 | |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 10 | uint32_t CmdLBTRSSI::action(std::vector<std::string> args) |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 11 | { |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 12 | #ifdef DEBUG_MAC |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 13 | CommandTerminal::Serial()->writef("%d\r\n", CommandTerminal::Dot()->lbtRssi()); |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 14 | #endif |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 15 | return 0; |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 16 | } |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 17 | |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 18 | bool CmdLBTRSSI::verify(std::vector<std::string> args) |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 19 | { |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 20 | |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 21 | return true; |
| jenkins@jenkinsdm1 | 17:95c9eb69329a | 22 | } |