Get Random

The Module has a hardware random number generator that uses RF noise to generate a random number. This example demonstrates basic request-response functionality of the Module to get this random number, similar to the Get Version example. The getRandom method returns a 2-byte random number. When using the library functions you must always check the return value to see if there was an error.



Get Random Function Details
This example demonstrates how a Synchronous Request Message functions.

Next Example: Write Nonvolatile Memory

Previous: Get MAC Address

Top: Module_Examples

