Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Makes the device ID available via dfu, via the DCT, offset 3618, length 12.
The device ID is copied to persistent storage if the first byte is not 0xFF.
Works on the P1/Photon/Electron.
The DCT contained a field "device_id" which stored a 6 digit random code. This was renamed "device_code", so we can use "device_id" for the 12 byte stm32 id.