mirror of
https://github.com/espressif/openthread.git
synced 2026-07-18 10:04:08 +00:00
Fix otSendMacDataRequest API (#1521)
* Fix otSendMacDataRequest API * Add otSendMacDataRequest declaration to API headers * Move otSendMacDataRequest from thread to link API * Update otSendMacDataRequest to otLinkSendDataRequest
This commit is contained in:
@@ -648,11 +648,6 @@ bool otThreadIsDiscoverInProgress(otInstance *aInstance)
|
||||
return aInstance->mThreadNetif.GetMle().IsDiscoverInProgress();
|
||||
}
|
||||
|
||||
ThreadError otSendMacDataRequest(otInstance *aInstance)
|
||||
{
|
||||
return aInstance->mThreadNetif.GetMeshForwarder().SendMacDataRequest();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user