All Projects → huysentruitw → win-beacon

huysentruitw / win-beacon

Licence: MIT license
Managed BT stack for Windows able to detect and act as an iBeacon.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to win-beacon

PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (-16.33%)
Mutual labels:  bluetooth-beacons, ibeacon, beacon
iBeacon-Android
iBeacon scanner and simulator - Android application example
Stars: ✭ 28 (-42.86%)
Mutual labels:  ibeacon, beacon
react-native-ibeacon-simulator
Simulate device act as an iBeacon, or transmit as an iBeacon signal from your phone
Stars: ✭ 48 (-2.04%)
Mutual labels:  ibeacon, beacon
Android Sdk
Beaconstac ADVANCED SDK for Android devices
Stars: ✭ 18 (-63.27%)
Mutual labels:  ibeacon, beacon
ios
CoThings's iOS application. CoThings is a realtime counter for shared things.
Stars: ✭ 13 (-73.47%)
Mutual labels:  ibeacon, beacon
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (+248.98%)
Mutual labels:  ibeacon, beacon
React Native Beacons Manager
React-Native library for detecting beacons (iOS and Android)
Stars: ✭ 467 (+853.06%)
Mutual labels:  ibeacon, beacon
React Native Ibeacons
React Native library for detecting beacons (iOS and Android)
Stars: ✭ 9 (-81.63%)
Mutual labels:  ibeacon, beacon
React Native Kontaktio
React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
Stars: ✭ 87 (+77.55%)
Mutual labels:  ibeacon, beacon
Luch
Small and easy to use Android library for BLE beacon monitoring
Stars: ✭ 55 (+12.24%)
Mutual labels:  ibeacon, beacon
Awesome Cobaltstrike Defence
Defences against Cobalt Strike
Stars: ✭ 507 (+934.69%)
Mutual labels:  detection, beacon
eddystone-url-calculator
This a javascript single page app that generates the Linux commands for broadcasting a URL as a Eddystone URL beacon.
Stars: ✭ 54 (+10.2%)
Mutual labels:  eddystone, beacon
Abnormal-behavior-Detection
Abnormal behavior detection in the video surveillance based on yolo darknet
Stars: ✭ 35 (-28.57%)
Mutual labels:  detection
colorchecker-detection
Multiple ColorChecker Detection. This code implements a multiple colorChecker detection method, as described in the paper Fast and Robust Multiple ColorChecker Detection.
Stars: ✭ 51 (+4.08%)
Mutual labels:  detection
QuakeMigrate
A Python package for automatic earthquake detection and location using waveform migration and stacking.
Stars: ✭ 101 (+106.12%)
Mutual labels:  detection
Shadowless
A Fast and Open Source Autonomous Perception System.
Stars: ✭ 29 (-40.82%)
Mutual labels:  detection
R-CNN LIGHT
Regional-Convolution Neural Network for blink detection based on contouring.
Stars: ✭ 66 (+34.69%)
Mutual labels:  detection
DNSWho
transmit cs beacon (shellcode) over self-made dns to avoid anti-kill and AV
Stars: ✭ 47 (-4.08%)
Mutual labels:  beacon
Triton
🐳 Scripps Whale Acoustics Lab 🌎 Scripps Acoustic Ecology Lab - Triton with remoras in development
Stars: ✭ 25 (-48.98%)
Mutual labels:  detection
yolov5 obb
yolov5 + csl_label.(Oriented Object Detection)(Rotation Detection)(Rotated BBox)基于yolov5的旋转目标检测
Stars: ✭ 1,105 (+2155.1%)
Mutual labels:  detection

WinBeacon

Build status

Overview

WinBeacon is a managed .NET (C#) library with a minimal Bluetooth LE Stack that is able to detect and act as iBeacon¹ and Eddystone. This stack doesn't support BLE devices, only the detection and transmission of BLE advertisement packets used by beacons.

Supported operating systems

  • Windows XP (not tested, but it should work)
  • Windows 7
  • Windows 8
  • Windows 10*

* For Windows 10, you should be able to use BluetoothLEAdvertisementWatcher instead of this library.

Supported BT4.0 LE dongles

Manufacturer Product Chipset VID / PID Compatible
ASUS USB-BT400 BCM20702A0 VID_0B05 PID_17CB Yes
Belkin Mini Bluetooth 4.0 Adapter Class 2.10M BCM20702A0 VID_050D PID_065A Yes
Pluggable USB Bluetooth 4.0 Low Energy Micro Adapter BCM20702A0 VID_0A5C PID_21E8 Yes
CSR USB Bluetooth 4.0 CSR8510 VID_0A12 PID_0001 Yes

If anyone can test with other BT4.0 dongle types, please let me know how it works out or send us a pull request.

Installation

This library needs raw USB access to a BT4.0 dongle. Therefore you should replace the original driver of the dongle with a WinUSB driver. This also means that the default Bluetooth stack is no longer used and Windows will no longer detect the dongle as a Bluetooth dongle until you re-install the original drivers.

To replace or create a WinUSB driver for the BT4.0 dongle, we advise you to use the Zadig tool.

Get it on NuGet

Install-Package WinBeacon

Usage

Detecting beacons

using (var hub = new Hub(0x050D, 0x065A))
{
    hub.BeaconDetected += (sender, e) =>
		{
			Console.WriteLine("Detected beacon: {0}", e.Beacon);
		};
    Console.ReadKey();
}

Advertise as a beacon

using (var hub = new Hub(0x050D, 0x065A))
{
    hub.EnableAdvertising(new Beacon("B9407F30-F5F8-466E-AFF9-25556B57FE6D", 1000, 2000, -52));
    Console.ReadKey();
}

Detecting Eddystone

Currently only the detection of Eddystone UID and URL is supported.

using (var hub = new Hub(0x050D, 0x065A))
{
	hub.EddystoneDetected += (sender, e) =>
		{
			switch (e.Eddystone)
			{
				case EddystoneUid eddystoneUid:
					Console.WriteLine($"Eddystone UID: {eddystoneUid}");
					break;
				case EddystoneUrl eddystoneUrl:
					Console.WriteLine($"Eddystone URL: {eddystoneUrl}");
					break;
			}
		};
	Console.ReadKey();
}

¹ iBeacon is a trademark of Apple inc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].