29 Mar
2016
29 Mar
'16
3:44 p.m.
- # catching ack
- ack = _rawrecv(radio, 1)
- # get the whole block
- block = _rawrecv(radio, BLOCK_SIZE + 5)
It's not terrible to read just the ack, especially if you could get back a NAK and need to notice immediately. However, unless you were going to retry I think reading the ack and the block in one go is better anyway.
I will apply this when you guys say I should.
--Dan