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
d436895f7c
Added 3rd test case, static payload
2011-07-13 21:42:16 -07:00
maniacbug
c408c5ef90
Simplify specification of test configs slightly
2011-07-13 21:22:39 -07:00
maniacbug
c13db8f42d
Added a second test configuration
2011-07-13 19:13:57 -07:00
maniacbug
1517f1249d
Fixed bug in setcrclength and setdatarate which was mishandling the bits
2011-07-13 19:13:32 -07:00
maniacbug
7640852edf
prepare tests to run with configuration parameters
2011-07-13 18:47:46 -07:00
maniacbug
af37c345e8
Created an all-up script runner
2011-07-13 15:41:37 -07:00
maniacbug
c624815704
bugfix
2011-07-13 15:28:34 -07:00
maniacbug
22b4c558cd
Added a test script to control the test, using python.
2011-07-13 15:02:03 -07:00
maniacbug
77411b4ec5
Added working test
2011-07-13 14:12:05 -07:00
maniacbug
0946538f3a
Created skeleton of new test
2011-07-13 13:01:04 -07:00
maniacbug
a783ed38da
Fixed missing includes, thanks to Spoiler for reporting the problem.
2011-07-10 20:55:25 -07:00
maniacbug
20e91ab82b
comments
2011-07-10 08:26:49 -07:00
maniacbug
42bf3e8cd2
Purge 'boolean' type, use 'bool' instead
2011-07-10 08:22:30 -07:00
maniacbug
ccf32891f0
comments
2011-07-10 08:18:41 -07:00
maniacbug
774f53d6c5
Reduce example payload size. Does this help reliability?
2011-07-10 08:18:37 -07:00
maniacbug
9566c82367
Clean up read() to use new-style read_register, which reduces it to two lines of code
2011-07-10 08:12:12 -07:00
maniacbug
63eb62ebc3
Implement dynamic payloads, with an example
2011-07-10 08:00:58 -07:00
maniacbug
98fbd44111
Adding new example pingpair_dyn for dynamic payloads
2011-07-10 07:12:58 -07:00
maniacbug
32e8b3fbbb
astyle -A1 -s2
2011-07-08 22:29:16 -07:00
maniacbug
b000a87aa1
Optimization of whatHappened, suggested by Mike Denzien
2011-07-08 22:25:44 -07:00
maniacbug
f8e6984ccc
docupdate
2011-07-08 22:19:54 -07:00
maniacbug
d5a3e79c66
astyle -A1 -s2
2011-07-08 22:15:37 -07:00
maniacbug
062d83346b
Now both roles use the IRQ. Thanks to Mike Denzien for testing & troubleshooting.
2011-07-08 22:10:19 -07:00
maniacbug
854956687f
Simplified printing, ok to do just from the irq handler
2011-07-06 21:00:45 -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
bb37e88094
Initial checking of new pingpair_irq example. Right now this is just the pingpair example but renamed.
2011-07-06 19:59:06 -07:00
maniacbug
fbae441249
Factored out status-checking from write() into a public method
2011-07-06 19:51:30 -07:00
maniacbug
c62224ff86
More comments, factored out powerdown from write()
2011-06-29 21:46:46 -07:00
maniacbug
c5823c2605
Made timeouts more explicit in write()
2011-06-29 21:38:17 -07:00
maniacbug
ca4820cd27
Documented some questionable behaviour as pointed out by mdenzien
2011-06-28 21:21:45 -07:00
maniacbug
c151ffbf67
Tidied up EN_RXADDR setting
2011-06-28 06:56:24 -07:00
maniacbug
8701d82615
Fix bug in setDataRate
2011-06-28 06:46: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
04e72775bb
Add dynpd/feature to printDetails
2011-06-28 06:30:03 -07:00
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