diff --git a/main/http.cpp b/main/http.cpp
index 460bc9d..793c0a4 100644
--- a/main/http.cpp
+++ b/main/http.cpp
@@ -8,14 +8,10 @@
#include "hal.h"
-// #include "tcpip_adapter.h"
-// #include "esp_wifi.h"
-// #include "esp_event_loop.h"
#include "esp_http_server.h"
#include "format.h"
-// #include "fifo.h"
-// #include "socket.h"
+#include "rf.h"
#include "proc.h"
#include "gps.h"
#include "log.h"
@@ -260,6 +256,41 @@ static void Table_RF(httpd_req_t *Req)
Len+=Format_String(Line+Len, "\n");
httpd_resp_send_chunk(Req, Line, Len);
+ Len =Format_String(Line, "
Tx power | ");
+ Len+=Format_SignDec(Line+Len, (int16_t)Parameters.getTxPower());
+ Len+=Format_String(Line+Len, "dBm |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Freq. corr. | ");
+ Len+=Format_SignDec(Line+Len, (int32_t)Parameters.RFchipFreqCorr, 2, 1);
+ Len+=Format_String(Line+Len, "ppm |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Rx noise | ");
+ Len+=Format_SignDec(Line+Len, -5*TRX.averRSSI, 2, 1);
+ Len+=Format_String(Line+Len, "dBm |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Rx rate | ");
+ Len+=Format_UnsDec(Line+Len, RX_OGN_Count64);
+ Len+=Format_String(Line+Len, "/min |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Temperature | ");
+ Len+=Format_SignDec(Line+Len, (int16_t)TRX.chipTemp);
+ Len+=Format_String(Line+Len, "°C |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Rx queue | ");
+ Len+=Format_UnsDec(Line+Len, RF_RxFIFO.Full());
+ Len+=Format_String(Line+Len, "pkt |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
+ Len =Format_String(Line, "Band | ");
+ Len+=Format_UnsDec(Line+Len, (uint16_t)(RF_FreqPlan.getCenterFreq()/100000), 3, 1);
+ Len+=Format_String(Line+Len, "MHz |
\n");
+ httpd_resp_send_chunk(Req, Line, Len);
+
httpd_resp_sendstr_chunk(Req, "\n"); }
static uint8_t BattCapacity(uint16_t mVolt)