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
21
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_ */
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.
bool Dsap_handleFrame(waps_item_t *item)
Process received request.
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.
uint32_t w_addr_t
Definition waps_frames.h:17
uint16_t pduid_t
Definition waps_frames.h:23
Struct passed to data reception callback functions.
Definition wms_data.h:286