43 #ifndef ARDUINO_SAP_WIMOD_SAP_RADIOLINK_H_ 44 #define ARDUINO_SAP_WIMOD_SAP_RADIOLINK_H_ 53 #include "../HCI/WiMODLRHCI.h" 59 #ifdef WIMOD_USE_CPP11 69 #define WiMOD_RADIOLINK_MSG_SIZE (WiMODLRBASE_APP_PAYLOAD_LEN) 82 #ifdef WIMOD_USE_CPP11 179 UINT16 txPayloadSize;
void RegisterUDataRxClient(TRadioLinkUDataRxIndicationCallback cb)
Register a callback function for the RX U-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:379
Structure containing information about a C-Data indication (TX only)
Definition: WiMOD_SAP_RadioLink_IDs.h:179
void(* TRadioLinkAckRxTimeoutIndicationCallback)(void)
Definition: WiMOD_SAP_RadioLink.h:133
WiMOD_SAP_RadioLink(TWiMODLRHCI *hci, UINT8 *buffer, UINT16 bufferSize)
Constructor.
Definition: WiMOD_SAP_RadioLink.cpp:67
void(* TRadioLinkCDataTxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:127
TWiMDLRResultCodes
Result codes for the local serial communication itself.
Definition: WiMODLRHCI.h:149
void RegisterCDataRxClient(TRadioLinkCDataRxIndicationCallback cb)
Register a callback function for the RX C-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:427
void RegisterAckRxTimeoutClient(TRadioLinkAckRxTimeoutIndicationCallback cb)
Register a callback function for the Ack Timeout Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:476
basic low level HCI message structure used for all serial messages to/from WiMOD
Definition: WiMODLRHCI.h:120
void RegisterCDataTxClient(TRadioLinkCDataTxIndicationCallback cb)
Register a callback function for the TX C-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:444
Internal helper class for processing SLIP frames.
Definition: WiMODLRHCI.h:229
void(* TRadioLinkUDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:115
TWiMDLRResultCodes SetAckData(const TWiMODLR_RadioLink_Msg *txMsg, UINT8 *statusRsp)
Sets additional user payload for the next ack frame to send.
Definition: WiMOD_SAP_RadioLink.cpp:334
Structure containing information about an acknowledgment transmission.
Definition: WiMOD_SAP_RadioLink_IDs.h:189
Structure containing a general RadioLink HCI message.
Definition: WiMOD_SAP_RadioLink_IDs.h:148
void RegisterAckRxClient(TRadioLinkAckRxIndicationCallback cb)
Register a callback function for the RX Ack (+data) Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:461
Supporting IDs and definitions for the RadioLink ServiceAccessPoint.
Implementation for the ServiceAccessPoint RadioLink (LR-Base firmware only)
Definition: WiMOD_SAP_RadioLink.h:151
void(* TRadioLinkUDataTxIndicationCallback)(void)
Definition: WiMOD_SAP_RadioLink.h:118
void RegisterRawDataRxClient(TRadioLinkRawDataRxIndicationCallback cb)
Register a callback function for the RX Raw-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:410
void RegisterAckTxCallback(TRadioLinkAckTxIndicationCallback cb)
Register a callback function for the TX Ack Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:491
TWiMDLRResultCodes SendCData(const TWiMODLR_RadioLink_Msg *txMsg, UINT8 *statusRsp)
Tries to send transmit C-Data to peer module via RF link.
Definition: WiMOD_SAP_RadioLink.cpp:232
bool convert(TWiMODLR_HCIMessage &RxMsg, TWiMODLR_RadioLink_Msg *radioLinkMsg)
Convert a received low level HCI-Msg to a high-level RadioLink-Msg.
Definition: WiMOD_SAP_RadioLink.cpp:153
void(* TRadioLinkRawDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:121
void(* TRadioLinkAckTxIndicationCallback)(void)
Definition: WiMOD_SAP_RadioLink.h:136
TWiMDLRResultCodes SendUData(const TWiMODLR_RadioLink_Msg *txMsg, UINT8 *statusRsp)
Tries to send transmit U-Data to peer module via RF link.
Definition: WiMOD_SAP_RadioLink.cpp:107
void RegisterUDataTxClient(TRadioLinkUDataTxIndicationCallback cb)
Register a callback function for the TX U-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:393
void(* TRadioLinkAckRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:130
void(* TRadioLinkCDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:124
~WiMOD_SAP_RadioLink(void)
Destructor.
Definition: WiMOD_SAP_RadioLink.cpp:88