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

at86rf2xx: Add manual CCA #7568

Merged
merged 1 commit into from
Sep 6, 2017
Merged

Conversation

jnohlgard
Copy link
Member

Adds a manual CCA measurement via NETOPT_IS_CHANNEL_CLR. The transceiver does not support manual CCA in RX_AACK_ON mode, so we need to switch to basic RX_ON mode before doing it.

@jnohlgard jnohlgard added Area: drivers Area: Device drivers Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Area: network Area: Networking labels Sep 5, 2017
@jnohlgard jnohlgard added this to the Release 2017.10 milestone Sep 5, 2017
Copy link
Member

@smlng smlng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested together with #7568 and spectrum scanner app. Works fine for me, output looks valid. What I did not test yet was something like: send/recv, do cca, send/recv again, specifically if running cca does not affect send/recv operations afterwards.

@miri64 can you also have a look at the NETOPT part, if that's fine for you, too.

@miri64 miri64 added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Sep 6, 2017
@miri64
Copy link
Member

miri64 commented Sep 6, 2017

Since there is no definition, just usage of a NETOPT, I'm fine :-)

@smlng
Copy link
Member

smlng commented Sep 6, 2017

just usage of a NETOPT

ah, yes ... never mind

@smlng
Copy link
Member

smlng commented Sep 6, 2017

ACK & GO

@smlng smlng merged commit 96822ff into RIOT-OS:master Sep 6, 2017
@jnohlgard jnohlgard deleted the pr/at86rf2xx-cca branch September 24, 2018 09:40
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 CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants