We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 441ffd2 commit b335683Copy full SHA for b335683
src/evse_man.cpp
@@ -603,12 +603,12 @@ void EvseManager::setMaxConfiguredCurrent(long amps)
603
604
bool EvseManager::isRapiCommandBlocked(String rapi)
605
{
606
- //#ifdef ENABLE_FULL_RAPI
607
- // return false;
608
- //#else
609
- // return !rapi.startsWith("$G");
610
- //#endif
611
- return false;
+ #ifdef ENABLE_FULL_RAPI
+ return false;
+ #else
+ // For commands starting with $G, $F0 o $FB
+ return !(rapi.startsWith("$G") || rapi.startsWith("$F0") || rapi.startsWith("$FB"));
+ #endif
612
}
613
614
bool EvseManager::serializeClaims(DynamicJsonDocument &doc)
0 commit comments