Add support for the Host Power State feature. (#1772)

* Add support for the Host Power State feature.

* Fix compiler ewrrors.

* Fix compiler errors round 2.

* Add newlines to end of file.

* Address review comments.

* Arrange to send the power state response again if the first attempt fails.

* Fix compiler issue.
This commit is contained in:
pvanhorn
2017-05-19 11:33:38 -07:00
committed by Jonathan Hui
parent 4f5b17ab0b
commit 7862f1107e
16 changed files with 316 additions and 25 deletions
+6
View File
@@ -32,6 +32,7 @@
#include <openthread/openthread.h>
#include <openthread/cli.h>
#include <openthread/platform/uart.h>
#include <openthread/platform/misc.h>
bool skipNextLine = false;
@@ -83,3 +84,8 @@ EXTERN_C ThreadError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength)
return error;
}
EXTERN_C void otPlatWakeHost(void)
{
}