|
|
@@ -49,6 +49,19 @@ static String getFileSystemRoots() |
|
|
|
return rootList.joinIntoString (", ");
|
|
|
|
}
|
|
|
|
|
|
|
|
static String getIPAddressList()
|
|
|
|
{
|
|
|
|
Array<IPAddress> addresses;
|
|
|
|
IPAddress::findAllAddresses (addresses);
|
|
|
|
|
|
|
|
String addressList;
|
|
|
|
|
|
|
|
for (int i = 0; i < addresses.size(); ++i)
|
|
|
|
addressList << " " << addresses[i].toString() << newLine;
|
|
|
|
|
|
|
|
return addressList;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const char* getDisplayOrientation()
|
|
|
|
{
|
|
|
|
switch (Desktop::getInstance().getCurrentOrientation())
|
|
|
@@ -139,6 +152,7 @@ static String getAllSystemInfo() |
|
|
|
.getBytesFreeOnVolume()) << newLine
|
|
|
|
<< newLine
|
|
|
|
<< getDisplayInfo() << newLine
|
|
|
|
<< "Network IP addresses: " << newLine << getIPAddressList() << newLine
|
|
|
|
<< "Network card MAC addresses: " << newLine << getMacAddressList() << newLine;
|
|
|
|
|
|
|
|
DBG (systemInfo);
|
|
|
|