Wirepas SDK
persistent.h
Go to the documentation of this file.
1/* Copyright 2018 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6
7#ifndef _PERSISTENT_H_
8#define _PERSISTENT_H_
9
10#include <stdint.h>
11#include <stdbool.h>
12#include "api.h"
13#include "multicast.h"
14
19void Persistent_init(void);
20
28
36
46
54
62
70
71#endif /* SOURCE_DUALMCU_APP_WAPS_SAP_PERSISTENT_H_ */
void Persistent_init(void)
Initializes the persistent module. Sets autoboot and firstboot flags to their default values.
app_res_e Persistent_setAutostart(bool autostart)
Set autostart bit.
app_res_e Persistent_getGroups(multicast_group_addr_t *addr)
Get multicast groups.
app_res_e Persistent_setFirstboot(bool firstboot)
Set firstboot flag.
app_res_e Persistent_getAutostart(bool *autostart)
Get autostart bit.
app_res_e Persistent_isFirstboot(bool *firstboot)
Get firstboot flag.
app_res_e Persistent_setGroups(multicast_group_addr_t *addr)
Set multicast groups.
app_res_e
Definition wms_app.h:202