Skald's simple iBeacon abstraction. More...
Skald's simple iBeacon abstraction.
This Skald module supports the creation and advertisement of BLE iBeacons as defined by Apple (see https://developer.apple.com/ibeacon/).
Files | |
file | ibeacon.h |
Skald's basic interface. | |
Functions | |
void | skald_ibeacon_advertise (skald_ctx_t *ctx, const skald_uuid_t *uuid, uint16_t major, uint16_t minor, uint8_t txpower, uint32_t adv_itvl_ms) |
Configure the IBeacon payload and start advertising. | |
void skald_ibeacon_advertise | ( | skald_ctx_t * | ctx, |
const skald_uuid_t * | uuid, | ||
uint16_t | major, | ||
uint16_t | minor, | ||
uint8_t | txpower, | ||
uint32_t | adv_itvl_ms | ||
) |
Configure the IBeacon payload and start advertising.
[out] | ctx | advertising context |
[in] | uuid | UUID advertised by the iBeacon |
[in] | major | the iBeacon's major number |
[in] | minor | the iBeacon's minor number |
[in] | txpower | calibrated TX power to be advertised by the beacon |
[in] | adv_itvl_ms | advertising interval [ms] |