natevw / node-nrf

Pure-JavaScript nRF24L01 driver library
117 stars 31 forks source link

timeout #5

Open flagadajones opened 10 years ago

flagadajones commented 10 years ago

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?

natevw commented 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:

Hope this helps?

flagadajones commented 10 years ago

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