Commit Graph

60 Commits

Author SHA1 Message Date
maniacbug 291621c291 Merge branch 'master' of github.com:maniacbug/RF24 2011-11-21 11:07:50 -08:00
maniacbug d4371639e6 Added new example to documentation 2011-11-02 21:54:30 -07:00
maniacbug 8ea84e7f77 Update docs for 1.0 2011-10-19 15:30:33 -07:00
maniacbug 7aeaf0d373 Added FAQ page to docs 2011-08-04 20:46:24 -07:00
maniacbug 8f17e63a22 Add getDataRate, add DISABLED to data rate enum 2011-08-04 20:14:27 -07:00
maniacbug 483361029e Reorganize header file to better group the now very large list of methods 2011-08-02 21:35:45 -07:00
maniacbug 3aab74ae8f Merge master with static payload fixes 2011-08-02 16:38:14 -07:00
maniacbug a31cafcc88 Static and dynamic payloads now fully fixed and interoperable 2011-08-02 16:31:18 -07:00
maniacbug c9d64fd088 More doc tweaks 2011-08-01 09:52:35 -07:00
maniacbug fcc3dfbedb Fix up some doc bugs 2011-08-01 09:46:13 -07:00
maniacbug cd3b0b3ccb Merge cleanups 2011-07-31 10:00:21 -07:00
maniacbug 956b63a4dc sed s/boolean/bool/g 2011-07-31 10:00:09 -07:00
maniacbug 14c34ca2e4 astyle -A1 -s2 2011-07-31 09:47:41 -07:00
maniacbug 602d96264a Merge gcopeland/constremove 2011-07-31 09:45:40 -07:00
Greg Copeland 0c2515df19 As a just in case I misunderstood some of the constant-ness changes, I
completely took out all of the constant correctness enahcements. Also
added a powerUp() method.
2011-07-19 11:05:18 -05:00
Greg Copeland 542c46c0c6 Merge branch 'p_enable' into constremove 2011-07-18 15:42:14 -05:00
Greg Copeland 158164746b 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.
2011-07-18 15:37:30 -05:00
Greg Copeland 85c0f57e3f Removed method argument const qualifiers. 2011-07-16 11:36:10 -05:00
Greg Copeland b491480dde Reverted constructor changes. Changed SPI bus speed. Fixed setAutoAck
for specific pipelines per suggestion.
2011-07-16 10:36:36 -05:00
maniacbug a783ed38da Fixed missing includes, thanks to Spoiler for reporting the problem. 2011-07-10 20:55:25 -07:00
maniacbug 42bf3e8cd2 Purge 'boolean' type, use 'bool' instead 2011-07-10 08:22:30 -07:00
maniacbug 63eb62ebc3 Implement dynamic payloads, with an example 2011-07-10 08:00:58 -07:00
maniacbug 32e8b3fbbb astyle -A1 -s2 2011-07-08 22:29:16 -07:00
maniacbug f8e6984ccc docupdate 2011-07-08 22:19:54 -07:00
maniacbug d3fff68a7c Created a non-blocking write and an example for how to use it. 2011-07-06 20:49:59 -07:00
maniacbug fbae441249 Factored out status-checking from write() into a public method 2011-07-06 19:51:30 -07:00
maniacbug ca4820cd27 Documented some questionable behaviour as pointed out by mdenzien 2011-06-28 21:21:45 -07:00
maniacbug a22906f961 Added setRetries() 2011-06-28 06:44:41 -07:00
maniacbug 1c6cc96fb7 docupdate 2011-06-28 06:31:16 -07:00
maniacbug 81f85bd521 Prettied up printDetails some more 2011-06-28 06:27:36 -07:00
maniacbug 92373ba7f5 Refactor repeated parts of printDetails into own methods 2011-06-27 14:17:00 -07:00
Greg Copeland 059efa5ffa Re-organized nRF24L01.h file to place 'P' features in one
location. Changed some bit value interpretation.

Now auto-detects P-vaiants and is queryable. setDataRate now returns a
boolean indicating success or failure of the new data rate
request. The wide_band state indicator has been added and now tracks
the state, including on error fallback. Its now possible to query the
current data rate via getDataRate().

The AA retry duration has been changed to 1500us, which is the lowest
interval allowed when running at 250Kbs, with AA enabled, and 32-byte
packets.
2011-06-27 15:02:33 -05:00
Greg Copeland 634d0efde5 Moved the wide_band variable and initializer cleanup. 2011-06-21 15:01:10 -05:00
Greg Copeland aac2c3dba3 Added two default values to the RF24 constructor; speed and channel.
Some additional constantness cleanup.
2011-06-21 14:58:19 -05:00
Greg Copeland b1a7dc7d54 Adds constantness to method declarations and arguments where possible.
Added the concept of wide band. Currently not used but state is
properly tracked in accordance with data rate selection.
Default channel is changed to 64 in begin method. That needs to move
anyways.
Automatic ACKs can now be adjusted on a per pipeline bases.
2011-06-21 14:36:02 -05:00
Greg Copeland 1a37c1cd0f New P variant feature support with corresponding defines. RF_DR is now broken into two bits to support P variant and is now obsolete. RF_DR is now RF_DR_HIGH and RF_DR_LOW; with RF_DR_HIGH corresponding to the original RF_DR bit. Data rate can now select 250kbs mode on supporting hardware.
Its now possible to both get and set the current PA level. LNA is obsolete in P variant.

CD is obsoleted in P variant. Can now check both CD and RDP levels. Will follow through in the future to determine if there is any real difference. Aside from dBm floor and slight changes in internal behavior, they appear identical in interface and function.

Fixes a bug in openReadingPipe which was excluding the 5th pipline. We have 6-pipelines, 0-5, so excluding the 5th (<5) would only allow for four active pipelines.
2011-06-21 10:26:16 -05:00
maniacbug 26c45e85a9 astyle -A1 2011-06-04 16:01:43 -07:00
maniacbug bec84a7907 Fixed led_remote in docs 2011-06-04 15:25:47 -07:00
maniacbug a62338f3a7 Added led_remote to docs 2011-06-04 15:20:53 -07:00
maniacbug 34efd5ac94 Added setCRCLength 2011-05-27 20:09:29 -07:00
maniacbug 4131420de7 Added setDataRate() 2011-05-26 20:48:30 -07:00
maniacbug a6e7444059 Added carrier detect and auto ack enable/disable 2011-05-25 22:23:25 -07:00
maniacbug bee284f9c5 Added carrier detect and auto-ack disable, and an example to use it 2011-05-25 22:22:21 -07:00
maniacbug f3369a552c Updating docs 2011-05-25 21:02:11 -07:00
maniacbug 1c65c7f181 Revised documentation 2011-05-25 20:52:01 -07:00
maniacbug 0b3f8fec65 Merge branch 'master' of github.com:maniacbug/RF24 2011-05-15 07:22:34 -07:00
maniacbug 1d28d28a29 Now caches the reading pipe 0 and re-sets it when starting to listen. 2011-05-15 07:21:11 -07:00
maniacbug d8b2512e0c Allow opening pipe 0 for reading. Useful if it's on a different subnet from others 2011-05-12 21:46:27 -07:00
maniacbug 6ec7640a7a Added more documentation 2011-05-11 14:50:07 -07:00
maniacbug b697fd4e79 Added powerDown(). 2011-05-10 15:16:06 -07:00