Loading...
Searching...
No Matches

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

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,
uint32_t  adv_itvl_ms 
)

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
[in]adv_itvl_msadvertising interval [ms]

◆ skald_eddystone_url_adv()

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.

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
[in]adv_itvl_msadvertising interval [ms]