-
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
at86rf2xx: Add netdev get/set for modulation settings #3452
Comments
While I think this is a good idea to provide this in general, I ask myself how this would be used? By the MAC? Or the application? For the at86rf2xx we could use the upper byte of the |
The main usage would be to be able to choose between 20 kbit/s, 100 kbit/s and 250 kbit/s (for the 868 MHz band) during application design, and not having to resort to modifying upstream OS code. Currently RIOT always uses BPSK, which is the slowest mode. |
I can't answer how such feature would be used; also I assume that most people want BPSK because it has the lower error probability. But I think that I'd find it confusing to put this switch in the upper byte of the channel option. @thomaseichinger what do you fear by adding a new option to netdev? Dead code? Complexity? |
I'm just thinking loud how to do this best or better said, how to abstract properly as these are highly device dependent settings and different manufacturers may call it differently. Even on the rf231 these are called "High Data Rate Mode". But maybe this already the direction to go. |
@thomaseichinger I agree that it might be too specific to add single modulation options to netdev. I could imagine to add |
The IEEE 802.15.4 standard has a concept of channel "page" where each page is a different radio encoding. How about adding another getter/setter in the driver to change the 802.15.4 page?
would switch to O-QPSK 100 kbit/s on 868.3 MHz
would switch to O-QPSK 250 kbit/s on 914 MHz There are also a bunch of proprietary PHY modes which are not part of the 802.15.4 standard (at least on AT86RF212B), I think for the time being it is best to focus on the standard modes only. edit: The page setter would only be relevant for transceivers with support for more than one page Below is a summary of what I have gathered from the standard document IEEE-Std-802.15.4-2011
Excerpt from the standard:
|
I am working on a PR for this issue |
I need to get xtimer working properly again on mulle before I can finish the PR I talked about. |
Is there any interest in adding simultaneous support for 2.4 GHz and sub-GHz transceivers in the same binary? |
Sorry for the high latency. I think in general this should be possible, yes. |
Makes sense for me. |
closing since this was resolved by #4412 (see comments above) |
... in order to allow choosing modulation modes BPSK, O-QPSK, and sub-modes (speed), without recompiling.
See: RF212B data sheet p. 117
The text was updated successfully, but these errors were encountered: