Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This section refers to the following sample application(s):

  • 02-random

Table of Contents


The 

Include Page
_def_chip_eterna
_def_chip_eterna
 features a random number generator device which samples the thermal noise of an internal circuit to generate a sequence of random bytes.

Note

You can not use this device after having issued the join or search commands to the mote. Doing so will result in the API returning the DN_ERR_STATE error code. This device can not be used if the mote is configured to join automatically.

The 02-random Sample Application

The 02-random sample application creates a task which periodically reads 16 bytes from the random number generator device. It prints those bytes on the CLI, in hexadecimal format, as shown below:

...

Include Page
_inc_refer_to_dox
_inc_refer_to_dox