Adds explicit CRC width and PA level. Changes hardware initialization

order to minimize noisy/false message reception. Removed begin call
from constructor as begin now has delay which creates timer race
initialization. The delay exists to allow for power on/reset radio
settling which can otherwise prevent CONFIG bits from holding. Added a
method to allow CRC hardware validation to be disabled. This is a
requirement for various promiscuous listening RF applications. Setting
CRC width now forces CRC hardware validation enable.
This commit is contained in:
Greg Copeland
2011-07-18 15:37:30 -05:00
parent b491480dde
commit 158164746b
2 changed files with 74 additions and 18 deletions

6
RF24.h
View File

@@ -506,6 +506,12 @@ public:
*/
void setCRCLength(const rf24_crclength_e length) const ;
/**
* Disable CRC validation
*
*/
void disableCRC( void ) const ;
/**@}*/
};