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

Improve sniffer performance #15

Closed
ataffanel opened this issue Jul 14, 2017 · 1 comment
Closed

Improve sniffer performance #15

ataffanel opened this issue Jul 14, 2017 · 1 comment
Assignees

Comments

@ataffanel
Copy link
Member

Currently the sniffer implementation is not very fast and loses a lot of packets. It should be improved. There is potentially three bottleneck in the current implementation:

  • The packets are printed as ASCII using printf, this is inefficient and might take a lot of CPU time
  • The USB bandwidth might not be enough
  • We can improve the 'off' time by not calculating the received packet power when getting the timestamp.

The first two problem can be addressed by implementing a binary protocol to send the packets over USB.

Eventually we should try the double buffering functionality of the DW1000 chip, lets keep that out of scope for this ticket since it will require much more work both in this project and in the libdw1000 project.

@ataffanel
Copy link
Member Author

The binary protocol for the sniffer has been tested successfully on the field, it it fast enough to implement a TDoA received in a PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant