oniongarlic / btlebeacon

BLE Eddystone URL Advertising, compact C implementation

Home Page:https://www.tal.org/projects/bluetooth-beacon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Linux Eddystone Beacon

A tiny Eddystone beacon for Linux, in pure C. It supports broadcasting of URL, UID and TLM Eddystone frames.

See https://github.com/google/eddystone/ for details about Eddystone.

Building

The only dependency at this time is bluetooth headers and library

Todo/Bugs/Features:

  • NID and BID are used as strings, add support for hex input
  • NID and BID defaults to 0123456789 ABCDEF
  • UID can not be set
  • Add AltBeacon
  • Add iBeacon

Bluetooth LE requires root or capabilities set:

  • Run "make setcap" to set capabilities flags on the binary so sudo/root is not needed

Usage:

  • ./beacon url [NID BID]

Examples:

About

BLE Eddystone URL Advertising, compact C implementation

https://www.tal.org/projects/bluetooth-beacon


Languages

Language:C 97.8%Language:Makefile 2.2%