Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Open Charge Point Protocol (OCPP, <http://www.openchargealliance.org/>) is a com
Server

```js
import { OCPPServer, OCPPCommands } from 'ocpp-eliftech';
import { CentralSystem, OCPPCommands } from 'ocpp-eliftech';

const server = new OCPPServer();
const server = new CentralSystem();

server.listen(9220);

Expand All @@ -40,9 +40,9 @@ server.onRequest = async function(command) {
Client

```js
import { OCPPClient, OCPPCommands } from 'ocpp-eliftech';
import { ChargePoint, OCPPCommands } from 'ocpp-eliftech';

const client = new OCPPClient({
const client = new ChargePoint({
serverUrl: 'http://localhost:9220/webServices/ocpp/CP1111'
});

Expand Down