Skip to content

Commit 552c3ad

Browse files
authored
Merge pull request #249 from apalmieriGH/master
Update readme for BLE_HeartRate and BLE_Thermometer
2 parents 47a6534 + 6ec6682 commit 552c3ad

14 files changed

+79
-19
lines changed
45.5 KB
Loading
22.9 KB
Loading
35.6 KB
Loading
Loading
44.5 KB
Loading
47.8 KB
Loading

BLE_HeartRate/readme.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ Technical details are better presented [in the mbed Classic equivalent of this e
88

99
## Requirements
1010

11-
To see the heart rate information on your phone, use a BLE scanner:
11+
To see the heart rate information on your phone, use the BLE Profiles App by ST:
12+
13+
- [ST BLE Profile](https://play.google.com/store/apps/details?id=com.stm.bluetoothlevalidation) for Android.
14+
15+
Alternatively, use a BLE scanner:
1216

1317
- [nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
1418

@@ -22,43 +26,69 @@ Building instructions for all samples are in the [main readme](https://github.co
2226

2327
## Checking for success
2428

25-
**Note:** Screens captures depicted below show what is expected from this example if the scanner used is *nRF Master Control Panel* version 4.0.5. If you encounter any difficulties consider trying another scanner or another version of nRF Master Control Panel. Alternative scanners may require reference to their manuals.
29+
**Note:** Screens captures depicted below show what is expected from this example if the scanner used is *ST BLE Profile* version 2.0.0 or *nRF Master Control Panel* version 4.0.5. If you encounter any difficulties consider trying another scanner or another version of nRF Master Control Panel. Alternative scanners may require reference to their manuals.
2630

2731
1. Build the application and install it on your board as explained in the building instructions.
2832
1. Open the BLE scanner on your phone.
2933
1. Start a scan.
3034

35+
![](img/start_scan_ble_profile.png)
36+
37+
**figure 1.a** How to start scan using ST BLE Profile 2.0.0
38+
3139
![](img/start_scan.png)
3240

33-
**figure 1** How to start scan using nRF Master Control Panel 4.0.5
41+
**figure 1.b** How to start scan using nRF Master Control Panel 4.0.5
3442

3543
1. Find your device; it should be named `HRM`.
3644

45+
![](img/scan_result_ble_profile.png)
46+
47+
**figure 2.a** Scan results using ST BLE Profile 2.0.0
48+
3749
![](img/scan_result.png)
3850

39-
**figure 2** Scan results using nRF Master Control Panel 4.0.5
51+
**figure 2.b** Scan results using nRF Master Control Panel 4.0.5
4052

4153
1. Establish a connection with your device.
4254

55+
![](img/connection_ble_profile.png)
56+
57+
**figure 3.a** How to establish a connection using ST BLE Profile 2.0.0
58+
4359
![](img/connection.png)
4460

45-
**figure 3** How to establish a connection using Master Control Panel 4.0.5
61+
**figure 3.b** How to establish a connection using Master Control Panel 4.0.5
4662

4763
1. Discover the services and the characteristics on the device. The *Heart Rate* service has the UUID `0x180D` and includes the *Heart Rate Measurement* characteristic which has the UUID `0x2A37`.
4864

65+
![](img/discovery_ble_profile.png)
66+
67+
**figure 4.a** Representation of the Heart Rate service using ST BLE Profile 2.0.0
68+
4969
![](img/discovery.png)
5070

51-
**figure 4** Representation of the Heart Rate service using Master Control Panel 4.0.5
71+
**figure 4.b** Representation of the Heart Rate service using Master Control Panel 4.0.5
5272

5373
1. Register for the notifications sent by the *Heart Rate Measurement* characteristic.
5474

75+
![](img/register_to_notifications_ble_profile.png)
76+
77+
**figure 5.a** How to register to notifications using ST BLE Profile 2.0.0
78+
5579
![](img/register_to_notifications.png)
5680

57-
**figure 5** How to register to notifications using Master Control Panel 4.0.5
81+
**figure 5.b** How to register to notifications using Master Control Panel 4.0.5
82+
83+
84+
1. You should see the heart rate value change every half second.<br/>For ST BLE Profile, it begins at 60, goes up to 100 (in steps of 1), resets to 60 and so on.
85+
86+
![](img/notifications_ble_profile.png)
5887

88+
**figure 6.a** Notifications view using ST BLE Profile 2.0.0
5989

60-
1. You should see the heart rate value change every half second. It begins at 100, goes up to 175 (in steps of 1), resets to 100 and so on.
90+
For Master Control Panel, it begins at 100, goes up to 175 (in steps of 1), resets to 100 and so on.
6191

6292
![](img/notifications.png)
6393

64-
**figure 6** Notifications view using Master Control Panel 4.0.5
94+
**figure 6.b** Notifications view using Master Control Panel 4.0.5
34.7 KB
Loading
23.9 KB
Loading
Loading
Loading
33.5 KB
Loading
47.8 KB
Loading

BLE_Thermometer/readme.md

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ For more information see:
1818

1919
## Requirements
2020

21-
The sample application can be seen on any BLE scanner on a smartphone. If you don't have a scanner on your phone, please install :
21+
The sample application can be seen on any BLE scanner on a smartphone. If you don't have a scanner on your phone, please install the BLE Profiles App by ST:
22+
23+
- [ST BLE Profile](https://play.google.com/store/apps/details?id=com.stm.bluetoothlevalidation) for Android.
24+
25+
Alternatively, you can install:
2226

2327
- [nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
2428

@@ -32,49 +36,75 @@ Building instructions for all mbed OS samples are in the [main readme](https://g
3236

3337
## Checking for success
3438

35-
**Note:** Screens captures depicted below show what is expected from this example if the scanner used is *nRF Master Control Panel* version 4.0.5. If you encounter any difficulties consider trying another scanner or another version of nRF Master Control Panel. Alternative scanners may require reference to their manuals.
39+
**Note:** Screens captures depicted below show what is expected from this example if the scanner used is *ST BLE Profile* version 2.0.0 or *nRF Master Control Panel* version 4.0.5. If you encounter any difficulties consider trying another scanner or another version of nRF Master Control Panel. Alternative scanners may require reference to their manuals.
3640

3741
1. Build the application and install it on your board as explained in the building instructions.
3842

3943
1. Open the BLE scanner on your phone.
4044

4145
1. Start a scan.
4246

47+
![](img/start_scan_ble_profile.png)
48+
49+
**figure 1.a** How to start scan using ST BLE Profile 2.0.0
50+
4351
![](img/start_scan.png)
4452

45-
**figure 1** How to start scan using nRF Master Control Panel 4.0.5
53+
**figure 1.b** How to start scan using nRF Master Control Panel 4.0.5
4654

47-
1. Find your device; it should be named *Therm*.
55+
1. Find your device; it should be named *Therm
56+
57+
![](img/scan_results_ble_profile.png)
58+
59+
**figure 2.a** Scan results using ST BLE Profile 2.0.0
4860

4961
![](img/scan_results.png)
5062

51-
**figure 2** Scan results using nRF Master Control Panel 4.0.5
63+
**figure 2.b** Scan results using nRF Master Control Panel 4.0.5
5264

5365
1. Establish a connection with your device.
5466

67+
![](img/connection_ble_profile.png)
68+
69+
**figure 3.a** How to establish a connection using ST BLE Profile 2.0.0
70+
5571
![](img/connection.png)
5672

57-
**figure 3** How to establish a connection using Master Control Panel 4.0.5
73+
**figure 3.b** How to establish a connection using Master Control Panel 4.0.5
5874

5975

6076
1. Discover the services and the characteristics on the device. The *Health Thermometer* service has the UUID `0x1809` and includes the *Temperature Measurement* characteristic which has the UUID `0x2A1C`.
6177

78+
![](img/discovery_ble_profile.png)
79+
80+
**figure 4.a** Representation of the Heart Rate service using ST BLE Profile 2.0.0
81+
6282
![](img/discovery.png)
6383

64-
**figure 4** Representation of the Thermometer service using Master Control Panel 4.0.5
84+
**figure 4.b** Representation of the Heart Rate service using Master Control Panel 4.0.5
6585

6686

6787
1. Register for the notifications sent by the *Temperature Measurement* characteristic.
6888

89+
![](img/register_to_notifications_ble_profile.png)
90+
91+
**figure 5.a** How to register to notifications using ST BLE Profile 2.0.0
92+
6993
![](img/register_to_notifications.png)
7094

71-
**figure 5** How to register to notifications using Master Control Panel 4.0.5
95+
**figure 5.b** How to register to notifications using Master Control Panel 4.0.5
96+
97+
98+
1. You should see the temperature value change every two seconds (ST BLE Profile) or every half second (Master Control Panel).<br/>For ST BLE Profile, it begins at 36.0, goes up to 43.0 (in steps of 1), resets to 36.0 and so on.
99+
100+
![](img/notifications_ble_profile.png)
72101

102+
**figure 6.a** Notifications view using ST BLE Profile 2.0.0
73103

74-
1. You should see the temperature value change every half second. It begins at 39.6, goes up to 43.0 (in steps of 0.1), resets to 39.6 and so on.
104+
For Master Control Panel, it begins at 39.6, goes up to 43.0 (in steps of 0.1), resets to 39.6 and so on.
75105

76106
![](img/notifications.png)
77107

78-
**figure 6** Notifications view using Master Control Panel 4.0.5
108+
**figure 6.b** Notifications view using Master Control Panel 4.0.5
79109

80110

0 commit comments

Comments
 (0)