Commit Graph
1413 Commits
Author SHA1 Message Date
Bruce Lacey 541cd4360a Merge pull request #13 from mysensors/bugfixes-reported-on-forum
Bug fixed for
2014-04-15 17:24:18 -07:00
MySensors-BOT 16160504b1 [Version-Bot] updated version to 1.3b3 (43d74e2) 2014-04-15 17:38:55 +00:00
Henrik Ekblad 43d74e2083 Bug fixed for
http://forum.mysensors.org/topic/37/sensor-readmessage
2014-04-15 19:38:39 +02:00
TMRh20 e83a107bdf Update examples, minimize code size
- Updated some example files and tests
- Small changes to minimize code size
2014-04-15 09:40:36 -06:00
TMRh20 5fabf2608a Fix: Return value of write, writefast 2014-04-11 02:17:42 -06:00
TMRh20 1858312338 Revert powerUp() delay to 5ms delay
For nRF24L01+ to go from power down mode to TX or RX mode it must first
pass through stand-by mode.
There must be a delay of Tpd2stby (see Table 16.) after the nRF24L01+
leaves power down mode before
the CEis set high.

5ms is the maximum defined in the v1.0 datasheet
2014-04-10 13:01:51 -06:00
TMRh20 92a19af8f8 enableDynamicAck(), Single NOACK, default RT,
- Added new function: enableDynamicAck()  to enable single-write NOACK
payloads (merge closer with gcopeland fork)
- Added single NOACK writes for write(), writeFast(), startWrite() and
startFastWrite()
- powerUp() now checks to see if radio is powered on. No delay if
powered up.
- radio must still be powered up manually if powered down manually
- use setRetries function in begin()
- set CE low on powerDown
- updated readme
2014-04-10 09:49:23 -06:00
TMRh20 07eb9f8749 ATTiny support fr jscrane fork tested and working
ATTiny support pulled in from https://github.com/jscrane/RF24
- SPI support for ATTiny is included with the library. Do NOT include
SPI.h with tiny.

Pin info etc can be found at:
http://programmablehardware.blogspot.ca/2013/09/rf24-with-attiny84.html

ATTiny 85 Example:
RF24 radio(4,3);    // CE: 4  CS: 3
2014-04-09 10:53:47 -06:00
TMRh20 8077f56a7f Merge pull request #1 from zephyrr/master
Merge improved write_payload() and read_payload()  - looks good and passes my testing.
2014-04-08 01:33:04 -06:00
zephyrr 84146a17f3 Revamped write_payload() and read_payload()
Restructured based on needing or not needing blank padding
2014-04-07 23:31:52 -07:00
TMRh20 afdb084daf Fix: Due write() issues.
Found that Due would send multiple payloads or fail in writing in some
cases. Change ensures single-payload transmission using write().
- Updated pingpair_dyn.ino example sketch to conform with available()
changes
- Slight doc update
2014-04-07 20:41:38 -06:00
MySensors-BOT cdb764eb18 [Version-Bot] updated version to 1.3b3 (7afb55c) 2014-04-06 21:52:05 +00:00
Bruce Lacey 7afb55c777 Merge remote-tracking branch 'upstream/master' 2014-04-06 14:51:08 -07:00
Bruce Lacey f2e47d2f7c Changed Relay and Gateway to reference MySensors. 2014-04-06 14:49:47 -07:00
MySensors-BOT 8207cc4afb [Version-Bot] updated version to 1.3b3 (f4e713b) 2014-04-06 21:39:51 +00:00
Bruce Lacey f4e713b0e1 Updated Gateway.cpp to MySensors. 2014-04-06 14:38:44 -07:00
MySensors-BOT ca86378382 [Version-Bot] updated version to 1.3beta2 (f3d982e) 2014-04-06 21:00:49 +00:00
Henrik Ekblad f3d982e779 Update Relay.cpp
Test version bot
2014-04-06 23:00:19 +02:00
Henrik Ekblad b91037f267 Merge pull request #12 from bblacey/version-bot
Refactoring to support MySensors.org Version-Bot
2014-04-06 20:41:56 +02:00
Henrik Ekblad b60095a0ee Merge pull request #10 from henrikekblad/master
Create README.md
2014-04-06 20:41:44 +02:00
TMRh20 d28323aadc Fix: Missing byte with due RX
- SPI transfer fix to read every available byte in the payload with
payloads less than 32 bytes with dynamic payload size disabled.
2014-04-06 08:49:35 -06:00
Bruce Lacey fb618e70bb Merge remote-tracking branch 'upstream/master' into version-bot 2014-04-05 16:56:54 -07:00
Bruce Lacey cddee26a54 Re-factored LIBRARY_VERSION to a separate Version.h file for management by the MySensors Bot. 2014-04-05 16:55:29 -07:00
TMRh20 e1aaa57172 Full Due support, maskIRQ function
- Tested and now fully functional on Arduino Due
- Added support for the extended SPI functions: brings Due performance
up to par with Due managing the CSN   pin and settings
- Corrected issues with printDetails() on Due
- Changed added variables to staticly defined types: ie: uint16_t
instead of unsigned int
- I think this will work on all ARM based boards that use the Arduino
libs
- Added maskIRQ function - to be used in RF24Network sleep mode
- Changed csn(int mode) to csn(bool mode)
- Updated GettingStarted_CallResponse.ino example: Capture start time
AFTER printing to serial so measurement is more accurate
2014-04-05 05:34:52 -06:00
TMRh20 3455e489f4 Add powerUp to begin(), increase powerUp delay
- Found I could create a hang condition on startup with some code.
a: Now power up the radio on begin() to simplify things
b: Increase delay to 5ms for powerUp, although it should only take 2ms
tops, this prevents the hanging condition.
2014-04-02 22:08:29 -06:00
Bruce Lacey fa750e8ee5 Merge pull request #11 from mysensors/update-ir-lib-feature
Update IR lib/sensor to use the latest IR_Remote fork by Chris Young
2014-04-02 06:13:33 -07:00
Henrik Ekblad e8e3ddd74b Change back the faulty pin assignement in previous pull request. 2014-04-02 09:10:55 +02:00
TMRh20 2f7e4489ba Fix: Ext. timeout hang, examples, board support
- Initial support for Due and ATTiny boards
- Fix for 0 timeout period causing hang
- Remove unnecessary delays from startWrite
- Cleaned up/Updated example files
- Optimization is nearing completion
2014-04-01 23:47:19 -06:00
Henrik Ekblad 3a2cfbcf13 Update IR lib/sensor to use the latest IR_Remote fork by Chris Young (IRLib)
https://github.com/cyborg5/IRLib
2014-04-01 22:16:22 +02:00
Henrik Ekblad e2cbbaea96 Update Sensor.cpp
Change to MySensor
2014-03-30 23:48:31 +02:00
Henrik Ekblad 8c9b23807b Create README.md 2014-03-30 23:43:22 +02:00
TMRh20 6263bccd02 Extended timeouts, txStandBy changes
- For use in noisy or low signal scenarios
- Allows user specified timeout period of extended duration
- Modified txStandBy() and writeBlocking() functions to rely on a user
defined timeout period, automatic retries and payload reUse
2014-03-29 05:29:29 -06:00
Henrik Ekblad b27735a94a Forgot to take ce(LOW). 2014-03-26 06:41:54 +01:00
Bruce Lacey 5f22ea3661 Merge pull request #9 from mysensors/ethernet-improvement-feature
Added a-lurkers proposed changes to speed up message porcessing.
2014-03-25 16:27:52 -07:00
Bruce Lacey 75fd62e9fa Merge pull request #8 from mysensors/RF24-fixes
Rf24 fixes - code looks good!
2014-03-25 16:22:51 -07:00
Henrik Ekblad 2e6eb42e5c Ack debug prints cleaned up. 2014-03-25 23:57:20 +01:00
Henrik Ekblad 04b0da5f5a Added a-lurkers proposed changes to speed up message porcessing. 2014-03-25 23:47:14 +01:00
Henrik Ekblad 990bda5990 A-lurker proposed chnage 2014-03-25 23:33:21 +01:00
Henrik Ekblad 01d06cd034 Merge pull request #7 from bblacey/RF24-isValid-patch
Added isValid() method to RF24.h as requested by andreij in http://forum...
2014-03-24 08:45:41 +01:00
Bruce Lacey 586e9c7740 Added isValid() method to RF24.h as requested by andreij in http://forum.mysensors.org/topic/6/update-rf24-library-to-latest-version#12 2014-03-23 21:24:00 -07:00
TMRh20 0ddec52563 Forgot to move startFastWrite to public
for use in wireless audio sketch, needed to move startWrite() to a
public function
2014-03-23 01:05:04 -06:00
TMRh20 1cc7454d97 txStandby() function modified completely
txStandBy() now either works in two modes. The main mode will block
until success or fail. Using txStandBy(1) will block and retry forever
until succesful. Using a while loop with the function is no longer
required. See the updated class reference at
http://tmrh20.github.io/RF24/class_r_f24.html
2014-03-22 20:32:31 -06:00
TMRh20 4340d9339a Lib now passes all tests
Added back original startWrite function for when users want to use
manual methods. The library uses startFastWrite for its internal
functions. Provides compatibility with prev. code while still using the
new methods for everything else.
2014-03-22 18:39:46 -06:00
Bruce Lacey c5661caf17 Increased the ACK_SEND_DELAY from 5 milliseconds to 10 milliseconds to resolve soft ACK timeouts. 2014-03-22 14:41:28 -07:00
Henrik Ekblad a51e025788 Removed powerUp. No longer needed. 2014-03-22 16:48:11 +01:00
Henrik Ekblad 1503004e8c Increased the startup delay after powerup. 2014-03-22 16:26:52 +01:00
Henrik Ekblad 0da770a374 Changed order. 2014-03-22 16:08:19 +01:00
Henrik Ekblad 893fbc6457 Ok, had to introduce a small delay on the ack-sensing side to let ack-recieving side have to to switch to listening mode. 2014-03-22 14:31:01 +01:00
TMRh20 f3b3fb1f44 Fix: txStandBy hang. Updated Transfer example
- txStandBy was hanging if the last of the data timed out. Now clears
the MAX_RT flag if timed out
- Finished updating example file Transfer.ino for demonstrating
half-rate transfers using the FIFO buffers
2014-03-22 01:52:22 -06:00
Bruce Lacey f44098259d A-lurkers changes that attempt to resolve the presentation message sending failures. Creating an experimentation branch for joint investigation. 2014-03-21 22:22:44 -07:00