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

Modes: UriBeacon and UriBeaconConfig #15

Closed
schilit opened this issue Nov 29, 2014 · 3 comments
Closed

Modes: UriBeacon and UriBeaconConfig #15

schilit opened this issue Nov 29, 2014 · 3 comments
Assignees

Comments

@schilit
Copy link
Contributor

schilit commented Nov 29, 2014

Hi @rgrover

Devices implementing UriBeacon have modes:

  1. UriBeacon ADV mode. Where they emit the UriBeacon
  2. Config ADV mode. Where they emit an ADV packet for the config servicebut if no connection is made in N seconds (30) then they revert to mode 1.

On the CSR and nRF51 we've been using hardware button press to move devices into Config mode.

Any thoughts on how this would work on mbed?

@rgrover
Copy link
Contributor

rgrover commented Nov 29, 2014

I'll have to look into APIs for purging GATT database if we're alternate between having a config service and having only advertisements.

@schilit
Copy link
Contributor Author

schilit commented Nov 29, 2014

An example switching between modes using nRF51 SDK is here in main.c

@rgrover
Copy link
Contributor

rgrover commented Dec 2, 2014

It is possible to purge the GATT database. Will work on this shortly.

@rgrover rgrover closed this as completed in 7e9f9a0 Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants