-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rx.write Error sending reply #23
Comments
If you get a "Packet timeout, transmit queue flushed" error this means either:
This will usually be due to simple radio range trouble (try moving closer) or when developing more often this is because of a configuration mismatch (channel, data rate, address, crc length). Does that help? |
Hello Natan, thank you for your fast answer. Upppssss!!! you are right... the arduino wasn´t right set up. But... regret a lot, for taking... when I send the first message to the arduino works fine, the second message too works... but the third stops to work... the server continues running, and it seems that pass through the send method, where I put a console.log: exports.send = function(data){
console.log("I am sending. Value: " + data);
tx.write(data);
} With idea to have more info I set the _debug variable to true, and here are the results.
The second time I send:
And the third and next times I send something:
Do I need to flush a cache or something like that?? or what am I doing wrong?? |
Hello everyone (Hello Nathan... again).
I am trying make a litle test to see how nrf worls, butn I am finding any troubles. The (by the moment) principal issue is that when I try to send something through tx var, the module throw this error: Error sending reply. [Error: Packet timeout, transmit queue flushed.]
It makes me think... can I only use the tx to reply a petition from a slave (assuming that the rasp will be a master)?
Returning to the main theme, this is my code (on the wifi.js file):
And here, how I invoke the send function from the index.js:
And the printDetails:
Iwas reading about problems with the comms (arduino-rasp in my case), in this post and this other one and I think I am making everything correctly... I made this (becouse I used the c++ library):
And the printDetails is from the second running (the address on the first failed).
Thank you very much.
The text was updated successfully, but these errors were encountered: