maniacbug
81f85bd521
Prettied up printDetails some more
2011-06-28 06:27:36 -07:00
maniacbug
86798b65e4
Purge useless gitignores
2011-06-27 21:25:44 -07:00
maniacbug
549d4054fb
Deleted starping relay. Superseded by RF24Network.
2011-06-27 21:24:17 -07:00
maniacbug
e7c30f265f
Moved completely over to jam. bye bye make\!
2011-06-27 21:23:27 -07:00
maniacbug
ce881ba0dc
Removed unused file
2011-06-27 21:16:26 -07:00
maniacbug
fea8c0e82f
Move examples to 57600 baud
2011-06-27 21:06:08 -07:00
maniacbug
91df6f6df5
Fixed bug of not including name. Also added extra tab on short strings.
2011-06-27 21:01:58 -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
maniacbug
aa7a7c647a
Cleaned up some reinterpret casts to use new-style casts
2011-06-25 21:24:42 -07:00
maniacbug
8d5f020c78
Added Jamfile for led_remote
2011-06-25 21:23:25 -07:00
maniacbug
14dcc343dc
Fixed unused parameter warning
2011-06-25 21:22:20 -07:00
maniacbug
6e6264be43
Fix bug in openReadingPipe which disallowed pipe 5
2011-06-25 21:18:13 -07:00
maniacbug
748fde239b
Add RF_SETUP to printDetails
2011-06-25 21:17:53 -07:00
maniacbug
3cc856aa95
Changed the logic. Button press now toggles the LED.
2011-06-25 21:14:51 -07: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
ad99581285
Added a new example
2011-06-03 06:42:47 -07:00
maniacbug
731c472abc
Fixed a bug in setDataRate
2011-05-27 20:11:38 -07:00
maniacbug
34efd5ac94
Added setCRCLength
2011-05-27 20:09:29 -07:00
maniacbug
ec33f03368
Made all CONFIG register changes incremental not absolute
2011-05-27 19:32:59 -07:00
maniacbug
af9261cf93
Added 3rd FTDI port for my own use
2011-05-27 19:32:36 -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
1062f9d879
Environment-specific changes for me. Testing out latest arduino from git, and added a 3rd upload option
2011-05-25 20:47:16 -07:00
maniacbug
40eea86ffe
Avoid spurious warnings
2011-05-25 20:46:31 -07:00
maniacbug
badc86cfe0
Added extra debugging readability
2011-05-21 23:25:36 -07:00
maniacbug
8f80038227
Do clock divider on chip select. Should improve SPI interop with other devices
2011-05-21 23:24:27 -07:00
maniacbug
937805d6a2
Renamed ping delay to ping interval and added some comments
2011-05-15 07:32:04 -07:00
maniacbug
77a4c95319
Comment bug
2011-05-15 07:26:25 -07:00
maniacbug
0b3f8fec65
Merge branch 'master' of github.com:maniacbug/RF24
2011-05-15 07:22:34 -07:00
maniacbug
7e658242e2
Refactored common code from leaf/relay nodes into static functions. Improved comments.
2011-05-15 07:22:11 -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
e86c6b0f15
Leaf only starts hunting for a new slot after 3 timeouts. Makes the system more stable.
2011-05-13 21:00:26 -07:00
maniacbug
33edb1f18a
Moved base node code, to make it more readable
2011-05-13 20:18:49 -07:00
maniacbug
7b71380278
Added self-healing ping offset to leaf node. Made timeout more parallelized
2011-05-13 20:16:54 -07:00
maniacbug
52ab9e0081
Fixed relay writing pipe. Added id to payload. Made Ping timing a consistent gap
2011-05-13 15:09:37 -07:00
maniacbug
2e7ea67093
Added relay role, and tweaked base to work with it
2011-05-12 21:47:16 -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
4f6c4c909e
Added a full constructor for payload_t
2011-05-12 20:27:09 -07:00
maniacbug
986864236c
Rewired everything, re-tested with ping/pong nodes only
2011-05-12 20:21:49 -07:00
maniacbug
1fd8ee72c0
Created new example, copied from starping
2011-05-12 14:21:44 -07:00