[ion] Encode the serial number in Base64

Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
This commit is contained in:
Romain Goyet
2018-05-04 17:06:16 +02:00
committed by Ecco
parent 11ae2da6c5
commit a29c775663
14 changed files with 90 additions and 47 deletions

View File

@@ -116,7 +116,3 @@ void Ion::msleep(long ms) {
}
}
}
void Ion::getSerialNumber(char * buffer) {
strlcpy(buffer, "Simulator", Ion::SerialNumberLength+1);
}