mirror of
https://github.com/espressif/openthread.git
synced 2026-08-24 03:09:52 +00:00
Add/Update the logs in Mac class (#1629)
This commit contains the following changes: - Updates logs for a failed tx or rx to include info about the frame (len, seq number, type, src/dst address, etc.). - Adds detailed logs about transmitted or received Beacon frames (network name, xpanid, protocol id, version, joinability, native flag, ...) - Adds helper method `ToInfoString()` to `Frame` and `BeaconPyalod` classes to provide a debug info string representation of the object.
This commit is contained in:
committed by
Jonathan Hui
parent
145a3adfc1
commit
1baa0ffb65
@@ -193,6 +193,7 @@ typedef enum ThreadError
|
||||
* Received a duplicated frame.
|
||||
*/
|
||||
kThreadError_Duplicated = 31,
|
||||
|
||||
kThreadError_Error = 255,
|
||||
} ThreadError;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user