Comments (2)
Hi estebancere,
Thanks! You are right, you can provide a custom WS socket to ArduinoOcpp and therefore use any WS library which runs on your platform. A great example for that is OpenEVSE which uses the Mongoose WebSockets library. You can find the WS wrapper here: MongooseOcppSocketClient.cpp.
But maybe it's not necessary for you to exchange the WS library. links2004 has indeed built in most standard cryptographic functions into his library. And I plan to extend the ArduinoOcpp API with direct access to them soon. In the meantime, you can configure the WebSockets instance by yourself. Take a look at how OCPP_initalize(...)
works now (see here). You can basically copy its contents into your setup()
function and switch from websocket.begin(...)
to websocket.beginSslWithCA(...)
. links2004 provides great examples on how to use WSS on his GitHub page.
Hope I could help
from microocpp.
Hi Matthias!
It worked just fine! We been able to connect to the CS. Now trying to do some operations. Thanks a lot again!
from microocpp.
Related Issues (20)
- Firware Service for ESP-IDF HOT 1
- Does PlatformIO + MicroOcpp not support IP addresses?
- Change WiFi interface for Ethernet HOT 1
- undefined reference to `setup()'
- How to implement/Use Authorization Cache HOT 1
- Support for binary data over websockets HOT 4
- BeginTransaction process with 2 connectors HOT 5
- addMeterValueInput Doesn't Work HOT 1
- Bug in void mocpp_initialize(const char *backendUrl,... HOT 4
- Issue with Inconsistent Responses for StopTransaction Requests HOT 3
- Meter values in ESP-IDF HOT 1
- Use of AuthorizeRemoteTxRequests Configuration Key HOT 2
- Error on Make - Invalid Initialization of Reference HOT 1
- Always Disconnected Problem
- Offline Behavior: Session Data Persistence HOT 1
- Saving the charging summary HOT 7
- Function to define the current limit of a EVSE HOT 4
- Commercially Available Options HOT 2
- FreeVending Mode for Two conectors Simultaneously HOT 1
- cppcheck fail (cppcheck --force src/MicroOcpp) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microocpp.