View Source BlueHeron.AdvertisingData.IBeacon (blue_heron v0.5.4)

Handles creating Apple IBeacon packets

Summary

Functions

Create a IBeacon packet.

Functions

new(uuid, major, minor, tx_power)

@spec new(binary(), 0..65535, 0..65535, -128..127) :: binary()

Create a IBeacon packet.

  • UUID - 128 bit binary
  • major and minor - a 16 bit identifier
  • tx power - calibrated signal strength measured 1 meter away from the device. Helps estimate proximity.