Open flagadajones opened 10 years ago
Hi, sorry for the slow response.
This error indicates that the packet was not acknowledged by the other radio — perhaps it is not active, or too far away, etc. It is emitted on the stream for your open pipe, and there are a few options for dealing with it:
radio.autoRetransmit
. (You can refer to the datasheet around page 33 for details on how exactly the count
/delay
values are used.).on('error', …)
is up to you, but in a sense it's a similar situation to a broken TCP/IP connection.autoAck:false
option [I plan to document the pipe options soon]. This makes the opened pipe behave more like a UDP socket.Hope this helps?
Hi, thanks for your answer. My boths radios are active and at 10cm distance :-). the problem appear only when my arduino has serial debug active....
I'll tried your solution
Hi, When i communicate between a BeagleBoneBlack and an arduino with Serial Debug i received many "[Error: Packet timeout, transmit queue flushed.]"
how can i increase timeout value and how can i not stop receive on error?