Wirepas SDK
|
WAPS layer main module.
WAPS processes primitives from lower level, serves queries, forwards upper layer primitives. WAPS takes care of application registrations.
Definition in file waps.h.
Go to the source code of this file.
Functions | |
bool | Waps_init (uint32_t baudrate, bool flow_ctrl) |
Initializes waps and modules it requires. It relies on uart communication. More... | |
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. More... | |
bool Waps_init | ( | uint32_t | baudrate, |
bool | flow_ctrl | ||
) |
Initializes waps and modules it requires. It relies on uart communication.
baudrate | Baudrate for the uart communication |
flow_ctrl | Is flow control enabled |
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.
tracking_id | Tracking ID of PDU |
src_ep | Source end point |
dst_ep | Destination end point |
queue_time | Queuing time of packet |
dst_addr | |
success | True: Message was sent OK to next hop. False: Message was discarded (timed out) |