add otPlatRadioGetCaps method to check radio capabilities (#53)

add doxygen for otRadioCaps

remove tmp file
This commit is contained in:
Lu Wang
2016-05-20 23:20:05 -07:00
committed by Jonathan Hui
parent 12a7060a85
commit 96adf87cd0
3 changed files with 24 additions and 1 deletions
+18
View File
@@ -77,6 +77,17 @@ enum
kPhyUsPerSymbol = ((kPhyBitsPerOctet / kPhySymbolsPerOctet) * 1000000) / kPhyBitRate,
};
/**
* This enum represents radio capabilities.
*
*/
typedef enum otRadioCaps
{
kRadioCapsNone = 0, ///< None
kRadioCapsAckTimeout = 1, ///< Radio supports AckTime event
} otRadioCaps;
/**
* This structure represents an IEEE 802.15.4 radio frame.
*/
@@ -272,6 +283,13 @@ ThreadError otPlatRadioHandleTransmitDone(bool *aFramePending);
*/
int8_t otPlatRadioGetNoiseFloor(void);
/**
* Get the radio capabilities.
*
* @returns The radio capability bit vector. The stack enables or disables some functions based on this value.
*/
otRadioCaps otPlatRadioGetCaps(void);
/**
* @}
*