Comments (7)
Privacy takes some time to setup. During that time, it is not possible to advertise otherwise you'd advertise with a non private address. The API signal to the user through a callback when privacy has been enabled and gap is ready to be used (advertising, scan, connection).
from mbed-os-example-ble.
Ah, that's quite a recent update:
I will have to update ChainableGapEventHandler
to support the new onPrivacyEnabled()
callback.
Perhaps the example should be updated in the future to explain this?
from mbed-os-example-ble.
@pan- I added changes to address this question in the future into my BLE_SM PR. See above linked issue.
from mbed-os-example-ble.
Thanks @AGlass0fMilk I believe changes where lost because it was present in https://github.com/ARMmbed/mbed-os-example-ble/pull/323/files . I missed it during the review of the example rework.
from mbed-os-example-ble.
@AGlass0fMilk thank you for raising this issue.Please take a look at the following comments:
Could you add some more detail to the description? A good description should be at least 25 words.
What target(s) are you using?
What toolchain(s) are you using?
What version of Mbed OS are you using (tag or sha)?
It would help if you could also specify the versions of any tools you are using?
How can we reproduce your issue?
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'.This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information, the issue will not be mirroredto our internal defect tracking system or investigated until this has been fully resolved.
from mbed-os-example-ble.
I have included that in the rework of examples. Unfortunately due to unfortunate timing I couldn't merge my PR until after release. Please look at the development branch of examples.
from mbed-os-example-ble.
Question has been answered and resolution is currently in the development branch, it will be in master upon next release.
from mbed-os-example-ble.
Related Issues (20)
- Bug with string in function init or in function parameter HOT 2
- Why are none of the examples using the UUID class to properly define UUIDs HOT 3
- GAP example broken for nRF52_DK in branch mbed-os-5-15 HOT 2
- BLE examples throwing up errors in MBED Studio (OS6.2) HOT 3
- BLE_GattServer does not appear to advertise its service UUID HOT 5
- BLE_HeartRate example does not work on NRF52_DK HOT 9
- missing file: pretty_printer.h on example mbed-os-6.5.0 HOT 24
- BLE_GattServer_AddService does not work on NRF52-DK HOT 15
- Lack of usable BLE documentation HOT 17
- Mbed CLI 2 not linking BlueNrg HCI drivers HOT 4
- Periodic advertisement example issue on WB55 HOT 9
- Relying on event queue seems to be a really bad idea HOT 3
- Missing examples for reusable services HOT 19
- Some examples don't expose their list of services HOT 7
- BLE_Advertising example stack overflow nRF52 if debugging with MBED_TICKLESS is set HOT 4
- mbed-tools.exe does not clone mbed-os-ble-utils for BLE_SupportedFeatures HOT 1
- Definition of 'GattServer' device to search for HOT 3
- How to change component to "BlueNRG_2" from "BlueNRG_MS"
- Not working for CY8CKIT_062_BLE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbed-os-example-ble.