1. 30 Apr, 2014 4 commits
  2. 26 Apr, 2014 1 commit
    • TMRh20's avatar
      RPi SPI functionality and RPi fix for startWrite · 6530f954
      TMRh20 authored
      - Enabled use of hardware CS1 pin
      - Removed custom_cs code for software driven CSN
      - Modified BCM driver to allow use of hardware SPI pins not in use while
      SPI is active.
      - Updated constructor in examples
      6530f954
  3. 24 Apr, 2014 2 commits
  4. 23 Apr, 2014 1 commit
  5. 22 Apr, 2014 1 commit
  6. 15 Apr, 2014 1 commit
  7. 11 Apr, 2014 1 commit
  8. 10 Apr, 2014 2 commits
    • TMRh20's avatar
      Revert powerUp() delay to 5ms delay · 18583123
      TMRh20 authored
      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
      18583123
    • TMRh20's avatar
      enableDynamicAck(), Single NOACK, default RT, · 92a19af8
      TMRh20 authored
      - 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
      92a19af8
  9. 09 Apr, 2014 1 commit
  10. 08 Apr, 2014 3 commits
    • TMRh20's avatar
      Merge pull request #1 from zephyrr/master · 8077f56a
      TMRh20 authored
      Merge improved write_payload() and read_payload()  - looks good and passes my testing.
      8077f56a
    • zephyrr's avatar
      Revamped write_payload() and read_payload() · 84146a17
      zephyrr authored
      Restructured based on needing or not needing blank padding
      84146a17
    • TMRh20's avatar
      Fix: Due write() issues. · afdb084d
      TMRh20 authored
      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
      afdb084d
  11. 06 Apr, 2014 1 commit
    • TMRh20's avatar
      Fix: Missing byte with due RX · d28323aa
      TMRh20 authored
      - SPI transfer fix to read every available byte in the payload with
      payloads less than 32 bytes with dynamic payload size disabled.
      d28323aa
  12. 05 Apr, 2014 1 commit
    • TMRh20's avatar
      Full Due support, maskIRQ function · e1aaa571
      TMRh20 authored
      - 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
      e1aaa571
  13. 03 Apr, 2014 1 commit
    • TMRh20's avatar
      Add powerUp to begin(), increase powerUp delay · 3455e489
      TMRh20 authored
      - 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.
      3455e489
  14. 02 Apr, 2014 1 commit
    • TMRh20's avatar
      Fix: Ext. timeout hang, examples, board support · 2f7e4489
      TMRh20 authored
      - 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
      2f7e4489
  15. 29 Mar, 2014 1 commit
    • TMRh20's avatar
      Extended timeouts, txStandBy changes · 6263bccd
      TMRh20 authored
      - 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
      6263bccd
  16. 23 Mar, 2014 3 commits
    • TMRh20's avatar
      Forgot to move startFastWrite to public · 0ddec525
      TMRh20 authored
      for use in wireless audio sketch, needed to move startWrite() to a
      public function
      0ddec525
    • TMRh20's avatar
      txStandby() function modified completely · 1cc7454d
      TMRh20 authored
      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
      1cc7454d
    • TMRh20's avatar
      Lib now passes all tests · 4340d933
      TMRh20 authored
      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.
      4340d933
  17. 22 Mar, 2014 1 commit
    • TMRh20's avatar
      Fix: txStandBy hang. Updated Transfer example · f3b3fb1f
      TMRh20 authored
      - 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
      f3b3fb1f
  18. 20 Mar, 2014 5 commits
  19. 19 Mar, 2014 4 commits
    • TMRh20's avatar
      Inspired idea to change TX standby code · 1e2f41c3
      TMRh20 authored
      Realised that data would be lost if dropping to standby or power down
      mode before the FIFO is empty.
      txStandby now returns a boolean value to indicate whether the
      transmission is complete. If there is data in the TX FIFO the radio will
      not drop out of TX mode. eg: while(  !txStandBy()  ){}
      1e2f41c3
    • TMRh20's avatar
      - Slight modification to reUseTX cmd · 77b1e2c1
      TMRh20 authored
      - put the CE HIGH, LOW changes in the cmd for non-internal use
      - Put the clearing of MAX_RT in the reUse cmd for non-internal use
      - Removed unneeded delay from writeBlocking()
      77b1e2c1
    • TMRh20's avatar
      Added writeFast() cmd - fill FIFO or return 0 · 281ace4b
      TMRh20 authored
      - WriteFast allows the FIFO buffers to be filled up before returning 0
      - The current payload will be dropped, and the previous payload resent
      - The user should just keep trying to send the same data if a 0 is
      received
      281ace4b
    • TMRh20's avatar
      Changed writing modes · d0ec0c46
      TMRh20 authored
      - Changed writeClear to the default radio.write() option
      - Changed write() to writeBlock() - uses the auto-retry functionality of
      the chip and will block forever until successful
      d0ec0c46
  20. 18 Mar, 2014 2 commits
    • TMRh20's avatar
      Update readme temporarily · dfc75db8
      TMRh20 authored
      - advisory of non-compliance with current documentation
      dfc75db8
    • TMRh20's avatar
      High Speed Data Transfers/Optimization · 4cf0fb0c
      TMRh20 authored
      Changes:
      
      - Enable PTX at radio begin, in standby-I mode
      - Enable PTX at radio stopListening(); in standy-I mode
      
      - Radio startListening
      - removed delay. What is there to wait for when the radio will just be
      listening anyway?
      
      - Radio powerUp
      - radio will need to be powered up after configuration
      - radio will not power down unless instructed to
      - need to issue radio.txStandBy(); when finished transmitting to engage
      standby-I mode
      
      - Added txStandBy() to drop to standBy-I mode if not switching to RX
      mode
      
      - Radio Write: Sped up
      - radio previously did not use standby mode effectively, after TX
      sending of each packet, the radio is
      powered down introducing a 1.5ms delay in addition to the 130us delay
      from standby.
      - No observe-tx code, a simple NOP cmd is sent to get the status info
      - No millis() timeout, hanging condition should only occur because of
      faulty code
      - Simplified whatHappened() code
      - Flush TX FIFO if MAX_RT met as lib does not support re-transmit
      instead of flush every time.
      - Remove ack size monitoring
      - No powerdown needed,
      
      - Added writeClear() function for writes that need the interrupt flags
      cleared (ack payloads, etc). Same as write() otherwise
      
      - Radio startWrite: Sped up
      - Enable PTX mode is now done in stopListening() code. Enter TX mode by
      writing CE high.
      This brings the data transfer capabilities up to a reasonable level
      - No need to power up, already in Standby-I mode
      - No need for delayMicroseconds() in write functon.
      - No need for delay after writing CE high
      - Does not enter Standby-I mode be default. It is up to the MCU to call
      the new txStandBy() function to enter standby-I mode from PTX if not
      switching back to PRX
      
      - Radio available:
      - Now checks the FIFO buffer instead of the interrupt flag (no missed
      data)
      - Moved clearing of interrupt flags to Read()
      
      - Radio read:
      - No longer returns any value - use available to check for more data
      
      - Radio isAckPayloadAvailable() now checks the FIFO directly
      
      - Radio getDynamicPayloadSize() - Per the datasheet, added fix to flush
      corrupted packets
      4cf0fb0c
  21. 03 Oct, 2013 1 commit
  22. 13 Jul, 2013 1 commit
  23. 07 Feb, 2013 1 commit