Skald's Eddystone implementation. More...

Detailed Description

Skald's Eddystone implementation.

About

This module allows for creation and advertisement of Eddystone beacons (see https://github.com/google/eddystone).

Implementation state

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...
 

Function Documentation

◆ skald_eddystone_uid_adv()

void skald_eddystone_uid_adv ( skald_ctx_t ctx,
const skald_eddystone_uid_t uid,
uint8_t  tx_pwr 
)

Advertise Eddystone-UID data.

See also
https://github.com/google/eddystone/tree/master/eddystone-uid
Parameters
[out]ctxadvertising context
[in]uidUID to advertise
[in]tx_pwrcalibrated TX power to be advertised by the beacon

◆ skald_eddystone_url_adv()

void skald_eddystone_url_adv ( skald_ctx_t ctx,
uint8_t  scheme,
const char *  url,
uint8_t  tx_pwr 
)

Advertise Eddystone-URL data.

See also
https://github.com/google/eddystone/tree/master/eddystone-url
Parameters
[out]ctxadvertising context
[in]schemeencoded URL scheme prefix
[in]url(short) url as \0 terminated string
[in]tx_pwrcalibrated TX power to be advertised by the beacon