Wirepas SDK
dsap.h
Go to the documentation of this file.
1 /* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef WAPS_DSAP_H_
8 #define WAPS_DSAP_H_
9 
10 #include "waps_private.h"
11 #include "waps_item.h"
12 #include "waddr.h"
13 
20 bool Dsap_handleFrame(waps_item_t * item);
21 
39 void Dsap_packetSent(pduid_t id,
40  uint8_t src_ep,
41  uint8_t dst_ep,
42  uint32_t queue_time,
43  w_addr_t dst,
44  bool success,
45  waps_item_t * output_ptr);
46 
57  w_addr_t dst_addr,
58  waps_item_t * output_ptr);
59 
60 #endif /* WAPS_DSAP_H_ */
pduid_t
uint16_t pduid_t
Definition: waps_frames.h:23
waddr.h
waps_private.h
waps_item.h
app_lib_data_received_t
Struct passed to data reception callback functions.
Definition: wms_data.h:285
Dsap_packetSent
void Dsap_packetSent(pduid_t id, uint8_t src_ep, uint8_t dst_ep, uint32_t queue_time, w_addr_t dst, bool success, waps_item_t *output_ptr)
Create a packet sent indication for sending to WAPS protocol.
Dsap_handleFrame
bool Dsap_handleFrame(waps_item_t *item)
Process received request.
Dsap_packetReceived
void Dsap_packetReceived(const app_lib_data_received_t *data, w_addr_t dst_addr, waps_item_t *output_ptr)
Create a packet received indication for sending to WAPS protocol.
w_addr_t
uint32_t w_addr_t
Definition: waps_frames.h:17
waps_item_t
Definition: waps_item.h:34