User Tools

Site Tools


projects:crazyradio:python_lib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:crazyradio:python_lib [2015-08-06 12:06]
arnaud [Crazyradio]
projects:crazyradio:python_lib [2015-08-06 12:17]
arnaud [Theory of operation]
Line 18: Line 18:
 </code> </code>
  
-Ths is an example on how to use the lib:+This is an example on how to use the lib:
  
 <code python> <code python>
Line 117: Line 117:
 ^ Name        | ''send_packet'' | ^ Name        | ''send_packet'' |
 ^ Parameters  | (list or tuple) dataOut | ^ Parameters  | (list or tuple) dataOut |
-^ Returns     | (_radio_ack) Ack status | +^ Returns     | ([[#_radio_ack|_radio_ack]]) Ack status | 
-^ Description | Sends the packet //dataOut// on the configured channel and datarate. Waits for an ack and returns a __radio_ack object that contains the ack status and optional ack payload data. |+^ Description | Sends the packet //dataOut// on the configured channel and datarate. Waits for an ack and returns a _radio_ack object that contains the ack status and optional ack payload data. |
 ==== _radio_ack ==== ==== _radio_ack ====
  
 === Fields === === Fields ===
 +
 +^ (bool) ack | At ''True'' if an Ack packet has been receive (ie. if the packet was received by the device) |
 +^ (bool) powerDet | Indicate the nRF24LU1 power detector status. See nRF24LU1 documentation for more information. |
 +^ (int) retry | Number of retry before an ack was received |
 +^ (tuple) data | Data payload received in the Ack packet |
  
 === Methods === === Methods ===
  
 +None
  
  
  
projects/crazyradio/python_lib.txt · Last modified: 2020-05-12 14:15 by kimberly