-
Notifications
You must be signed in to change notification settings - Fork 2.1k
drivers/ng_at86rf2xx: initial commit of refactoring #2650
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
Conversation
CAUTION: This is not meant to be merged. This is a prototype of the refactored driver for at86rf2xx drivers intended to provide a basis to enhance for specific models and implements the ng_netdev_t interface to use with ng_* network stack.
|
||
/* busy wait for TRX_OFF state */ | ||
do { | ||
int delay = _MAX_RETRIES; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
compare #2704
9f184dd
to
45554bf
Compare
@everyone: I will take the taken for this driver. I already started to refactor it and stumbled upon some design flaws. I hope I will be able to post an updated PR next week. |
@haukepetersen, are you going to work on the implementation of 231, 233 and 212b within this new driver as well? |
@bapclenet I just started to look into the driver and basically refactored it to some more stable structure so far. Once I have it stable working (I plan to have this in the next days), I will also look into the variants other than the 231 -> here I will need help! So how about we do it this way: I PR my changes as soon as I have them ready and we have then a discussion on top of that code how we best extend it for the other variants?! |
@haukepetersen, sounds great! |
I'll let you know :-) |
@haukepetersen, Is that your working branch? |
I continued this work in #2825, so I take the freedom to close this PR. |
CAUTION: This is not meant to be merged.
This is a prototype of the refactored driver for at86rf2xx drivers
intended to provide a basis to be enhanced for specific models and
implements the
ng_netdev_t
interface to use with ng_* network stack.Will need special attention for the sending and receiving part and also
to improve code capsulation for usage for specialised drivers.
I will have only limited time to work on this in the near future, so feel free
to take it and improve/finish it.