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) |
Advertise Eddystone-UID data. More... | |
void | skald_eddystone_url_adv (skald_ctx_t *ctx, uint8_t scheme, const char *url, uint8_t tx_pwr) |
Advertise Eddystone-URL data. More... | |
void skald_eddystone_uid_adv | ( | skald_ctx_t * | ctx, |
const skald_eddystone_uid_t * | uid, | ||
uint8_t | tx_pwr | ||
) |
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 |
void skald_eddystone_url_adv | ( | skald_ctx_t * | ctx, |
uint8_t | scheme, | ||
const char * | url, | ||
uint8_t | tx_pwr | ||
) |
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 |