add ocpp
This commit is contained in:
@@ -4,41 +4,35 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/**
|
||||
* @brief Start ocpp
|
||||
*/
|
||||
void ocpp_start();
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Stop ocpp
|
||||
*
|
||||
* @brief Start OCPP
|
||||
*/
|
||||
void ocpp_start(void);
|
||||
|
||||
/**
|
||||
* @brief Stop OCPP
|
||||
*/
|
||||
void ocpp_stop(void);
|
||||
|
||||
/* Config getters / setters */
|
||||
bool ocpp_get_enabled(void);
|
||||
|
||||
void ocpp_get_server(char *value);
|
||||
|
||||
void ocpp_get_rfid(char *value);
|
||||
|
||||
void ocpp_set_enabled(bool value);
|
||||
|
||||
void ocpp_get_server(char *value); // buffer >= 64
|
||||
void ocpp_set_server(char *value);
|
||||
|
||||
void ocpp_set_rfid(char *value);
|
||||
void ocpp_get_charge_id(char *value); // buffer >= 64
|
||||
void ocpp_set_charge_id(char *value);
|
||||
|
||||
void ocpp_begin_transaction(char *value);
|
||||
/* Estado de conexão */
|
||||
bool ocpp_is_connected(void);
|
||||
|
||||
void ocpp_end_transaction(char *value);
|
||||
|
||||
void ocpp_begin_transaction_authorized(char *value);
|
||||
|
||||
void ocpp_end_transaction_authorized(char *value);
|
||||
|
||||
bool ocpp_is_TransactionActive();
|
||||
|
||||
void ocpp_set_plugged(bool value);
|
||||
|
||||
void ocpp_set_charging(bool value);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* OCPP_H_ */
|
||||
|
||||
Reference in New Issue
Block a user