ibeacon.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2018 Freie Universität Berlin
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
27 #include "net/skald.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
44  uint16_t major, uint16_t minor, uint8_t txpower,
45  uint32_t adv_itvl_ms);
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
void skald_ibeacon_advertise(skald_ctx_t *ctx, const skald_uuid_t *uuid, uint16_t major, uint16_t minor, uint8_t txpower, uint32_t adv_itvl_ms)
Configure the IBeacon payload and start advertising.
Skald's basic interface.
Advertising context holding the advertising data and state.
Definition: skald.h:70
UUID representation format used by Skald.
Definition: skald.h:63