Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
47
void
skald_ibeacon_advertise
(
skald_ctx_t
*ctx,
const
skald_uuid_t
*uuid,
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 */
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, uint32_t adv_itvl_ms)
Configure the IBeacon payload and start advertising.
skald.h
Skald's basic interface.
skald_ctx_t
Advertising context holding the advertising data and state.
Definition
skald.h:74
skald_uuid_t
UUID representation format used by Skald.
Definition
skald.h:67
Generated on Sat Nov 23 2024 19:57:25 by
1.9.8