Skip to content
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

Downlink on BLE links only sends the first couple of packets and discards everything else #81

Closed
glennvdw opened this issue Nov 15, 2015 · 6 comments
Milestone

Comments

@glennvdw
Copy link

When connecting to the crazyflie 2.0 not all DEBUG_PRINT(..) console messages are actually received at the client side.. only the first 20 or so data packets are sent by the crazyflie

I added in worker.c inside the infinite loop, right before xQueueReceive the following code

consolePuts("I will not reach the client..");
consoleFlush();

This results in an infinite amount of received strings when using a USB link but it does not work on BLE links. The buffer is never flushed and gets full I assume..

I used the official iOS app as a starting point for the client code.

@ataffanel
Copy link
Member

This looks like an old bug that was since fixed, did you upgrade your Crazyflie with the latest firmware?

@glennvdw
Copy link
Author

The nrf51 was updated using the iOS app. For the stm32 I tried lots of different versions. Currently running the latest commit on this repo.

This person seems to have reported the same problem about a month ago: https://forum.bitcraze.io/viewtopic.php?t=1700

@glennvdw
Copy link
Author

Which version do you recall to be definitely working?

@ataffanel
Copy link
Member

When pushing this change: bitcraze/crazyflie2-nrf-firmware@f190598 the downlink was working (at least I got the full console at startup). I cannot test with the iOS app right now but I am going to implement the downlink in the Android App.

@ataffanel
Copy link
Member

I could reproduce the problem and made a ticket in the NRF firmware (the bug is in the NRF51). I am looking at it.

@ataffanel
Copy link
Member

Fixed in bitcraze/crazyflie2-nrf-firmware#10.

@krichardsson krichardsson added this to the 2016.02 milestone Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants