Wirepas SDK
shared_beacon.h
Go to the documentation of this file.
1/* Copyright 2020 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6
7#ifndef _SHARED_BEACON_H_
8#define _SHARED_BEACON_H_
9
10#include "api.h"
11
28
36
59 int8_t * power,
61 channels_mask,
62 const uint8_t * content,
63 uint8_t length,
64 uint8_t * shared_beacon_index);
65
74shared_beacon_res_e Shared_Beacon_stopBeacon(uint8_t shared_beacon_index);
75
76#endif //_SHARED_BEACON_H_
shared_beacon_res_e Shared_Beacon_stopBeacon(uint8_t shared_beacon_index)
Stops beacon with the given index. Shared beacon used interval is checked and selected smaller interv...
shared_beacon_res_e Shared_Beacon_startBeacon(uint16_t interval_ms, int8_t *power, app_lib_beacon_tx_channels_mask_e channels_mask, const uint8_t *content, uint8_t length, uint8_t *shared_beacon_index)
Starts sending of beacon content defined in the parameters. There is possibility to start multiple be...
shared_beacon_res_e
List of return code.
@ SHARED_BEACON_INVALID_PARAM
@ SHARED_BEACON_INDEX_NOT_AVAILABLE
@ SHARED_BEACON_RES_OK
@ SHARED_BEACON_INDEX_NOT_ACTIVE
@ SHARED_BEACON_INIT_NOT_DONE
shared_beacon_res_e Shared_Beacon_init(void)
Initialize the Shared_Beacon library.
app_lib_beacon_tx_channels_mask_e