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

Lock and Unlock missing from URIBeacon2Service.h #10

Closed
schilit opened this issue Nov 29, 2014 · 1 comment
Closed

Lock and Unlock missing from URIBeacon2Service.h #10

schilit opened this issue Nov 29, 2014 · 1 comment
Assignees

Comments

@schilit
Copy link
Contributor

schilit commented Nov 29, 2014

Hi @rgrover

Lock and Unlock are missing from URIBeacon2Service.h

The Lock value should be stored in non-volatile memory. Lock value can be set to 0 to indicate unlocked, therefore Lock State can be based solely on Lock value.

A phone initiates a GATT connection, reads all characteristics including lock state. If updates are necessary it will check lock state and issue: unlock_, write+, lock_ (* optional).

The type is defined as uint128 but we are considering making uint8[] of any size. Let us know if you have a strong opinion on this.

@rgrover rgrover self-assigned this Nov 30, 2014
@rgrover
Copy link
Contributor

rgrover commented Jan 21, 2015

fixed with release 0.2.10 of BLE_API (540c8c2), and with the corresponding commit to nRF51822 (ARMmbed/ble-nrf51822@e4fab54)

Also updated mercurial repositories on mbed.org. You should be able to build from mbed.org's online compiler directly.
http://developer.mbed.org/teams/Bluetooth-Low-Energy/code/BLE_URIBeacon/

Added implementation for nrfURIBeaconConfigService, which ports the platform-agnostic URIBeaconConfigService to the nRF51822 and implements lock persistence.

@rgrover rgrover closed this as completed Jan 21, 2015
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