jeelabs / jeelib

JeeLib for Arduino IDE: Ports, RF12, and RF69 drivers from JeeLabs
https://jeelabs.org/202x/sw/jeelib/
The Unlicense
489 stars 215 forks source link

Add support for receiving fixed length packets to the RF12 driver #69

Closed cadwal closed 10 years ago

cadwal commented 10 years ago

This allows use of the RF12 driver to receive data from sources that do not implement the RF12 protocol. Includes a sample for the EMT7110 energy meter.

This version is based on your second idea from yesterday and uses some trickery with the rxfill "state machine". Not as readable but less intrusive. The crc will be calculated but obviously of no use.

jcw commented 10 years ago

Thanks very much for the adjustments - it adds fixed packet mode without altering the most common case of running this driver with the RF12 packet format layout.

jcw commented 10 years ago

Minor formatting tweaks checked in. Not really an improvement, but it matches the current style. I tend to prefer a somewhat consistent style - even the wrong one - over a mixed style. With apologies.

cadwal commented 10 years ago

Oh, I did try to follow the current style but I didn't expect to succeed :-)

On 8 March 2014 22:36, Jean-Claude Wippler notifications@github.com wrote:

Minor formatting tweaks checked in. Not really an improvement, but it matches the current style. I tend to prefer a somewhat consistent style

  • even the wrong one - over a mixed style. With apologies.

Reply to this email directly or view it on GitHubhttps://github.com/jcw/jeelib/pull/69#issuecomment-37110684 .