Support ESPNow and improve documentation

This commit is contained in:
João Brázio committed 2025-09-07 21:39:54 +01:00
1 parent 760b5b07a6
commit 527f4bcc1a
6 files changed
+510 -59

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@
#ifdef WITH_RS232_BRIDGE
// Fletcher-16
// https://en.wikipedia.org/wiki/Fletcher%27s_checksum
// Static Fletcher-16 checksum calculation
// Based on: https://en.wikipedia.org/wiki/Fletcher%27s_checksum
// Used to verify data integrity of received packets
inline static uint16_t fletcher16(const uint8_t *bytes, const size_t len) {
uint8_t sum1 = 0, sum2 = 0;