You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BLE_HeartRate/readme.md
+39-9Lines changed: 39 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,11 @@ Technical details are better presented [in the mbed Classic equivalent of this e
8
8
9
9
## Requirements
10
10
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:
12
16
13
17
-[nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
14
18
@@ -22,43 +26,69 @@ Building instructions for all samples are in the [main readme](https://github.co
22
26
23
27
## Checking for success
24
28
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.
26
30
27
31
1. Build the application and install it on your board as explained in the building instructions.
28
32
1. Open the BLE scanner on your phone.
29
33
1. Start a scan.
30
34
35
+

36
+
37
+
**figure 1.a** How to start scan using ST BLE Profile 2.0.0
38
+
31
39

32
40
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
34
42
35
43
1. Find your device; it should be named `HRM`.
36
44
45
+

46
+
47
+
**figure 2.a** Scan results using ST BLE Profile 2.0.0
48
+
37
49

38
50
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
40
52
41
53
1. Establish a connection with your device.
42
54
55
+

56
+
57
+
**figure 3.a** How to establish a connection using ST BLE Profile 2.0.0
58
+
43
59

44
60
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
46
62
47
63
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`.
48
64
65
+

66
+
67
+
**figure 4.a** Representation of the Heart Rate service using ST BLE Profile 2.0.0
68
+
49
69

50
70
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
52
72
53
73
1. Register for the notifications sent by the *Heart Rate Measurement* characteristic.
**figure 5.a** How to register to notifications using ST BLE Profile 2.0.0
78
+
55
79

56
80
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
+

58
87
88
+
**figure 6.a** Notifications view using ST BLE Profile 2.0.0
59
89
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.
61
91
62
92

63
93
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
Copy file name to clipboardExpand all lines: BLE_Thermometer/readme.md
+40-10Lines changed: 40 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,11 @@ For more information see:
18
18
19
19
## Requirements
20
20
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:
22
26
23
27
-[nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
24
28
@@ -32,49 +36,75 @@ Building instructions for all mbed OS samples are in the [main readme](https://g
32
36
33
37
## Checking for success
34
38
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.
36
40
37
41
1. Build the application and install it on your board as explained in the building instructions.
38
42
39
43
1. Open the BLE scanner on your phone.
40
44
41
45
1. Start a scan.
42
46
47
+

48
+
49
+
**figure 1.a** How to start scan using ST BLE Profile 2.0.0
50
+
43
51

44
52
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
46
54
47
-
1. Find your device; it should be named *Therm*.
55
+
1. Find your device; it should be named *Therm
56
+
57
+

58
+
59
+
**figure 2.a** Scan results using ST BLE Profile 2.0.0
48
60
49
61

50
62
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
52
64
53
65
1. Establish a connection with your device.
54
66
67
+

68
+
69
+
**figure 3.a** How to establish a connection using ST BLE Profile 2.0.0
70
+
55
71

56
72
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
58
74
59
75
60
76
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`.
61
77
78
+

79
+
80
+
**figure 4.a** Representation of the Heart Rate service using ST BLE Profile 2.0.0
81
+
62
82

63
83
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
65
85
66
86
67
87
1. Register for the notifications sent by the *Temperature Measurement* characteristic.
**figure 5.a** How to register to notifications using ST BLE Profile 2.0.0
92
+
69
93

70
94
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
+

72
101
102
+
**figure 6.a** Notifications view using ST BLE Profile 2.0.0
73
103
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.
75
105
76
106

77
107
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
0 commit comments