Wirepas SDK
stack_state.h
Go to the documentation of this file.
1 /* Copyright 2021 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef _STACK_STATE_H_
8 #define _STACK_STATE_H_
9 
10 #include "api.h"
11 
12 #define STACK_STATE_ALL_EVENTS_BITFIELDS (uint32_t)(-1)
13 
14 typedef void
16 
22 
28 
34 
40 
53 app_res_e Stack_State_addEventCb(stack_state_event_cb_f callback, uint32_t event_bitfield);
54 
64 
65 #endif //_STACK_STATE_H_
Stack_State_stopStack
app_res_e Stack_State_stopStack()
Stopt the stack.
stack_state_event_cb_f
void(* stack_state_event_cb_f)(app_lib_stack_event_e event, void *param)
Definition: stack_state.h:15
app_res_e
app_res_e
Definition: wms_app.h:201
Stack_State_isStarted
bool Stack_State_isStarted()
Is the stack currently started.
Stack_State_startStack
app_res_e Stack_State_startStack()
Start the stack.
app_lib_stack_event_e
app_lib_stack_event_e
List of event generated by the stack when registering to app_lib_state_set_stack_event_cb_f.
Definition: wms_state.h:410
Stack_State_init
app_res_e Stack_State_init(void)
Initialize the stack state library.
Stack_State_removeEventCb
app_res_e Stack_State_removeEventCb(stack_state_event_cb_f callback)
Remove an event callback from the list. Removed item fields are all set to 0.
Stack_State_addEventCb
app_res_e Stack_State_addEventCb(stack_state_event_cb_f callback, uint32_t event_bitfield)
Add a new callback about event callback.
api.h