Static and dynamic payloads now fully fixed and interoperable

This commit is contained in:
maniacbug
2011-08-02 16:30:43 -07:00
parent 4542464e0b
commit a31cafcc88
4 changed files with 31 additions and 16 deletions

3
RF24.h
View File

@@ -26,7 +26,8 @@ private:
uint8_t csn_pin; /**< SPI Chip select */
uint8_t payload_size; /**< Fixed size of payloads */
bool ack_payload_available; /**< Whether there is an ack payload waiting */
uint8_t ack_payload_length; /**< Dynamic size of pending ack payload. Note: not used. */
bool dynamic_payloads_enabled; /**< Whether dynamic payloads are enabled. */
uint8_t ack_payload_length; /**< Dynamic size of pending ack payload. */
uint64_t pipe0_reading_address; /**< Last address set on pipe 0 for reading. */
protected: