IMSIPesudo.java: simple LU counter

This commit is contained in:
Oliver Smith 2020-02-21 15:19:28 +01:00
parent e28705aff5
commit 041b0e0af1
1 changed files with 2 additions and 5 deletions

View File

@ -16,8 +16,7 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
// which has a limited number of write cycles.
private byte helloMenuItem;
static byte[] welcomeMsg = new byte[] { 'H', 'e', 'l', 'l', 'o', ',', ' ',
'W', 'o', 'r', 'l', 'd', '!' };
static byte[] welcomeMsg = new byte[] { '0', 'x', ' ', 'L', 'U' };
static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
'i', 'z', 'a', 't', 'i', 'o', 'n'};
@ -61,9 +60,7 @@ public class IMSIPseudo extends Applet implements ToolkitInterface, ToolkitConst
}
if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
/* TODO: count the location updates done with the same
* pseudo IMSI, and warn the user if it becomes too
* high */
welcomeMsg[0]++;
showHello();
}
}