Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
OCPP user callback notification/request of input/output values union member should be accessed with enum value ocpp_notify_reason correspondingly. More...
#include <zephyr/net/ocpp.h>
Data Fields | |
struct { | |
int id_con | |
Input to user, requested connector_id or 0 - main meter. More... | |
enum ocpp_meter_measurand mes | |
Input to user, measurand. More... | |
char val [50] | |
To be filled by user, value as string. More... | |
} | meter_val |
struct { | |
char idtag [50] | |
Input to user. More... | |
int id_con | |
Input to user(optional). More... | |
} | start_charge |
struct { | |
int id_con | |
Input to user, to stop charging connector. More... | |
} | stop_charge |
struct { | |
int id_con | |
Input to user, to unlock connector id. More... | |
} | unlock_con |
OCPP user callback notification/request of input/output values union member should be accessed with enum value ocpp_notify_reason correspondingly.
e.g. callback reason is OCPP_USR_GET_METER_VALUE, struct meter_val is valid
int ocpp_io_value::id_con |
Input to user, requested connector_id or 0 - main meter.
Input to user, to unlock connector id.
Input to user, to stop charging connector.
Input to user(optional).
connector id -1 means invalid
char ocpp_io_value::idtag[50] |
Input to user.
enum ocpp_meter_measurand ocpp_io_value::mes |
Input to user, measurand.
struct { ... } ocpp_io_value::meter_val |
struct { ... } ocpp_io_value::start_charge |
struct { ... } ocpp_io_value::stop_charge |
struct { ... } ocpp_io_value::unlock_con |
char ocpp_io_value::val[50] |
To be filled by user, value as string.