Skald meets Eddy¶
Skald’s Eddystone implementation.
About¶
This module allows for creation and advertisement of Eddystone beacons (see https://github.com/google/eddystone).
Implementation state¶
supported:
- Eddystone-UID
- Eddystone-URL
not (yet) supported:
- Eddystone-TLM
- Eddystone-EID
-
void
skald_eddystone_uid_adv
(skald_ctx_t * ctx, const skald_eddystone_uid_t * uid, uint8_t tx_pwr)¶ Advertise Eddystone-UID data.
Parameters
ctx: advertising context uid: UID to advertise 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.
Parameters
ctx: advertising context scheme: encoded URL scheme prefix url: (short) url as \0 terminated string tx_pwr: calibrated TX power to be advertised by the beacon