Skip to content

Conversation

@Cisien
Copy link

@Cisien Cisien commented Jan 25, 2026

This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. This will be a CRC error in most cases, with edge cases such as bad radio settings also incrementing this. A CRC error would be caused by conditions such as collisions, interference, and weak signals.

This counter is exposed in the stats-packets command, and in the repeater stats payload as 4 additional bytes added to the end of the structure. The app handles this gracefully.

My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).

I intend to use this field in the LetsMesh analyzer to get a better idea of how much impact my repeaters are seeing from collisions/interference.

This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. In most cases this is going to be a CRC error. This counter is exposed in the `stats-packets` command, and in the repeater stats payload (4 additional bytes to the payload, which is now 56 bytes with this change. My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant