new module
This commit is contained in:
@@ -71,6 +71,24 @@ void evse_state_set_authorized(bool authorized);
|
||||
*/
|
||||
bool evse_state_get_authorized(void);
|
||||
|
||||
// ===============================
|
||||
// Configuration / Availability
|
||||
// ===============================
|
||||
|
||||
/**
|
||||
* @brief Enable or disable the EVSE (software flag, persisted in NVS).
|
||||
*/
|
||||
void evse_set_enabled(bool value);
|
||||
|
||||
/**
|
||||
* @brief Returns true if the EVSE is currently available for use.
|
||||
*/
|
||||
bool evse_is_available(void);
|
||||
|
||||
/**
|
||||
* @brief Set EVSE availability flag (may be persisted in NVS).
|
||||
*/
|
||||
void evse_set_available(bool value);
|
||||
|
||||
// ===============================
|
||||
// Limit Status
|
||||
@@ -85,4 +103,4 @@ bool evse_is_limit_reached(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // EVSE_API_H
|
||||
#endif // EVSE_API_H
|
||||
Reference in New Issue
Block a user