public class OptionsHeader
extends java.lang.Object
Documentation on options header available at https://puls.calamp.com/wiki/LM_Direct_Reference_Guide#Options_Header
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMobileId() |
byte |
getMobileIdType()
The type of Mobile ID being used by the LMU:
0 – OFF
1 – Electronic Serial Number (ESN) of the LMU
2 – International Mobile Equipment Identifier (IMEI) or Electronic Identifier (EID) of the wireless modem
3 – International Mobile Subscriber Identifier (IMSI) of the SIM card (GSM/GPRS devices only)
4 – User Defined Mobile ID
5 – Phone Number of the mobile (if available)
6 – The current IP Address of the LMU
7 - CDMA Mobile Equipment ID (MEID) or International Mobile Equipment Identifier (IMEI) of the wireless modem
|
int |
getNextPart()
Returns offset in byte stream of where the message header starts.
|
static OptionsHeader |
getOptionsHeader(byte[] bytes)
Reads options header from byte stream
|
java.lang.String |
toString() |
public static OptionsHeader getOptionsHeader(byte[] bytes)
bytes
- public int getNextPart()
public java.lang.String getMobileId()
public byte getMobileIdType()
public java.lang.String toString()
toString
in class java.lang.Object