Info |
---|
This section refers to the following sample application(s): |
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:
No Format |
---|
random app, ver 1.0.0.1
SmartMeshIP stack, ver 1.2.1.3
randomBuf: 47c46d54d33c928af0d8887e769aa67d
randomBuf: d98f89bfe0ab04b9b08a77978c0044dd
randomBuf: ce538e84294e459b7633630c250f2ea2
randomBuf: 6bf1cdc49f670402c994978e3aed45f5
randomBuf: a838b98077683679ddc66d7c41178437
randomBuf: 4e436ea06fd80fc166cb8d6ec6f3730a
randomBuf: 7353f05d4d2742d933f929b75ae76fee
randomBuf: 124e3128b78f39d410c58f2cbe0d5f77
randomBuf: 5d7715de90587efc1106002fc0365551
randomBuf: 26a6892c0257a5223ba29304c918d0f4
randomBuf: 0116cedb929095919213788843fbd0c5
randomBuf: 95c1f9cd1537d220a759175b32f6f11c
randomBuf: 09eb45cf0978c1362e7ac600f54e10b7
randomBuf: 3002d38c4c4221f6e80295001cfc5b4f
randomBuf: 51e1652aebd458ad5ceee6bf3bb12f89
randomBuf: e7bcd6d55e2af408c9821432ca55f227
randomBuf: 00fae9407e64bb88f8c2e7e35ad250a9
randomBuf: f1e2d5da77d303d76b64a5b5850e432c
randomBuf: 631e3869e0b6aa6a5e8f69981a24a237
randomBuf: 015f87ee4ed082b914a031594ffbe8ed
randomBuf: 4be31860b5fdf74dbb9954c712121331
randomBuf: c5f08c4d3a030126ed10f029834289f6
randomBuf: 2d0259f0cae94fa01e368ea089f218f9 |
Include Page |
---|
| _inc_refer_to_dox |
---|
| _inc_refer_to_dox |
---|
|