An embeddable dumb heartbeat daemon in 260 bytes of RAM and 350 bytes of code
github.com
github.com
This has bitten me personally when designing an embedded protocol that sends 128 byte frames (of which not all are checksummed as those include hop count and checksum) that used Adler32 as checksum. It would not reliably detect a broken packet, so I had to switch to crc32 (for which the STM32 even provides hardware acceleration).
This also told me the lesson of including some option bits for later use to make the upgrade process less painful…
>It needs about 3% of the RAM found in a traditional Arduino like the Duemilanove, and it processes each heartbeat message in about 256 instruction executions (about 30 nanoseconds on a 1.6GHz N3700).
The Duemilanove uses a 16MHz ATMega328, so...16 microseconds? Still pretty good for a power-efficient setting, as long as you have separate listening/caching hardware for each individual high-speed signal.
To me it was more amusing to see open source from... presumably the automobile recovery and monitoring industry. A first for me, to be sure. :- )
Pretty cool, whatever the reason!
I only looked for a moment and might be wrong.