Skip to content

Commit b1f0398

Browse files
author
Donatien Garnier
authored
Merge branch 'master' into mbed-os-5.9.0-oob
2 parents 198a333 + 263f931 commit b1f0398

File tree

8 files changed

+535
-2
lines changed

8 files changed

+535
-2
lines changed

BLE_GAP/.mbed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ROOT=.

BLE_GattServer/BLEProcess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <stdint.h>
2121
#include <stdio.h>
2222

23-
#include "events/Eventqueue.h"
23+
#include "events/EventQueue.h"
2424
#include "platform/Callback.h"
2525
#include "platform/NonCopyable.h"
2626

BLE_GattServer/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <stdio.h>
1818

1919
#include "platform/Callback.h"
20-
#include "events/Eventqueue.h"
20+
#include "events/EventQueue.h"
2121
#include "platform/NonCopyable.h"
2222

2323
#include "ble/BLE.h"

BLE_Privacy/.mbed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ROOT=.

BLE_Privacy/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Privacy - example usage of the privacy feature
2+
3+
Demonstration of privacy features in Gap. It shows how to use private addresses when advertising and connecting and how filtering ties in with these operations.
4+
5+
The application will start by repeatedly trying to connect to the same application running on another board. It will do this by advertising and scanning for random intervals waiting until the difference in intervals between the boards will make them meet when one is advertising and the other scanning.
6+
7+
Two devices will be operating using random resolvable addresses. The application will connect to the peer and pair. It will attempt bonding and if possible create a whitelist based on the bond.
8+
9+
Subsequent connections will turn on filtering if the whitelist has been successfully created.
10+
11+
# Running the application
12+
13+
## Requirements
14+
15+
Application requires two devices. Each one should be loaded with the same example. The application will alternate between scanning and advertising until the two devices find each other and the demonstration proceeds.
16+
17+
Information about activity is printed over the serial connection - please have two clients open, each connected to a device. You may use:
18+
19+
- [Tera Term](https://ttssh2.osdn.jp/index.html.en)
20+
21+
Hardware requirements are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
22+
23+
## Building instructions
24+
25+
Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
26+
27+
Note: example currently doesn't use ST provided stack and instead uses a Cordio port for the ST.

BLE_Privacy/mbed-os.lib

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/ARMmbed/mbed-os/#35fa909641fedcad9bbe0c7300d4ccdf15a2b71a

BLE_Privacy/mbed_app.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"target_overrides": {
3+
4+
}
5+
}

0 commit comments

Comments
 (0)