Wirepas SDK
waps.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_H__
8 #define WAPS_H__
9 
19 #include <stdint.h>
20 #include <stdbool.h>
21 
22 #include "api.h"
23 
24 
34 bool Waps_init(uint32_t baudrate, bool flow_ctrl);
35 
36 
52  uint8_t src_ep,
53  uint8_t dst_ep,
54  uint32_t queue_time,
55  app_addr_t dst_addr,
56  bool success);
57 
58 #endif // WAPS_H_
Waps_packetSent
void Waps_packetSent(app_lib_data_tracking_id_t tracking_id, uint8_t src_ep, uint8_t dst_ep, uint32_t queue_time, app_addr_t dst_addr, bool success)
Packet sent callback.
Waps_init
bool Waps_init(uint32_t baudrate, bool flow_ctrl)
Initializes waps and modules it requires. It relies on uart communication.
app_addr_t
uint32_t app_addr_t
Definition: wms_app.h:228
app_lib_data_tracking_id_t
uint16_t app_lib_data_tracking_id_t
Type of tracking ID for data packets.
Definition: wms_data.h:52
api.h