My LoRaWAN Signal Mapping MSc summer project. This is a copy of the actual repository with personal information removed.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LoRaWAN-Signal-Mapping/iot/main/random.h

16 lines
428 B

#pragma once
/**
* Initialises the random number generation system.
* It's important to do this as early as possible, as it takes a while to
* gather the necessary entropy in order to actually generate a random number.
*/
void random_begin();
// FUTURE: Swap this out for LoRa untuned wideband radio static?
/**
* Gets an unsigned 32-bit random number.
* @return {uint32_t} A random number.
*/
uint32_t random_get();