Comments (3)
Hi @Kundanjhakj,
There is no systematic approach of making MicroOcpp send all operations one by another. For example, MicroOcpp will send the FirmwareStatusNotification only as part of a firmware update process, but it has no API for sending it manually.
Still you can rebuild each operation using the CustomOperation class like this
MicroOcpp/tests/Reservation.cpp
Lines 91 to 100 in 1bf4942
However, I'm not sure if that is exactly what you mean.
from microocpp.
Hi, In this code, esp32 uses wifi to connect with websocket. I have to connect with 4G module VVM ESP32 4G LTE A7670 MODULE.
from microocpp.
You can replace the built-in WebSocket client by your own WebSocket client which you have full control of. Then you can instruct the WebSocket client to route all traffic over 4G. The custom WebSocket client needs to subclass the MicroOcpp Connection
interface and implement all its functions. To make MicroOcpp use the custom WS client, you need to pass it to mocpp_initialize
like this: https://github.com/OpenEVSE/openevse_esp32_firmware/blob/ff671ff90cfbc8ec794bd4e7481301758b867934/src/ocpp.cpp#L243-L255
There's also a user who has used the TinyGSM project with MicroOcpp. See this issue for a demonstration: #238 (comment)
from microocpp.
Related Issues (20)
- Server error, data loss! HOT 2
- Error compiling for board DOIT ESP32 DEVKIT V1
- What value do I measure with "L1" compared to "L1-N" and "L1-L2", according to the protocol specifications? What value do I get via "L1"? HOT 1
- GetDiagnostics‘s issue HOT 2
- Offline Start transaction using local list HOT 2
- Ethernet (W5500) Support with Mongoose WebSocket Adapter on Arduino platform HOT 2
- Error compiling for board DOIT ESP32 DEVKIT V1
- How to send 'Finishing' when receive 'SoftReset' during charging. Not 'Unableable' HOT 2
- Is OCPP 1.6 security whitepaper edition 3 planned HOT 1
- How to pass the OCTT tast case 2.4.3. EV Side Disconnected HOT 4
- How to make specific feature not support HOT 1
- configuration key 'ChargingScheduleAllowedChargingRateUnit' accessibility is wrong, and some item is missing HOT 2
- AuthorizeRemoteTxRequests key functional implementation HOT 1
- Strange state transaciton handling HOT 7
- Scheduled charging on Power cut HOT 2
- Plugged connector check HOT 2
- processReq() is not implemented for UpdateFirmware Request HOT 1
- Various timeout errors when testing MicroOCPP example with evcc HOT 6
- Idleness check after end-transaction HOT 2
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.