firm newest
Dependencies: MTS-Serial libmDot-dev-mbed5-deprecated
CommandTerminal/CmdLBTRSSI.cpp@0:3c869a8cb8f8, 2018-10-18 (annotated)
- Committer:
- nguyenhoang9x5555
- Date:
- Thu Oct 18 04:18:48 2018 +0000
- Revision:
- 0:3c869a8cb8f8
DOT AT FIRMWARE 18102018
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 1 | #include "CmdLBTRSSI.h" |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 2 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 3 | CmdLBTRSSI::CmdLBTRSSI() |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 4 | : |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 5 | Command("LBT RSSI", "AT+LBTRSSI", "READ LBT RSSI", "(-128-0)") |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 6 | { |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 7 | _queryable = true; |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 8 | } |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 9 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 10 | uint32_t CmdLBTRSSI::action(std::vector<std::string> args) |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 11 | { |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 12 | #ifdef DEBUG_MAC |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 13 | CommandTerminal::Serial()->writef("%d\r\n", CommandTerminal::Dot()->lbtRssi()); |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 14 | #endif |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 15 | return 0; |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 16 | } |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 17 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 18 | bool CmdLBTRSSI::verify(std::vector<std::string> args) |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 19 | { |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 20 | |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 21 | return true; |
nguyenhoang9x5555 | 0:3c869a8cb8f8 | 22 | } |