Commit Graph

4 Commits

Author SHA1 Message Date
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 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 79628e7849 Added ack payload. Added a sample using pingpair as a base with minimal changes. 2011-04-30 15:31:04 -07:00
maniacbug de083c964d added 2011-03-18 20:32:34 -07:00