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

enableActiveScanning() #60

Closed
ghost opened this issue Jul 29, 2015 · 0 comments
Closed

enableActiveScanning() #60

ghost opened this issue Jul 29, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 29, 2015

I am trying to start by passive scanning using enableActiveScanning(false) and then later when a certain data is received in the advertisement packet start active scanning( by using enableActiveScanning(true)).

It seems it is not possible to dynamically change between active and passive scanning as once the device starts with a particular activeScanning parameters, it is not possible to change ( active to passive or passive to active) later in the code.

@rgrover rgrover closed this as completed in 4581357 Aug 7, 2015
rgrover pushed a commit that referenced this issue Aug 7, 2015
=============

This is a minor release.

Enhancements
~~~~~~~~~~~~

* Add a new helper API: Gap::updateAdvertisingPayload(). This helps update a
  particular AD field in the advertisement payload.

* Deprecate GattClient::onDataWrite() in favour of onDataWritten().

* fix #64. clearScanResponse() should work properly now.

* fix #60: if scanning parameters are changed while scanning is active, their
  new values are propagated to the underlying stack right-away.

* Introducing an initial implementation for Google's Eddystone beacon service.
  See https://github.com/google/eddystone.

* Updated module.json because URL of the host repo has changed to
  "[email protected]:ARMmbed/ble.git".

Bugfixes
~~~~~~~~

none.
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

No branches or pull requests

0 participants