mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-02-20 00:32:04 +01:00
[RF] Add 'rtl433_stack' size reporting to RFtoMQTT topic (#2081)
* Added reporting of rtl433_stack size as part of RFtoMQTT * Fixed formatting
This commit is contained in:
@@ -179,6 +179,9 @@ String stateRFMeasures() {
|
||||
RFdata["rssi"] = (int)getRTLCurrentRSSI();
|
||||
RFdata["avgrssi"] = (int)getRTLAverageRSSI();
|
||||
RFdata["count"] = (int)getRTLMessageCount();
|
||||
// Capture high water mark of rtl_433_Decoder stack since it can run out and trigger reboot
|
||||
extern TaskHandle_t rtl_433_DecoderHandle;
|
||||
RFdata["rtl433_stack"] = (int)uxTaskGetStackHighWaterMark(rtl_433_DecoderHandle);
|
||||
# endif
|
||||
# ifdef ZradioSX127x
|
||||
RFdata["ookthreshold"] = (int)getOOKThresh();
|
||||
|
||||
Reference in New Issue
Block a user