IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
Functions
iotmi_pal_Random.h File Reference

This file defines random function platform abstraction interface. More...

#include <stdint.h>

Go to the source code of this file.

Functions

uint32_t iotmiPal_random (void)
 Generate a random unsigned 32-bit number.
 

Detailed Description

This file defines random function platform abstraction interface.

Function Documentation

◆ iotmiPal_random()

uint32_t iotmiPal_random ( void  )

Generate a random unsigned 32-bit number.

Note
It is important for this function to return a different sequence of random numbers across boots. Returning the same sequence may affect certain behaviors in the SDK.
Returns
an unsigned 32-bit random number.