PebbleOS
Loading...
Searching...
No Matches
Functions
Random numbers

Random number source used by the library. More...

Functions

uint32_t pbl_rand32 (void)
 Get a 32-bit random number.
 

Detailed Description

Random number source used by the library.

Function Documentation

◆ pbl_rand32()

uint32_t pbl_rand32 ( void  )
extern

Get a 32-bit random number.

The library provides a weak implementation based on rand(); the firmware overrides it.

Returns
Random number.