Skald's basic interface. More...
Skald's basic interface.
Definition in file skald.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 | CONFIG_SKALD_INTERVAL (1 * US_PER_SEC) |
| Advertising interval in microseconds. | |
| #define | CONFIG_ADV_CH_37_DISABLE |
| Configure advertising channel 37. More... | |
| #define | CONFIG_ADV_CH_38_DISABLE |
| Configure advertising channel 38. More... | |
| #define | CONFIG_ADV_CH_39_DISABLE |
| Configure advertising channel 39. More... | |
| #define | ADV_CH_37 37, |
| Define advertising channel 37 if CONFIG_ADV_CH_37_DISABLE is not set. | |
| #define | ADV_CH_38 38, |
| Define advertising channel 38 if CONFIG_ADV_CH_38_DISABLE is not set. | |
| #define | ADV_CH_39 39 |
| Define advertising channel 39 if CONFIG_ADV_CH_39_DISABLE is not set. | |
| #define | SKALD_ADV_CHAN { ADV_CH_37 ADV_CH_38 ADV_CH_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. 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... | |