Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ocpp_io_value Union Reference

OCPP user callback notification/request of input/output values union member should be accessed with enum value ocpp_notify_reason correspondingly. More...

#include <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 
 

Detailed Description

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

Field Documentation

◆ id_con

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

◆ idtag

char ocpp_io_value::idtag[50]

Input to user.

◆ mes

enum ocpp_meter_measurand ocpp_io_value::mes

Input to user, measurand.

◆ [struct]

struct { ... } ocpp_io_value::meter_val

◆ [struct]

struct { ... } ocpp_io_value::start_charge

◆ [struct]

struct { ... } ocpp_io_value::stop_charge

◆ [struct]

struct { ... } ocpp_io_value::unlock_con

◆ val

char ocpp_io_value::val[50]

To be filled by user, value as string.


The documentation for this union was generated from the following file: