ibeacon.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
28 #ifndef NET_SKALD_IBEACON_H
29 #define NET_SKALD_IBEACON_H
30 
31 #include "net/skald.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
48  uint16_t major, uint16_t minor, uint8_t txpower,
49  uint32_t adv_itvl_ms);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* NET_SKALD_IBEACON_H */
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:74
UUID representation format used by Skald.
Definition: skald.h:67