Wirepas SDK
|
Go to the source code of this file.
Typedefs | |
typedef void(* | waps_request_receive_f) (waps_item_t *item) |
Functions | |
void | Waps_force_send_indication () |
bool | Waps_prot_init (waps_request_receive_f cb, uint32_t baudrate, bool flow_ctrl) |
Initialize WAPS protocol layer and low level layer. More... | |
bool | Waps_prot_hasIndication (void) |
Check if protocol layer has indication stashed. More... | |
void | Waps_prot_updateIrqPin (void) |
Update IRQ pin state depending on queued indications. More... | |
Data Structures | |
struct | waps_prot_t |
Macros | |
#define | Waps_prot_sendReply() waps_prot.send_reply() |
#define | Waps_hw_write(a, b) waps_prot.write_hw(a,b) |
#define | Waps_prot_frameRemoved() waps_prot.frame_removed() |
#define | Waps_prot_processResponse(x) waps_prot.process_response(item) |
#define | Waps_prot_updateIrq(x) waps_prot.update_irq(x) |
#define | Waps_prot_flush_hw() waps_prot.flush_hw(); |
Variables | |
waps_prot_t | waps_prot |
sl_list_head_t | waps_ind_queue |
sl_list_head_t | waps_reply_queue |
typedef void(* waps_request_receive_f) (waps_item_t *item) |
Definition at line 17 of file waps_protocol.h.
void Waps_force_send_indication | ( | ) |
bool Waps_prot_hasIndication | ( | void | ) |
Check if protocol layer has indication stashed.
bool Waps_prot_init | ( | waps_request_receive_f | cb, |
uint32_t | baudrate, | ||
bool | flow_ctrl | ||
) |
Initialize WAPS protocol layer and low level layer.
void Waps_prot_updateIrqPin | ( | void | ) |
Update IRQ pin state depending on queued indications.
#define Waps_hw_write | ( | a, | |
b | |||
) | waps_prot.write_hw(a,b) |
Definition at line 35 of file waps_protocol.h.
#define Waps_prot_flush_hw | ( | ) | waps_prot.flush_hw(); |
Definition at line 39 of file waps_protocol.h.
#define Waps_prot_frameRemoved | ( | ) | waps_prot.frame_removed() |
Definition at line 36 of file waps_protocol.h.
#define Waps_prot_processResponse | ( | x | ) | waps_prot.process_response(item) |
Definition at line 37 of file waps_protocol.h.
#define Waps_prot_sendReply | ( | ) | waps_prot.send_reply() |
Definition at line 34 of file waps_protocol.h.
#define Waps_prot_updateIrq | ( | x | ) | waps_prot.update_irq(x) |
Definition at line 38 of file waps_protocol.h.
sl_list_head_t waps_ind_queue |
WAPS Global queues
waps_prot_t waps_prot |
sl_list_head_t waps_reply_queue |