SYS_GetRandomNumber Function
C
static inline uint16_t SYS_GetRandomNumber(void)
Description
Generates a random two-bytes number
Generation of a random number is based on the seed value created in ZDO with the use of the radio (if the radio supports such mechanism). The stack creates the seed value on startup and updates it periodically later on.
Parameters
None
Returns
s A random number in the range 0x000 - 0xFFFF