-
Notifications
You must be signed in to change notification settings - Fork 3
Buffer size and telegram length
peno64 edited this page Dec 18, 2022
·
2 revisions
Data from the digital meter is received in so called telegrams. The amount of data send in such a telegram depends on which data and newer meters may also send more data. Then that data is processed in a so called buffer. If the telegram length is larger then the buffer should also be larger. The default size for both is 1500.
On several places you can read that it would be better to increase this size to at least 1700. This can be done in the yaml configuration file and this on 2 places:
uart:
rx_buffer_size: 1700
dsmr:
max_telegram_length: 1700
So the first is setting a new buffer size and the second one setting the telegram length.