mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-11 13:37:17 +02:00
added receive no answer counter #332
corrected resetPayload in app loop
This commit is contained in:
parent
67f99abdfc
commit
7cd075fbad
4 changed files with 23 additions and 15 deletions
|
@ -129,10 +129,11 @@ void webApi::getSystem(JsonObject obj) {
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
void webApi::getStatistics(JsonObject obj) {
|
||||
obj[F("rx_success")] = mStat->rxSuccess;
|
||||
obj[F("rx_fail")] = mStat->rxFail;
|
||||
obj[F("frame_cnt")] = mStat->frmCnt;
|
||||
obj[F("tx_cnt")] = mApp->mSys->Radio.mSendCnt;
|
||||
obj[F("rx_success")] = mStat->rxSuccess;
|
||||
obj[F("rx_fail")] = mStat->rxFail;
|
||||
obj[F("rx_fail_answer")] = mStat->rxFailNoAnser;
|
||||
obj[F("frame_cnt")] = mStat->frmCnt;
|
||||
obj[F("tx_cnt")] = mApp->mSys->Radio.mSendCnt;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue