Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
Go to the source code of this file.
Functions | |
uint32_t | le_rand_GetNumBetween (uint32_t min, uint32_t max) |
void | le_rand_GetBuffer (uint8_t *bufPtr, size_t bufSize) |
Legato Random Number API include file.
Copyright (C) Sierra Wireless Inc.
uint32_t le_rand_GetNumBetween | ( | uint32_t | min, |
uint32_t | max | ||
) |
Get a random number within the specified range, min to max inclusive.
[in] | min | Minimum value in range (inclusive). |
[in] | max | Maximum value in range (inclusive). |
void le_rand_GetBuffer | ( | uint8_t * | bufPtr, |
size_t | bufSize | ||
) |
Get a buffer of random numbers.
[out] | bufPtr | Buffer to store the random numbers in. |
[in] | bufSize | Number of random numbers to get. |