-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Extended radio api and AT86RF231 implementation #2562
Conversation
Note that this enhanced driver has been tested with success on FIT IoT-LAB's M3 nodes. |
How do I test this? Can I use the rpl_udp example? Do I need any particular commands in the rpl shell? |
A new 'sfdcnt' shell command has been added in the shell ( |
#include "transceiver.h" | ||
#include "hwtimer.h" | ||
#include "config.h" | ||
|
||
#define ENABLE_DEBUG (0) | ||
#define ENABLE_DEBUG (1) |
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.
should stay disabled by default
Since @thomaseichinger is woring on the driver, too, I guess it makes sense if he reviews. |
9900152
to
a4df911
Compare
9f184dd
to
45554bf
Compare
34c4fd0
to
7544635
Compare
7544635
to
5d927ad
Compare
5d927ad
to
a3d8147
Compare
@rousselk @haukepetersen @bapclenet does it make sense to keep this PR open? |
(just because of #2825) |
For some reason I was un-aware of this PR. As far as I see it, it contains some functionality that is not included in the remodeled ng_at.. driver. So I say lets keep this open and try to merge the functionality to the new driver. |
@rousselk, do you think you will have time to adapt your changes to the new at86rf2xx driver? Or should someone else do it. |
5432031
to
65c548f
Compare
65c548f
to
38d3771
Compare
38d3771
to
826d292
Compare
@bapclenet, @daniel-k, @thomaseichinger, any volunteers to port these changes to the new driver? |
I'm too busy right now. Maybe sometime later if these features proof useful to me, but I need to get other things done at the moment, sorry. |
The same as daniel-k, I'm too busy at the moment, I hope I will be able to work on RIOT soon. |
I have just upgraded to current RIOT codebase (from 2014.12 release !). |
Great! Thank you @rousselk |
This PR completes the implementation of the AT86RF231 radio driver; the latter now implements all of the
netdev_802154_driver_t
features (that were until now only implemented as stubs), and adds some new options to this interface:NETDEV_OPT_CAN_MONITOR
indicates whether the transceiver can go into "monitor" (a.k.a.: "promiscuous") mode;NETDEV_OPT_CCA_THRESHOLD
for getting or setting the threshold value that is used by a transceiver to determine if radio channel is busy (CCA);NETDEV_OPT_SFD_COUNT
for getting and resetting the number of SFDs (start of frame delimiters) detected by the transceiver: I think it is a good indicator to help estimate the traffic on the radio medium;The two last options are planned to be used in future MAC protocol implementations.