meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
arduino:code_collection [2025/03/11 18:04] – vamsan | arduino:code_collection [2025/03/11 18:04] (current) – vamsan | ||
---|---|---|---|
Line 171: | Line 171: | ||
==== MAC random generator ==== | ==== MAC random generator ==== | ||
Generate random MAC using pseudo random generator, bytes 0, 1 and 2 are static (MAC_START), | Generate random MAC using pseudo random generator, bytes 0, 1 and 2 are static (MAC_START), | ||
- | < | + | < |
void generateMac() { | void generateMac() { | ||
// Marsaglia algorithm from https:// | // Marsaglia algorithm from https:// |