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
* Improve events provided by cross-platform interop code to surface more events to the custom app implementation. Based on these improvements, the UWP example app now again correctly displays status and error messages.
* Adds BeaconAdded event to the BeaconManager class
* Updated sample code to also include handling Proximity Beacon frames (iBeacon compatible)
* UWP Sample app handles additional Bluetooth error status codes
Copy file name to clipboardExpand all lines: README.md
+57-52Lines changed: 57 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,18 +57,22 @@ Note: for using Apple iBeacon technology in your services (in order to make your
57
57
- Eddystone URL frame:
58
58
- Ranging data
59
59
- Complete URL
60
-
- Frames comparable to the Apple iBeacon format
60
+
- Proximity Beacon Frames (comparable to the Apple iBeacon format)
61
+
- Uuid
62
+
- Major ID
63
+
- Minor ID
61
64
- Raw payload for all other beacons
62
65
63
66
64
67
65
-
## Windows 10 Example App
68
+
## Example Apps
66
69
67
-
The included Windows 10 example app continuously scans for Bluetooth LE advertisements. It associates these with known or new Bluetooth MAC addresses to identify beacons. The individual advertisement frames are then parsed for known frame types - which are currently the three frame types defined by the Eddystone beacon format by Google.
70
+
The included example apps continuously scan for Bluetooth LE advertisements. They associate these with known or new Bluetooth MAC addresses to identify beacons. The individual advertisement frames are then parsed for known frame types - which are currently the three frame types defined by the Eddystone beacon format by Google, as well as Proximity Beacon frames (compatible to iBeacons).
68
71
69
-
The app has been tested on Windows 10 tablets and phones and requires Bluetooth LE (BLE) capable hardware. Make sure your device has Bluetooth activated (in Windows settings and also in hardware in case your device allows turning off bluetooth using a key combination) and is not in airplane mode.
72
+
The example app comes in two versions:
70
73
71
-
Download and test the example app from the Windows 10 store: https://www.microsoft.com/store/apps/9NBLGGH1Z24K
74
+
1. WindowsBeacons: Universal Windows app (UWP) called Bluetooth Beacon Interactor. The app has been tested on Windows 10 tablets and phones and requires Bluetooth LE (BLE) capable hardware. Make sure your device has Bluetooth activated (in Windows settings and also in hardware in case your device allows turning off bluetooth using a key combination) and is not in airplane mode. Download and test the example app from the Windows 10 store: https://www.microsoft.com/store/apps/9NBLGGH1Z24K
75
+
2. UniversalBeacon: Cross-Platform implementation with Xamarin. Core part in UniversalBeacon.Sample project. Platform-specific implementations in UniversalBeacon.Sample.Android and UniversalBeacon.Sample.UWP. iOS version is coming later. The Xamarin sample apps currently have a simpler UI than the UWP sample app.
72
76
73
77
74
78
### Permissions and Privacy Settings in Windows 10
@@ -83,7 +87,7 @@ To allow apps to receive data from Bluetooth Beacons, you have to ensure Windows
83
87
84
88
## Usage example (C#)
85
89
86
-
### Registering for beacons and handling the data
90
+
### Registering for beacons and handling the data (C#, UWP)
87
91
88
92
```csharp
89
93
publicsealedpartialclassMainPage : Page
@@ -97,55 +101,50 @@ public sealed partial class MainPage : Page
97
101
{
98
102
// [...]
99
103
// Construct the Universal Bluetooth Beacon manager
100
-
_beaconManager=newBeaconManager();
101
-
102
-
// Create & start the Bluetooth LE watcher from the Windows 10 UWP
@@ -156,7 +155,7 @@ public sealed partial class MainPage : Page
156
155
157
156
## Availability
158
157
159
-
The Universal Beacon Library is available in C# and includes a dependency to .NETCore the Universal Windows Platform (UWP / UAP) for Windows 10 to directly work with received advertisement packets from the Windows Bluetooth API. The library can therefore be used in applications targeting Windows 10 with support for Bluetooth Low Energy / LE (BLE).
158
+
The Core Universal Beacon Library is available in C# for .NET Standard 1.3 - it is therefore compatible to Windows UWP, Xamarin (Android / iOS / UWP / Mac / Linux) and other platforms supported by .NET Standard. Extension libraries are currently included for UWP and Xamarin/Android to interface with the platform Bluetooth APIs.
160
159
161
160
To keep up to date, either watch this project or [follow me on Twitter](https://twitter.com/andijakl).
162
161
@@ -173,13 +172,19 @@ If you want to use the Universal Beacon Library from your own app, the easiest o
173
172
174
173
Alternatively, use the NuGet Package Manager console as described here: https://www.nuget.org/packages/UniversalBeaconLibrary
175
174
176
-
To try the Windows 10 example app, download the complete library package from this site.
175
+
To try the Xamarin (Android / UWP) or Windows 10 (UWP) example apps, download the complete library package from this site.
177
176
178
177
179
178
180
179
## Version History
181
180
182
-
### 3.0.0 - August 2017, coming soon!
181
+
### 3.1.0 - August 2017
182
+
* Improve events provided by cross-platform interop code to surface more events to the custom app implementation. Based on these improvements, the UWP example app now again correctly displays status and error messages.
183
+
* Adds BeaconAdded event to the BeaconManager class
184
+
* Updated sample code to also include handling Proximity Beacon frames (iBeacon compatible)
185
+
* UWP Sample app handles additional Bluetooth error status codes
186
+
187
+
### 3.0.0 - August 2017
183
188
* Port from UWP to .NET Standard 1.3, for cross platform compatibility to Windows, Linux, Mac and Xamarin (iOS, Android)
184
189
* Library split into core .NET Standard library, plus platform extension libraries for Android and UWP
0 commit comments