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
9#pragma once
10
29
30#include "net/skald.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
47 uint16_t major, uint16_t minor, uint8_t txpower,
48 uint32_t adv_itvl_ms);
49
50#ifdef __cplusplus
51}
52#endif
53
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:73
UUID representation format used by Skald.
Definition skald.h:66