Loading...
Searching...
No Matches

Skald's basic interface. More...

Detailed Description

Skald's basic interface.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file skald.h.

#include <stdint.h>
#include "ztimer.h"
#include "net/ble.h"
#include "net/netdev/ble.h"
+ Include dependency graph for skald.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  skald_uuid_t
 UUID representation format used by Skald. More...
 
struct  skald_ctx_t
 Advertising context holding the advertising data and state. More...
 

Macros

#define SKALD_ADV_CHAN   { 37, 38, 39 }
 List of advertising channels.
 

Functions

void skald_init (void)
 Initialize Skald and the underlying radio.
 
void skald_adv_start (skald_ctx_t *ctx)
 Start advertising the given packet.
 
void skald_adv_stop (skald_ctx_t *ctx)
 Stop the ongoing advertisement.
 
void skald_generate_random_addr (uint8_t *buf)
 Generate a random public address.