Comments (3)
Hi @AbdullahJalloul,
Thank you for the report. Does the charger send meter values within the StopTransaciton, i.e. is something set up in the config keys StopTxnSampledData or StopTxnAlignedData? My first guess is that the payload JSON overflows, but this is only plausible if the transactionData has a regression bug.
from microocpp.
Thank you for your quick response. Yes, I am indeed using StopTxnSampledData and StopTxnAlignedData configurations. Here's how they are set up:
declareConfiguration<const char*>("MeterValuesSampledData", "Power.Active.Import,Energy.Active.Import.Register,Voltage,Current.Import");
declareConfiguration<const char*>("StopTxnSampledData", "Power.Active.Import,Energy.Active.Import.Register,Voltage,Current.Import");
declareConfiguration<const char*>("MeterValuesAlignedData", "Power.Active.Import,Energy.Active.Import.Register,Voltage,Current.Import");
declareConfiguration<const char*>("StopTxnAlignedData", "Power.Active.Import,Energy.Active.Import.Register,Voltage,Current.Import");
As you can see, I am sampling and aligning multiple data types like Power, Energy, Voltage, and Current at the end of transactions. Your suggestion about the possibility of JSON payload overflow makes sense, considering the amount of data involved. Could you please advise on how to confirm if this is the case and any potential workarounds or adjustments I might consider to mitigate this issue?
Thank you once again for your support and guidance.
Best regards,
from microocpp.
Thanks for the information. I tried to reproduce this using the Simulator on Linux, but without luck. I will troubleshoot it on a microcontroller platform too.
Another possible scenario is that the device is running low on heap memory and then the JSON serialization fails. Do you monitor the heap usage and could there be a connection with the blank message? In any case, the library is lacking a meaningful error message if the allocation fails here which needs to be improved in future.
from microocpp.
Related Issues (20)
- Idleness check after end-transaction HOT 3
- Disconnect - weak WIFI signal
- Linux 下cmake编译工程出现 "major" is defined冲突?如何解决? HOT 1
- How can we replace localhost with real domain/sub-domain
- Firmware update on MicroOCPP in C
- Setting one connector
- HTTP request & OCPP
- FirmwareService not initialized
- Charging Profil with Kind TxProfil is rejected without TransactionId HOT 3
- loadJson() cause storeJson() overflow
- Heartbeat_Listen
- Get timeout status in every request HOT 2
- Can not pass some OCTT test case for Smart Charging
- SuspendedEV
- Showing default status Preparing (Without gunconnect) and rejects RemoteStartTransaction HOT 1
- spiffs partition could not be found
- Is "OCPP & California Pricing Requirements" planned to be implemented? HOT 1
- Connection Error
- Stuck between Connected and Disconnected loop
- getting issue in statusNotification .
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.