ocpp-js
Version:
Open Charge Point Protocol Implementation in JS
17 lines (15 loc) • 395 B
JavaScript
const Promise = require('promise');
const DB = require('../db/index.js');
var Storage = new DB(process.env.storage);
module.exports = {
handle: function(data){
// TODO: save new availability status for station
return new Promise(function(resolve, reject) {
resolve({
UpdateFirmware: {
status: 'Accepted'
}
});
});
}
}