-
• #2
you can use this http://www.espruino.com/Reference#process
process.env.SERIAL
-
• #3
and there is also getSerial() global function http://www.espruino.com/Reference#t_l__global_getSerial that one is probably called when evaluating env.SERIAL so may be a bit faster to call it directly
How do i get a serial number from the device for tracking purposes?