Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample code for server connection and sending information to the charging station #8

Open
DgnOnur opened this issue Nov 23, 2023 · 3 comments

Comments

@DgnOnur
Copy link

DgnOnur commented Nov 23, 2023

Problems with the dll package have been resolved.

I would like sample code on the following topics.

  1. How should I start the server application?
  2. How can I send start and stop charging requests to the charging station?

I would appreciate it if you could provide information with small examples.

@DgnOnur
Copy link
Author

DgnOnur commented Nov 23, 2023

I would like your help on this issue.

Can you share a small sample code on how I can use the web socket subfolder information, bootnotification information, start and end charging operations?

@ahzf
Copy link
Member

ahzf commented Nov 23, 2023

Well, what do you need exactly?
Because there is for every OCPP version a unit test project which tests at least every OCPP message once, e.g.

public async Task SendBootNotifications_Test()

@DgnOnur
Copy link
Author

DgnOnur commented Nov 23, 2023

I need an example that will start the server application.

I enter the server IP address in the physical charging station settings. Is the port information 9900? I should enter my port 9901.

I also need to enter sub path information.

ocpp 2.0.1 or ocpp 1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants