Open HoracioDos opened 7 years ago
i am having this issue as well, i have been trying to get the ackpayload to work with zero results, has any one figured out a work around, dynamicpaylod on or off it seams i can not get it working.
I did some testing myself and got it to work in the end. isAckPayloadAvailable() seems to return False even though available() does return True when exspecting an Ack Payload. So I'd recommend just using available() for now. Mentionworthy remark that did cost me some time to debug: do not call startListening() after writing if you want to read the Ack Payload - this functions clears the buffer and the Ack Payload gets lost. Dynamic and Ack Payload works very well together on my side.
thank you this worked for me.
radio.isAckPayloadAvailable() always returns false when sending a message with dynamic payload size Sender code.
Receiver code