Quantcast
Channel: Articles on JeeLabs
Viewing all articles
Browse latest Browse all 296

Simple variable packet data

$
0
0
Until now, most of the wireless sensor nodes here at JeeLabs have been using a simple “map C/C++ struct as binary” approach as payload format. The advantage of this is that it simplifies the code in C (once you wrap your mind around how structs and binary data are stored in memory, that is) - but it’s also a bit C-specific, compiler-dependent, and not truly flexible. With Forth now taking over both sides of the wireless RF link, it’s time to revisit this approach.

Viewing all articles
Browse latest Browse all 296

Trending Articles