 |
Demo HCI Implementation for WiMOD-LR Devices
V2.0.3
|
Go to the documentation of this file.
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
182 UINT16 txPayloadSize;
virtual ~WiMOD_SAP_RadioLink(void)
Destructor.
Definition: WiMOD_SAP_RadioLink.cpp:88
virtual void RegisterAckRxTimeoutClient(TRadioLinkAckRxTimeoutIndicationCallback cb)
Register a callback function for the Ack Timeout Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:623
UINT8 Status
Definition: WiMOD_SAP_RadioLink_IDs.h:245
Internal helper class for processing SLIP frames.
Definition: WiMODLRHCI.h:235
void(* TRadioLinkUDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:115
UINT8 Payload[WIMOD_RADIOLINK_PAYLOAD_LEN]
Definition: WiMOD_SAP_RadioLink_IDs.h:175
virtual TWiMODLRResultCodes SetAckData(const TWiMODLR_RadioLink_Msg *txMsg, UINT8 *statusRsp)
Sets additional user payload for the next ack frame to send.
Definition: WiMOD_SAP_RadioLink.cpp:481
UINT32 AirTime
Definition: WiMOD_SAP_RadioLink_IDs.h:236
UINT32 AirTime
Definition: WiMOD_SAP_RadioLink_IDs.h:225
UINT16 DestinationDeviceAddress
Definition: WiMOD_SAP_RadioLink_IDs.h:167
Structure containing a general RadioLink HCI message.
Definition: WiMOD_SAP_RadioLink_IDs.h:160
INT8 SNR
Definition: WiMOD_SAP_RadioLink_IDs.h:183
@ WiMODLR_RESULT_TRANMIT_ERROR
Definition: WiMODLRHCI.h:154
void(* TRadioLinkAckRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:130
Structure containing information about an acknowledgment transmission.
Definition: WiMOD_SAP_RadioLink_IDs.h:243
basic low level HCI message structure used for all serial messages to/from WiMOD
Definition: WiMODLRHCI.h:120
@ WiMODLR_RESULT_OK
Definition: WiMODLRHCI.h:151
void(* TRadioLinkRawDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:121
INT16 MIC
Definition: WiMOD_SAP_RadioLink_IDs.h:187
UINT16 Length
Definition: WiMODLRHCI.h:123
UINT8 MsgID
Definition: WiMODLRHCI.h:129
virtual void RegisterAckTxCallback(TRadioLinkAckTxIndicationCallback cb)
Register a callback function for the TX Ack Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:638
void(* TRadioLinkCDataTxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:127
UINT8 Payload[WIMODLR_HCI_MSG_PAYLOAD_SIZE]
Definition: WiMODLRHCI.h:132
UINT8 Status
Definition: WiMOD_SAP_RadioLink_IDs.h:223
UINT8 SourceGroupAddress
Definition: WiMOD_SAP_RadioLink_IDs.h:170
UINT8 DestinationGroupAddress
Definition: WiMOD_SAP_RadioLink_IDs.h:166
UINT8 Status
Definition: WiMOD_SAP_RadioLink_IDs.h:234
virtual void RegisterCDataRxClient(TRadioLinkCDataRxIndicationCallback cb)
Register a callback function for the RX C-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:574
virtual void RegisterAckRxClient(TRadioLinkAckRxIndicationCallback cb)
Register a callback function for the RX Ack (+data) Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:608
virtual void RegisterUDataTxClient(TRadioLinkUDataTxIndicationCallback cb)
Register a callback function for the TX U-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:540
UINT16 TxEventCounter
Definition: WiMOD_SAP_RadioLink_IDs.h:235
virtual TWiMODLRResultCodes 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(* TRadioLinkCDataRxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:124
virtual void RegisterRawDataRxClient(TRadioLinkRawDataRxIndicationCallback cb)
Register a callback function for the RX Raw-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:557
UINT16 SourceDeviceAddress
Definition: WiMOD_SAP_RadioLink_IDs.h:171
UINT8 StatusFormat
Definition: WiMOD_SAP_RadioLink_IDs.h:163
UINT8 Length
Definition: WiMOD_SAP_RadioLink_IDs.h:174
@ WiMODLR_RESULT_PAYLOAD_PTR_ERROR
Definition: WiMODLRHCI.h:153
INT16 RSSI
Definition: WiMOD_SAP_RadioLink_IDs.h:182
virtual void RegisterCDataTxClient(TRadioLinkCDataTxIndicationCallback cb)
Register a callback function for the TX C-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:591
void(* TRadioLinkAckRxTimeoutIndicationCallback)(void)
Definition: WiMOD_SAP_RadioLink.h:133
TWiMODLRResultCodes
Result codes for the local serial communication itself.
Definition: WiMODLRHCI.h:149
INT32 RxTime
Definition: WiMOD_SAP_RadioLink_IDs.h:184
UINT16 TxEventCounter
Definition: WiMOD_SAP_RadioLink_IDs.h:224
virtual 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
virtual TWiMODLRResultCodes 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:329
Structure containing information about a U-Data indication (TX only)
Definition: WiMOD_SAP_RadioLink_IDs.h:232
WiMOD_SAP_RadioLink(TWiMODLRHCI *hci, UINT8 *buffer, UINT16 bufferSize)
Constructor.
Definition: WiMOD_SAP_RadioLink.cpp:67
virtual void RegisterUDataRxClient(TRadioLinkUDataRxIndicationCallback cb)
Register a callback function for the RX U-Data Indication - optional -.
Definition: WiMOD_SAP_RadioLink.cpp:526
Structure containing information about a C-Data indication (TX only)
Definition: WiMOD_SAP_RadioLink_IDs.h:221
Implementation for the ServiceAccessPoint RadioLink (LR-Base firmware only)
Definition: WiMOD_SAP_RadioLink.h:151
void(* TRadioLinkAckTxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:136
#define RADIOLINK_SAP_ID
Definition: WiMOD_SAP_RadioLink_IDs.h:60
bool OptionalInfoAvaiable
Definition: WiMOD_SAP_RadioLink_IDs.h:180
void(* TRadioLinkUDataTxIndicationCallback)(TWiMODLR_HCIMessage &rxMsg)
Definition: WiMOD_SAP_RadioLink.h:118
@ WiMODLR_RESULT_PAYLOAD_LENGTH_ERROR
Definition: WiMODLRHCI.h:152