AltBeacon program for embedded BLE. This program demonstrates how to set up a BLE device to broadcast AltBLE compatible data. Please see the official website for more details. https://github.com/AltBeacon/spec and http://altbeacon.org/

Dependencies:   BLE_API mbed nRF51822

Fork of BLE_AltBeacon by Austin Blackstone

Embed: (wiki syntax)

« Back to documentation index

AltBeaconService Class Reference

AltBeaconService Class Reference

AltBeacon Service. More...

#include <AltBeaconService.h>

Public Member Functions

 AltBeaconService (BLE &_ble, uint16_t mfgID, uint8_t beaconID[20], int8_t refRSSI, uint8_t mfgReserved=0x00)

Detailed Description

AltBeacon Service.

This service sets up a device to broadcast advertising packets to mimic an AltBeacon

Definition at line 26 of file AltBeaconService.h.


Constructor & Destructor Documentation

AltBeaconService ( BLE &  _ble,
uint16_t  mfgID,
uint8_t  beaconID[20],
int8_t  refRSSI,
uint8_t  mfgReserved = 0x00 
)
Parameters:
[in]_bleBLE object for the underlying controller.
[in]mfgIDThe beacon device manufacturer's company identifier code. Usually this will coorespond to the companies BLE SIG assigned number.
[in]beaconIDA 20-byte value uniquely identifying the beacon. The big endian representation of the beacon identifier. For interoperability purposes, the first 16+ bytes of the beacon identifier should be unique to the advertiser's organizational unit. Any remaining bytes of the beacon identifier may be subdivided as needed for the use case.
[in]refRSSIThe RSSI of the beacon (as signed value from 0 to -127) as measured 1 meter from the device. Used for micro-location.
[in]mfgReservedUsed for special manufacturer data. Defaults to 0x00 if not specified.

Definition at line 46 of file AltBeaconService.h.