Replies: 2 comments 9 replies
-
|
I think you know the structure of ems telegrams (https://docs.emsesp.org/EMS-bus/) If a client sends a telegram, this can be a read, write or broadcast. Ems-esp does not have own values and do not broadcast anything. When sending a read request (dest with 8'th bit set), the dest-device should answer with the requested value. If a client sends a write command, e.g. |
Beta Was this translation helpful? Give feedback.
-
|
I've now approximate the same number of @MichaelDvP So I would indeed say the code change to make the code more tolerant is doing its job. Feel free to roll it out to production... |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
My "Data Traffic" quality is almost perfect (not surprising as the bus length is just a bit more than 1 m), according to the stats:
I would first like to further understand the exact meaning of the above values.
Is it true that the
EMS Telegrams Received (Rx)tells how many telegrams have been received in total, with their telegram "integrity" intact, i.e. no transmission error?And is it true that the number of
EMS Reads (Tx)are part of the number ofEMS Telegrams Received (Rx)?What does it then mean if the number of
EMS Reads (Tx)is much higher than the number ofEMS Telegrams Received (Rx)? Does it mean that those "failed"EMS Reads (Tx)were received "intact" (flawless reception of "raw telegrams"), but could not be interpreted/decoded properly? Or is it due to some corruption that was not detected by the underlying transport?Here's a log of dozens of such failures. If I look at it (and I admit I have zero clue about EMS datagrams!) one could think that it's always the same "entity" or "opcode" (no clue if this is the proper language) with slightly changing values, and that EMS-ESP may be unable to decode the entity/opcode and its changing values.
Is this a correct guess? Or is it something completely different?
My goal is not to get rid of the tiny fraction of "failures" (100% quality is good enough for me 😎), but my goal is rather to improve the firmware, if possible. I would love to help, if I can.
Is the above log snippet sufficient, or do we need some more low-level log/network trace?
Beta Was this translation helpful? Give feedback.
All reactions