Created
January 23, 2015 10:50
-
-
Save electricimp/6f69130bd9a8c6ed0524 to your computer and use it in GitHub Desktop.
Factory firmware stub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const FACTORY_IMP_MAC = "0c2a690130b5" | |
if (imp.getmacaddress() == FACTORY_IMP_MAC) | |
{ | |
// Factory firmware running on factory imp, | |
// so run BlinkUp code | |
} | |
else | |
{ | |
// Factory firmware runnong on target device. | |
// so run blessing code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment