Skip to content

slipdev: wait a few instructions on receive#8258

Closed
miri64 wants to merge 1 commit intoRIOT-OS:masterfrom
miri64:slipdev/fix/wait-a-little-on-recv
Closed

slipdev: wait a few instructions on receive#8258
miri64 wants to merge 1 commit intoRIOT-OS:masterfrom
miri64:slipdev/fix/wait-a-little-on-recv

Conversation

@miri64
Copy link
Copy Markdown
Member

@miri64 miri64 commented Dec 13, 2017

Contribution description

Wait a tiny bit before fetching on slipdev the received data from the device. This fixes #8003 for me, but definitely goes into the arcane magic direction ;-).

Issues/PRs references

Fixes #8003

@miri64 miri64 added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: drivers Area: Device drivers Area: network Area: Networking labels Dec 13, 2017
@miri64 miri64 requested review from bergzand and kb2ma December 13, 2017 17:42
@jnohlgard
Copy link
Copy Markdown
Member

Is the ring buffer implementation faulty?

@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Dec 13, 2017

Might be. What I saw indicated that the packet might become out of alignment... But I was thinking about redo-ing the slipdev driver in a more ISR-safe way on the train-ride I did while opening this PR (will do that tomorrow).

@miri64
Copy link
Copy Markdown
Member Author

miri64 commented Dec 14, 2017

I think #8268 is a way cleaner approach.

@miri64 miri64 closed this Dec 14, 2017
@miri64 miri64 deleted the slipdev/fix/wait-a-little-on-recv branch December 14, 2017 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers Area: network Area: Networking Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ping fails from border router with slip

4 participants