Update the NCP code to use otMessage and otMessageQueue APIs (#1151)

This change updates the NCP related files to use `otMessage` and
`otMessageQueue` APIs to replace the direct calls into OpenThread
internal `Message` and `MessageQueue` classes.
This commit is contained in:
Abtin Keshavarzian
2017-01-18 22:03:42 -08:00
committed by Jonathan Hui
parent d250105711
commit ab13e718c6
12 changed files with 103 additions and 73 deletions
+11
View File
@@ -166,6 +166,17 @@ uint16_t otGetMessageOffset(otMessage aMessage);
*/
ThreadError otSetMessageOffset(otMessage aMessage, uint16_t aOffset);
/**
* This function indicates whether or not link security is enabled for the message.
*
* @param[in] aMessage A pointer to a message buffer.
*
* @retval TRUE If link security is enabled.
* @retval FALSE If link security is not enabled.
*
*/
bool otIsMessageLinkSecurityEnabled(otMessage aMessage);
/**
* Append bytes to a message.
*