ESP Chip ID a Flash Chip ID jsou nyni zobrazovany hexadecimalne
This commit is contained in:
parent
ef4be58c76
commit
36b213efde
@ -303,6 +303,7 @@ void WiFiConfig::_handleReset(void)
|
||||
void WiFiConfig::_handleInfo(void)
|
||||
{
|
||||
String reply;
|
||||
char buff[32];
|
||||
|
||||
reply.reserve(3000);
|
||||
|
||||
@ -335,10 +336,12 @@ void WiFiConfig::_handleInfo(void)
|
||||
reply.concat(macaddress);
|
||||
|
||||
reply.concat(F("<TR><TD>ESP Chip ID:<TD>"));
|
||||
reply.concat(ESP.getChipId());
|
||||
sprintf_P(buff, PSTR("%06X"), ESP.getChipId());
|
||||
reply.concat(buff);
|
||||
|
||||
reply.concat(F("<TR><TD>Flash Chip ID:<TD>"));
|
||||
reply.concat(ESP.getFlashChipId());
|
||||
sprintf_P(buff, PSTR("%08X"), ESP.getFlashChipId());
|
||||
reply.concat(buff);
|
||||
|
||||
reply.concat(F("</table></form>"));
|
||||
server->send(200, TEXTHTML, reply);
|
||||
|
Loading…
Reference in New Issue
Block a user