Connect as CPO

CPOs can connect to Noroam SDK by following the below directions.

To connect to the charge.xyz charge point gateway, the endpoint below should be used; replace [CHARGE_POINT_ID] with your CP ID.

ws://charge-point-gateway-jx-devbr.charge.xyz/[CHARGE_POINT_ID]

How to test?

// curl --include \
     --no-buffer \
     --header "Connection: Upgrade" \
     --header "Upgrade: websocket" \
     --header "Host: charge-point-gateway-jx-devbr.charge.xyz:80" \
     --header "Origin: http://charge-point-gateway-jx-devbr.charge.xyz:80" \
     --header "Sec-WebSocket-Key: SGVsbG8sIHdvcmxkIQ==" \
     --header "Sec-WebSocket-Version: 13" \
     --header "Sec-WebSocket-Protocol: ocpp1.6" \
     http://charge-point-gateway-jx-devbr.charge.xyz:80/cp_kamran_test

Expected Outcome

// Date: Tue, 04 Oct 2022 11:25:54 GMT
Connection: upgrade
Upgrade: websocket
Sec-WebSocket-Accept: qGEgH3En71di5rrssAZTmtRTyFk=
Sec-WebSocket-Protocol: ocpp1.6

Last updated