Add timeout parameter to NodeAPI's ping function (#1440)

* Added timeout variable to API's ping function (WIN only).
This commit is contained in:
Vitalii Kozhukhivskyi
2017-03-09 14:33:27 -08:00
committed by Jonathan Hui
parent 5cd94ef937
commit 83918bc76f
5 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -328,7 +328,7 @@ OTNODEAPI const char* OTCALL otNodeScan(otNode* aNode);
/**
* Performs an scan for the node
*/
OTNODEAPI uint32_t OTCALL otNodePing(otNode* aNode, const char *aAddr, uint16_t aSize, uint32_t aMinReplies);
OTNODEAPI uint32_t OTCALL otNodePing(otNode* aNode, const char *aAddr, uint16_t aSize, uint32_t aMinReplies, uint16_t aTimeout);
/**
* Sets the router selection jitter value for a node