0.01.00
ot::LinkRaw Class Reference

Public Member Functions

 LinkRaw (otInstance &aInstance)
 This constructor initializes the object.
 
bool IsEnabled ()
 This method returns true if the raw link-layer is enabled.
 
void SetEnabled (bool aEnabled)
 This method enables/disables the raw link-layer.
 
otRadioCaps GetCaps ()
 This method returns the capabilities of the raw link-layer.
 
otError Receive (uint8_t aChannel, otLinkRawReceiveDone aCallback)
 This method starts a (recurring) Receive on the link-layer.
 
void InvokeReceiveDone (otRadioFrame *aFrame, otError aError)
 This method invokes the mReceiveDoneCallback, if set.
 
otError Transmit (otRadioFrame *aFrame, otLinkRawTransmitDone aCallback)
 This method starts a (single) Transmit on the link-layer.
 
void InvokeTransmitDone (otRadioFrame *aFrame, otRadioFrame *aAckFrame, otError aError)
 This method invokes the mTransmitDoneCallback, if set.
 
otError EnergyScan (uint8_t aScanChannel, uint16_t aScanDuration, otLinkRawEnergyScanDone aCallback)
 This method starts a (single) Enery Scan on the link-layer.
 
void InvokeEnergyScanDone (int8_t aEnergyScanMaxRssi)
 This method invokes the mEnergyScanDoneCallback, if set.
 

The documentation for this class was generated from the following file: