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
**Note:** It is also possible to use a regular scanner to interract with your Eddystone beacon but it requires
23
-
knowledge about BLE and Eddystone beacon specification out of the scope of this document.
17
+
-[nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
24
18
19
+
-[LightBlue](https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8) for iPhone.
25
20
26
21
Hardware requirements are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
27
22
28
23
## Building instructions
29
24
30
25
Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
31
26
32
-
### Working with nRF51-based 16K targets
33
-
34
-
Because of memory constraints, you can't use the SoftDevice 130 (S130) to build for nRF51-based 16K targets. If you are using these targets, then before building:
35
-
36
-
1. Open the ``config.json`` file in this sample.
37
-
1. Change ``soft device`` to ``S110``.
38
-
1. Save.
39
-
40
-
You can now build for nRF51-based 16K targets.
41
27
42
28
## Setting up the beacon
43
29
@@ -51,40 +37,66 @@ By default, the beacon directs to the url ``http://mbed.org``. You can change th
51
37
52
38
1. Build the application and install it on your board as explained in the building instructions.
53
39
54
-
1. Open the *Physical Web* application on your phone. It will start to search for nearby beacons.
40
+
1. Open the BLE scanner on your phone.
41
+
42
+
1. Start a scan.
55
43
56
-

44
+

57
45
58
-
**figure 1** Start of the *Physical Web* application version 0.1.856 on Android
46
+
**figure 1** Start of the *nRF Connect* application version 4.8.1 on Android
59
47
60
-
1. When the beacon starts up, the Configuration Service runs for 30 seconds.
48
+
1.Find your device; it should be named `EDDYSTONE CONFIG`. When the beacon starts up, the Configuration Service runs for 30 seconds.
61
49
During this time it is possible to change the URL advertised by the beacon.
62
50
It is also important to note that during these 30 seconds, your device will not advertise any URL.
63
51
64
-

52
+

53
+
54
+
**figure 2** Scan results using nRF Master Control Panel 4.8.1
55
+
56
+
57
+
1. Establish a connection with your device while it is configurable.
58
+
59
+

60
+
61
+
**figure 3** How to establish a connection using Master Control Panel 4.8.1
62
+
63
+
1. Discover the services and the characteristics on the device. The *Eddystone-URL Configuration Service* has the UUID `ee0c2080-8786-40ba-ab96-99b91ac981d8` and includes the *URI Data* characteristic which has the UUID `ee0c2085-8786-40ba-ab96-99b91ac981d8`.
64
+
65
+

66
+
67
+
**figure 4** Minimized view of services using Master Control Panel 4.8.1
68
+
69
+

70
+
71
+
**figure 5** Extended view of the *Eddystone-URL Configuration Service* using Master Control Panel 4.8.1
72
+
73
+
74
+
1. Edit the URL advertised by your beacon. You can learn more about the encoding rule [here](https://github.com/google/eddystone/blob/a52406ee6053720f78fb0c63bfc38b38e6800824/eddystone-url/README.md#eddystone-url-http-url-encoding). For this example, we can set the URL to https://www.arm.com by setting the value to `0x0161726D00`.
65
75
66
-
**figure 2** How to open the beacon configuration view using the *Physical Web* application version 0.1.856 on Android
76
+

67
77
78
+
**figure 6** How to edit characteristic value using Master Control Panel 4.8.1
68
79
69
-
1. Edit the URL advertised by your beacon.
80
+

70
81
71
-

82
+
**figure 7** Edition of the URL using Master Control Panel 4.8.1
72
83
73
-
**figure 3** How to edit the URL advertised by your beacon using the *Physical Web* application version 0.1.856 on Android
74
84
85
+
1. The URL is now set https://www.arm.com . It is mandatory to disconnect your phone from the beacon to let the beacon advertise the new URI.
75
86
76
-
1. Save the URL which will be advertised by your beacon.
87
+

77
88
78
-

89
+
**figure 8** URL updated using Master Control Panel 4.8.1.
79
90
80
-
**figure 4** How to save your beacon configuration and start advertising URL using the *Physical Web* application version 0.1.856 on Android.
91
+
1. Enter the scanner mode and start a scan to see the URL advertised by the beacon.
81
92
93
+

82
94
83
-
1. Find your device; it should advertise the URL you have set.
95
+
**figure 9** How to enter reenter in the scanner command panel using Master Control Panel 4.8.1.
84
96
85
-

97
+

86
98
87
-
**figure 5**Display of URL advertised by your beacon using the *Physical Web* application version 0.1.856 on Android.
99
+
**figure 10**Eddystone beacon advertising.
88
100
89
101
90
102
**Note:** You can use the [Eddystone Observer](https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_EddystoneObserver) sample instead of a phone application.
0 commit comments