Commit Graph

91 Commits

Author SHA1 Message Date
maniacbug 2c97186329 Fix bug introduced in the move to PROGMEM. Props to @basilrx for finding this. Also added a test case to demonstrate the bug, and guard against more like it in the future. 2012-02-26 19:53:08 -08:00
maniacbug f6e59b9de8 Remove prog_char, for compliance with gcc 4.6.1 2012-01-17 22:05:11 -08:00
maniacbug eb3b2d800a Reduce RAM footprint by moving static const data to progmem, and refactoring out switch statements. 2012-01-15 22:05:44 -08:00
maniacbug 07a4bcf425 Use latest copyright 2011-12-24 10:07:16 -08:00
maniacbug 238e9d27b6 Merge branch 'master' of github.com:maniacbug/RF24 2011-12-21 08:33:01 -08:00
maniacbug 5cb32c92cc Handle SPI.h better in Maple 2011-12-21 08:32:57 -08:00
maniacbug 50b18a9c7d Reduce delays in startWrite down to only required delays 2011-12-19 06:19:25 -08:00
maniacbug 53cb579400 Moved environment-specific checking out to RF24_config.h 2011-12-10 15:52:33 -08:00
maniacbug f3934084a1 Changes to work on Maple 2011-12-10 00:42:23 -08:00
maniacbug d92ac14f86 Compatibility with Arduino 1.0 2011-11-02 21:28:28 -07:00
maniacbug 726027837e Merge branch 'master' of github.com:maniacbug/RF24 2011-10-19 15:18:11 -07:00
maniacbug 066d79f21e Flush all buffers on start and stop listening 2011-10-12 20:36:00 -07:00
maniacbug ef02ce6e60 Merge branch 'master' of github.com:maniacbug/RF24 2011-10-07 19:07:21 -07:00
maniacbug 19dd5c7726 Avert warnings on native platform 2011-10-07 19:07:08 -07:00
maniacbug c419532cbe Merge branch 'master' of github.com:maniacbug/RF24 2011-09-12 19:29:04 -07:00
maniacbug a28e2361fc SPI bus speed divider to 4, suggested by Greg Copeland. Also removed duplicated spi setup out of begin(), as it's all in csn() 2011-09-12 19:27:27 -07:00
Greg Copeland a4cabc66a2 Yet more merge cleanup. Changes default channel to be
US/Internationally legal while ensuring no spectrum bleed.
2011-09-12 19:22:27 -07:00
Greg Copeland 7ad1b409fe More debugging information. 2011-09-12 19:21:49 -07:00
maniacbug cc7e0a2f19 Fixed a bug when pipe 0 was NOT being used for writing. 2011-09-12 19:11:37 -07:00
maniacbug e1527afc31 Small tweaks and new test for native target 2011-08-27 21:58:06 -07:00
maniacbug 5344c5fe8c CHanged default data rate to 1MBps and default channel to 100 for better performance 2011-08-04 20:46:30 -07:00
maniacbug 4c21ab6ad0 Added back in gcopeland's additional debugging info, with readable values. 2011-08-04 20:16:07 -07:00
maniacbug 8f17e63a22 Add getDataRate, add DISABLED to data rate enum 2011-08-04 20:14:27 -07:00
maniacbug b715bf0fc8 Comment cleanups 2011-08-02 21:15:14 -07:00
maniacbug a261710761 Comment cleanups 2011-08-02 20:59:57 -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 4542464e0b Merge fix for static payloads 2011-08-02 15:55:14 -07:00
maniacbug af00a61555 Fix bug in which static payloads were broken 2011-08-02 15:51:51 -07:00
maniacbug 2f33bdbebd Experimental changes to help in debugging 2011-08-02 15:24:46 -07:00
maniacbug df328408f7 Fix bugs. Ack payload available was broken since interrupts went in. stREtries was missing since the gcopeland merge. 2011-08-02 15:24:19 -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 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 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 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 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 d3fff68a7c Created a non-blocking write and an example for how to use it. 2011-07-06 20:49:59 -07:00