<div dir="ltr">Hi all,<br><div><br></div><div>How about the following framework:</div><div><br></div><div>V2G framework - used to set mode, set current/charge limits and query status  with commands such as,</div><div>V2G mode - used to set mode either V2G, G2V, REM (default - mode remotely set by charger/V2G/V2H unit) </div><div>V2G limit - used to set limits such as charge/discharge current limit and SOC min/max limits</div><div>V2G status - used to report mode, limits set and power/current flow</div><div>V2G start - used to start powerflow in a given mode </div><div>V2G stop - used to stop powerflow </div><div><br></div><div>The basic wrappers could be defined in vehicle.h/cpp and the feature confirmed as supported in the specific vehicle and coded to implement the specific command features.</div><div><br></div><div>Views?</div><div><br></div><div>Cheers Derek</div><div><br></div></div>