Wirepas SDK
control_router.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
#ifndef _CONTROL_ROUTER_H_
7
#define _CONTROL_ROUTER_H_
8
9
#include "
wms_advertiser.h
"
10
#include "
control_node_int.h
"
11
12
16
typedef
struct
17
{
21
app_llhead_acklistener_f
ack_gen_cb
;
22
}
control_router_conf_t
;
23
31
control_node_ret_e
Control_Router_init
(
control_router_conf_t
* conf);
32
33
#endif //_CONTROL_ROUTER_H_
control_node_int.h
control_router_conf_t::ack_gen_cb
app_llhead_acklistener_f ack_gen_cb
Definition:
control_router.h:21
wms_advertiser.h
control_router_conf_t
Configuration structure for Control node router.
Definition:
control_router.h:16
app_llhead_acklistener_f
bool(* app_llhead_acklistener_f)(const ack_gen_input_t *in, ack_gen_output_t *out)
Callback function type used with lib_advertiser->setRouterAckGenCb().
Definition:
wms_advertiser.h:118
control_node_ret_e
control_node_ret_e
Return codes of control functions.
Definition:
control_node_int.h:21
Control_Router_init
control_node_ret_e Control_Router_init(control_router_conf_t *conf)
Initialize Directed Advertiser libray for router node.