Commit Graph

104 Commits

Author SHA1 Message Date
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
maniacbug 6ec7640a7a Added more documentation 2011-05-11 14:50:07 -07:00
maniacbug 4ef1f4b8e6 Removed power_all/enable/disable, useless. Added a multiples of the wakeup. 2011-05-10 21:34:51 -07:00
maniacbug ee4568ede4 Added server time to printout. Power disable/enable before/after sleeping. Changed timer to 4s. 2011-05-10 19:35:09 -07:00
maniacbug 0d20f831d0 Turned off serial debug 2011-05-10 19:34:22 -07:00
maniacbug a647a0f091 Merge branch 'master' of github.com:maniacbug/RF24 2011-05-10 15:25:59 -07:00
maniacbug 31793823ea First complete compile/link with sleep functionality. Haven't run it yet. 2011-05-10 15:16:41 -07:00
maniacbug b697fd4e79 Added powerDown(). 2011-05-10 15:16:06 -07:00
maniacbug 72dc77467e Created a new example to show sleeping in between sends. This isn't done yet. It's just a copy of pingpair for now. 2011-05-10 14:51:51 -07:00
maniacbug f9b664cd34 Removed 'ackpacket' example. It was never working 2011-05-10 14:42:29 -07:00
maniacbug f3356f31a2 Cleaned up comments, variables names, enums 2011-05-10 14:40:42 -07:00
maniacbug ffc7d099ed Got ack payloads working. Renamed from 'ackpacket' 2011-05-10 14:39:01 -07:00
maniacbug 93f5cface0 Fixed a bug where it was writing to the wrong pipe 2011-05-02 21:21:10 -07:00
maniacbug e7254a3b3a Split out upload target into two 2011-05-02 21:20:55 -07:00
maniacbug 39b15c8b55 Stripped down extraneous pipe opens, and other un-needed things. 2011-04-30 21:10:33 -07:00
maniacbug 38392fa5f4 Removed ping/pong. Now tx just sends and rx just sends ack payload 2011-04-30 19:52:13 -07: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 a88e78a0da Merge branch 'master' of 207.97.227.239:maniacbug/RF24 2011-04-28 20:34:34 -07:00
maniacbug 997140e0d4 Added new sample, based on pingpair 2011-04-28 16:14:07 -07:00
maniacbug 33b897318f Moved printf format strings to progmem. 2011-04-25 20:40:51 -07:00
maniacbug dfb2faa841 Removed the line that set the payload size to 8 in begin(). Reduced some ints to uint8_t. Added some more debugging info. 2011-04-25 20:29:57 -07:00
maniacbug e005ec75f1 Merge branch 'master' of github.com:maniacbug/RF24 2011-04-24 12:56:51 -07:00
maniacbug 1045cec9b1 Now sets spi data mode before interacting with the chip. needed to interoperate with other spi devices 2011-04-24 12:56:43 -07:00
maniacbug e188242a86 Enabled warnings, and cleaned up warnings. Updated pingpair makefile for recent makefile improvements 2011-04-24 11:34:05 -07:00
maniacbug 5b632f3740 Updated vim modeline 2011-04-24 11:24:21 -07:00
maniacbug 0668494aee Trying to get the formatting just right 2011-04-03 20:32:21 -07:00
maniacbug 21057e4608 Cleaned up documentation. 2011-04-03 20:28:54 -07:00
maniacbug 117678c46f Tweaked doc paramters 2011-04-01 23:02:01 -07:00
maniacbug e1db4401ca Make the makefile be smart about which OS it's running, and make
environmental changes as appropriate
2011-04-01 22:57:01 -07:00
maniacbug c2dc35652e Flipped the logic on the role pin. 2011-04-01 22:56:46 -07:00
maniacbug c8ed556aba Added an indication of which pipe a message came from. Fixed a bug where pipes 2+ were not
getting enabled.
2011-04-01 22:55:33 -07:00
maniacbug 37d8e8b17d Added new star-topology example 2011-04-01 22:53:36 -07:00
maniacbug c5c4537cdc Tuned the text a bit 2011-03-31 21:47:01 -07:00
james e97e0239d7 Simplified example to use less calls.
Defaults now to 32-byte payloads, but you can call in with any size under that.  Added example to docs.
2011-03-31 21:32:45 -07:00
maniacbug 0dc43ab872 Changed name of print_details to comply with the overall naming convention 2011-03-19 13:19:17 -07:00
maniacbug 5ba21261bb Added 2011-03-19 13:15:24 -07:00