|
Wirepas SDK
|
|
Go to the documentation of this file.
7 #ifndef _STACK_STATE_H_
8 #define _STACK_STATE_H_
12 #define STACK_STATE_ALL_EVENTS_BITFIELDS (uint32_t)(-1)
65 #endif //_STACK_STATE_H_
app_res_e Stack_State_stopStack()
Stopt the stack.
void(* stack_state_event_cb_f)(app_lib_stack_event_e event, void *param)
bool Stack_State_isStarted()
Is the stack currently started.
app_res_e Stack_State_startStack()
Start the stack.
app_lib_stack_event_e
List of event generated by the stack when registering to app_lib_state_set_stack_event_cb_f.
app_res_e Stack_State_init(void)
Initialize the stack state library.
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.
app_res_e Stack_State_addEventCb(stack_state_event_cb_f callback, uint32_t event_bitfield)
Add a new callback about event callback.