61#define SKALD_ADV_CHAN { 37, 38, 39 }
BLE specific adaption for the Netdev API.
void skald_adv_start(skald_ctx_t *ctx)
Start advertising the given packet.
void skald_init(void)
Initialize Skald and the underlying radio.
void skald_generate_random_addr(uint8_t *buf)
Generate a random public address.
void skald_adv_stop(skald_ctx_t *ctx)
Stop the ongoing advertisement.
uint32_t ztimer_now_t
type for ztimer_now() result
BLE packet structure (as defined by the BLE standard)
Advertising context holding the advertising data and state.
ztimer_t timer
timer for scheduling advertising events
uint32_t adv_itvl_ms
advertising interval [ms]
uint8_t cur_chan
keep track of advertising channels
netdev_ble_pkt_t pkt
packet holding the advertisement (GAP) data
ztimer_now_t last
last timer trigger (for offset compensation)
UUID representation format used by Skald.
General BLE values as defined by the BT standard.