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 
46 void skald_ibeacon_advertise(skald_ctx_t *ctx, const skald_uuid_t *uuid,
47  uint16_t major, uint16_t minor, uint8_t txpower);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* NET_SKALD_IBEACON_H */
54 
skald_ctx_t
Advertising context holding the advertising data and state.
Definition: skald.h:144
skald_ibeacon_advertise
void skald_ibeacon_advertise(skald_ctx_t *ctx, const skald_uuid_t *uuid, uint16_t major, uint16_t minor, uint8_t txpower)
Configure the IBeacon payload and start advertising.
skald.h
Skald's basic interface.
skald_uuid_t
UUID representation format used by Skald.
Definition: skald.h:137