Project

General

Profile

« Previous | Next » 

Revision 1e5cc46d

Added by osmith about 4 years ago

IMSIPseudo.java: rename welcomeMsg to LUCounter

View differences:

sim-applet/src/org/osmocom/IMSIPseudo/IMSIPseudo.java
16 16
	// which has a limited number of write cycles.
17 17
	private byte helloMenuItem;
18 18

  
19
	static byte[] welcomeMsg = new byte[] { '0', 'x', ' ', 'L', 'U' };
19
	static byte[] LUCounter = new byte[] { '0', 'x', ' ', 'L', 'U' };
20 20
	static byte[] menuItemText = new byte[] { 'I', 'M', 'S', 'I', ' ', 'P', 's', 'e', 'u', 'd', 'o', 'n', 'y', 'm',
21 21
						  'i', 'z', 'a', 't', 'i', 'o', 'n'};
22 22

  
......
60 60
		}
61 61

  
62 62
		if (event == EVENT_EVENT_DOWNLOAD_LOCATION_STATUS) {
63
			welcomeMsg[0]++;
63
			LUCounter[0]++;
64 64
			showHello();
65 65
		}
66 66
	}
67 67

  
68 68
	private void showHello() {
69 69
		ProactiveHandler proHdlr = ProactiveHandler.getTheHandler();
70
		proHdlr.initDisplayText((byte)0, DCS_8_BIT_DATA, welcomeMsg, (short)0,
71
				(short)(welcomeMsg.length));
70
		proHdlr.initDisplayText((byte)0, DCS_8_BIT_DATA, LUCounter, (short)0,
71
				(short)(LUCounter.length));
72 72
		proHdlr.send();
73 73
		return;
74 74
	}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 48.8 MB)