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 "xtimer.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_INTERVAL   (1 * US_PER_SEC)
 Static advertising interval.
 
#define SKALD_ADV_CHAN   { 37, 38, 39 }
 Static list of used 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. More...
 
void skald_adv_stop (skald_ctx_t *ctx)
 Stop the ongoing advertisement. More...
 
void skald_generate_random_addr (uint8_t *buf)
 Generate a random public address. More...