[radio-spinel] parse frame rx timestamp (#3731)

This commit parses rx timestamp of radio frame received by RCP, no matter
data frames or ACK frames.

* add OT_NUM_ERRORS as number of defined errors.
* allow empty SPINEL_DATATYPE_DATA and SPINEL_DATATYPE_DATA_WLEN when
parsing spinel packets.
This commit is contained in:
Yakun Xu
2019-04-07 21:34:40 -07:00
committed by Jonathan Hui
parent 7c3bce3a4f
commit 174d076722
3 changed files with 55 additions and 22 deletions
+5
View File
@@ -347,6 +347,11 @@ typedef enum otError
*/
OT_ERROR_LINK_MARGIN_LOW = 34,
/**
* The number of defined errors.
*/
OT_NUM_ERRORS,
/**
* Generic error (should not use).
*/