Hello @Linh_Bui,
Greetings for the day,
Currently I am using the EC200U-CNAA Quectel EVK on the EVK I am running the latest SDK.
Using the web socket through TCP connection I am able to send the handshake request and also getting the response from the OCPP server.
But, When I send the boot notification request then suddenly TCP socket connection getting closed.
Can you guide which format I need to send to the server can accept it?
If you have sample AT command response for above scenario please share with me.
Here I have attached my AT command logs for your reference:
**2023-06-15_14:21:56:352]AT+QIOPEN=1,1,"TCP","20.193.178.144",80,0,0**
**[2023-06-15_14:21:56:352]OK**
**[2023-06-15_14:21:59:307]**
**[2023-06-15_14:21:59:307]+QIOPEN: 1,0**
**[2023-06-15_14:22:13:489]AT+QISEND=1**
**[2023-06-15_14:22:13:489]> GET /JIOTESTING001 HTTP/1.1**
**[2023-06-15_14:22:15:514]Host: 20.193.178.144**
**[2023-06-15_14:22:16:517]Upgrade: websocket**
**[2023-06-15_14:22:17:519]Connection: Upgrade**
**[2023-06-15_14:22:18:521]Sec-WebSocket-Key: gXWDjiKcOBqyTA2v/vFk6w==**
**[2023-06-15_14:22:19:524]Origin: http://20.193.178.144:80**
**[2023-06-15_14:22:20:527]Sec-WebSocket-Protocol: ocpp1.6**
**[2023-06-15_14:22:21:529]Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXViCJ9**
**[2023-06-15_14:22:22:533]Sec-WebSocket-Version: 13**
**[2023-06-15_14:22:28:279]**
**[2023-06-15_14:22:29:983]**
**[2023-06-15_14:22:31:702]**
**[2023-06-15_14:22:31:702]SEND OK**
**[2023-06-15_14:22:32:024]**
**[2023-06-15_14:22:32:024]+QIURC: "recv",1**
**[2023-06-15_14:22:35:095]AT+QIRD=1,1500**
**[2023-06-15_14:22:35:095]+QIRD: 216**
**[2023-06-15_14:22:35:095]HTTP/1.1 101 Switching Protocols**
**[2023-06-15_14:22:35:095]Upgrade: websocket**
**[2023-06-15_14:22:35:095]Connection: Upgrade**
**[2023-06-15_14:22:35:095]Sec-WebSocket-Accept: TuNHNYAVKuHKr8iSI6bmJmvayH4=**
**[2023-06-15_14:22:35:095]Sec-WebSocket-Protocol: ocpp1.6**
**[2023-06-15_14:22:35:095]date: Thu, 15 Jun 2023 08:52:31 GMT**
**[2023-06-15_14:22:35:095]server: uvicorn**
**[2023-06-15_14:22:35:095]OK**
**[2023-06-15_14:22:41:166]AT+QISEND=1**
**[2023-06-15_14:22:41:166]> [**
**[2023-06-15_14:22:43:756] 2,**
**[2023-06-15_14:22:43:756] "531531531",**
**[2023-06-15_14:22:43:756] "BootNotification",**
**[2023-06-15_14:22:43:756] {**
**[2023-06-15_14:22:43:756] "chargePointVendor": "JIO",**
**[2023-06-15_14:22:43:756] "chargePointSerialNumber": "dummyCP002",**
**[2023-06-15_14:22:43:756] "chargePointModel": "JIOTEST"**
**[2023-06-15_14:22:43:756] }**
**[2023-06-15_14:22:43:756]]**
**[2023-06-15_14:22:49:200]**
**[2023-06-15_14:22:51:221]**
**[2023-06-15_14:22:55:183]**
**[2023-06-15_14:22:55:183]SEND OK**
**[2023-06-15_14:22:55:484]**
**[2023-06-15_14:22:55:484]+QIURC: "recv",1**
**[2023-06-15_14:22:58:956]AT+QIRD=1,1500**
**[2023-06-15_14:22:58:956]+QIRD: 4**
**[2023-06-15_14:22:58:956]ˆê**
**[2023-06-15_14:22:58:956]OK**
**[2023-06-15_14:22:59:072]**
**[2023-06-15_14:22:59:072]+QIURC: "closed",1**
Thanks In Advance…