README.md: document missing UI protocol commands
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 24 Aug 2022 16:59:36 +0000 (18:59 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 24 Aug 2022 16:59:36 +0000 (18:59 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
README.md
src/types/UIProtocol.ts
src/types/WorkerBroadcastChannel.ts

index 9fb88585fca585dab1e633f28db8c6d48f4604ba..f59641624e92b696cfbb72730f4ea5531efd34b3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -409,7 +409,29 @@ Set the HTTP header _Sec-Websocket-Protocol_ to `ui0.0.1`
 
 #### Procedures
 
-##### List Charging stations
+##### Start Simulator
+
+Request:  
+`ProcedureName`: 'startSimulator'  
+`PDU`: {}
+
+Response:  
+`PDU`: {  
+`status`  
+}
+
+##### Stop Simulator
+
+Request:  
+`ProcedureName`: 'stopSimulator'  
+`PDU`: {}
+
+Response:  
+`PDU`: {  
+`status`  
+}
+
+##### List Charging Stations
 
 Request:  
 `ProcedureName`: 'listChargingStations'  
index 1e6917aee4871d5a964e6d22c3f26ab4da732468..63bb7ca1a5bc61c90bb99a1b62e598478eefa2da 100644 (file)
@@ -32,6 +32,7 @@ export enum ProcedureName {
   OPEN_CONNECTION = 'openConnection',
   CLOSE_CONNECTION = 'closeConnection',
 }
+
 export interface RequestPayload extends JsonObject {
   hashId?: string;
 }
index 2a92f312323abccfc95c6b25dc389cdaaa84f35c..0015b717e7fa97ee78a257efeff85d5b71e7d1f9 100644 (file)
@@ -1,4 +1,3 @@
-import { JsonObject } from './JsonType';
 import { RequestPayload, ResponsePayload } from './UIProtocol';
 
 export type BroadcastChannelRequest = [