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

Add support for directed advertising mode #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Timmmm
Copy link
Contributor

@Timmmm Timmmm commented Jul 29, 2016

Implement the directed advertising mode (just pushed to the ble repo) for nRF51. I am not sure what the original
comment saying "This requires a proper security implementation, etc." means - as far as I can tell these are the only changes needed.

I have tested this by flashing it to an nRF51-DK, and scanning for the advertising packets with the Sniffer program. It found them ok.
nRF Connect doesn't seem to find them but I assume that is an Android limitation (or maybe scans aren't meant to report directed adverts).

This commit also includes a very minor bug fix - the minimum connection interval for ADV_SCANNABLE_UNDIRECTED is 100 ms.

Implement the directed advertising mode (just pushed to the ble repo) for nRF51. I am not sure what the original
comment saying "This requires a proper security implementation, etc." means - as far as I can tell these are the only changes needed.

I have tested this by flashing it to an nRF51-DK, and scanning for the advertising packets with the Sniffer program. It found them ok.
nRF Connect doesn't seem to find them but I assume that is an Android limitation (or maybe scans aren't meant to report directed adverts).

This commit also includes a very minor bug fix - the minimum connection interval for ADV_SCANNABLE_UNDIRECTED is 100 ms.
@Timmmm
Copy link
Contributor Author

Timmmm commented Jul 29, 2016

Oh by the way there seems to be a bug, in that advertising is roughly 3 times faster the value you give (tested with Sniffer program). But I'm not too bothered about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants