Skald's Eddystone implementation. More...
Skald's Eddystone implementation.
This module allows for creation and advertisement of Eddystone beacons (see https://github.com/google/eddystone).
supported:
not (yet) supported:
Files | |
file | eddystone.h |
Skald's basic interface. | |
Data Structures | |
struct | skald_eddystone_uid_t |
Unique and opaque 16-byte beacon id format used by Eddystone. More... | |
Functions | |
void | skald_eddystone_uid_adv (skald_ctx_t *ctx, const skald_eddystone_uid_t *uid, uint8_t tx_pwr, uint32_t adv_itvl_ms) |
Advertise Eddystone-UID data. | |
void | skald_eddystone_url_adv (skald_ctx_t *ctx, uint8_t scheme, const char *url, uint8_t tx_pwr, uint32_t adv_itvl_ms) |
Advertise Eddystone-URL data. | |
void skald_eddystone_uid_adv | ( | skald_ctx_t * | ctx, |
const skald_eddystone_uid_t * | uid, | ||
uint8_t | tx_pwr, | ||
uint32_t | adv_itvl_ms | ||
) |
Advertise Eddystone-UID data.
[out] | ctx | advertising context |
[in] | uid | UID to advertise |
[in] | tx_pwr | calibrated TX power to be advertised by the beacon |
[in] | adv_itvl_ms | advertising interval [ms] |
void skald_eddystone_url_adv | ( | skald_ctx_t * | ctx, |
uint8_t | scheme, | ||
const char * | url, | ||
uint8_t | tx_pwr, | ||
uint32_t | adv_itvl_ms | ||
) |
Advertise Eddystone-URL data.
[out] | ctx | advertising context |
[in] | scheme | encoded URL scheme prefix |
[in] | url | (short) url as \0 terminated string |
[in] | tx_pwr | calibrated TX power to be advertised by the beacon |
[in] | adv_itvl_ms | advertising interval [ms] |