meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
arduino:code_collection [2025/03/11 18:04] vamsanarduino: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), bytes 3, 4 and 5 are generated randomly Generate random MAC using pseudo random generator, bytes 0, 1 and 2 are static (MAC_START), bytes 3, 4 and 5 are generated randomly
-<code>+<code c>
 void generateMac() { void generateMac() {
   // Marsaglia algorithm from https://github.com/RobTillaart/randomHelpers   // Marsaglia algorithm from https://github.com/RobTillaart/randomHelpers