FreeRTOS:
Platform
Platform portability layer
|
Return to main page ↑ |
One-time initialization function for the platform metrics component.
This function initializes the platform metrics component. It must be called once (and only once) before calling any other metrics or Device Defender function. Calling this function more than once without first calling IotMetrics_Cleanup may result in a crash.
true
is initialization succeeded; false
otherwise.