You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Configure the library with Inputs and Outputs once in the setup() function.
187
187
*/
188
188
189
-
voidsetConnectorPluggedInput(std::function<bool()> pluggedInput, uint connectorId = 1); //Input about if an EV is plugged to this EVSE
189
+
voidsetConnectorPluggedInput(std::function<bool()> pluggedInput, unsigned int connectorId = 1); //Input about if an EV is plugged to this EVSE
190
190
191
-
voidsetEnergyMeterInput(std::function<float()> energyInput, uint connectorId = 1); //Input of the electricity meter register
191
+
voidsetEnergyMeterInput(std::function<float()> energyInput, unsigned int connectorId = 1); //Input of the electricity meter register
192
192
193
-
voidsetPowerMeterInput(std::function<float()> powerInput, uint connectorId = 1); //Input of the power meter reading
193
+
voidsetPowerMeterInput(std::function<float()> powerInput, unsigned int connectorId = 1); //Input of the power meter reading
194
194
195
-
voidsetSmartChargingOutput(std::function<void(float)> chargingLimitOutput, uint connectorId = 1); //Output for the Smart Charging limit
195
+
voidsetSmartChargingOutput(std::function<void(float)> chargingLimitOutput, unsigned int connectorId = 1); //Output for the Smart Charging limit
196
196
197
197
/*
198
198
* Define the Inputs and Outputs of this library. (Advanced)
199
199
*
200
200
* These Inputs and Outputs are optional depending on the use case of your charger.
201
201
*/
202
202
203
-
voidsetEvReadyInput(std::function<bool()> evReadyInput, uint connectorId = 1); //Input if EV is ready to charge (= J1772 State C)
203
+
voidsetEvReadyInput(std::function<bool()> evReadyInput, unsigned int connectorId = 1); //Input if EV is ready to charge (= J1772 State C)
204
204
205
-
voidsetEvseReadyInput(std::function<bool()> evseReadyInput, uint connectorId = 1); //Input if EVSE allows charge (= PWM signal on)
205
+
voidsetEvseReadyInput(std::function<bool()> evseReadyInput, unsigned int connectorId = 1); //Input if EVSE allows charge (= PWM signal on)
206
206
207
-
voidaddErrorCodeInput(std::function<constchar *()> errorCodeInput, uint connectorId = 1); //Input for Error codes (please refer to OCPP 1.6, Edit2, p. 71 and 72 for valid error codes)
207
+
voidaddErrorCodeInput(std::function<constchar *()> errorCodeInput, unsigned int connectorId = 1); //Input for Error codes (please refer to OCPP 1.6, Edit2, p. 71 and 72 for valid error codes)
voidsetOnResetNotify(std::function<bool(bool)> onResetNotify); //call onResetNotify(isHard) before Reset. If you return false, Reset will be aborted. Optional
0 commit comments