Package: CnsObjectIDs

CnsObjectIDs

nameinstructionbranchcomplexitylinemethod
CnsObjectIDs(String, int, int)
M: 11 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 4 C: 0
0%
M: 1 C: 0
0%
getObjectID()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
static {...}
M: 334 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 37 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011, 2016 Eurotech and/or its affiliates
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License v1.0
6: * which accompanies this distribution, and is available at
7: * http://www.eclipse.org/legal/epl-v10.html
8: *
9: * Contributors:
10: * Eurotech
11: *******************************************************************************/
12: package org.eclipse.kura.net.admin.modem.sierra;
13:
14: public enum CnsObjectIDs {
15:
16: // Radio Information
17: OBJID_RSSI(0x1001),
18: OBJID_CHANNEL_NUMBER(0x1004),
19: OBJID_CHANNEL_STATE(0x1005),
20: OBJID_CURRENT_BAND_CLASS(0x4008),
21:
22: // Network information
23: OBJID_SID_VALUE(0x4001),
24: OBJID_NID_VALUE(0x4002),
25: OBJID_SRVC_INDICATION(0x1006),
26: OBJID_ROAMING_STATUS(0x1007),
27:
28: // Hardware information
29: OBJID_ESN(0x1000),
30: OBJID_PRLVER(0x1008),
31: OBJID_FIRMWARE_VERSION(0x0001),
32: OBJID_FIRMWARE_DATE(0x0002),
33: OBJID_BOOT_VERSION(0x0004),
34:
35: // Data summary
36: OBJID_CALL_BYTE_CNT(0x3001),
37:
38: // Account Reference
39: OBJID_ACTIVATION_STATUS(0x1009),
40: OBJID_ACTIVATION_DATE(0x1037),
41: OBJID_ACTIVE_NAM(0x101f),
42: OBJID_PHONE_NO(0x1002),
43: OBJID_MDN(0x1038),
44: OBJID_MIN(0x1039),
45:
46: // Call status
47: OBJID_CALL_NOTIFICATION(0x3000), // Call Notification Status (Get)
48: OBJID_CALL_DISCONNECTED(0x300C),         // call disconnected
49: OBJID_CALL_CONNECTING(0x3011),         // connecting
50: OBJID_CALL_CONNECTED(0x300A),         // call connected
51: OBJID_CALL_DORMANT(0x3012), // call dormant
52: OBJID_CALL_ERROR(0x300E),         // call error
53:
54: // OMA-DM
55: OBJID_DMCONFIG(0x0E00), // DM Configuration
56: OBJID_DMSTART(0x0E01), // Start DM Session
57: OBJID_DMSTATE(0x0E03), // DM session state
58:
59: OBJID_RADIO_PWR(0x0007); // Radio Power (Set|Get|Notify)
60:
61: private int m_objID = 0;
62:
63: private CnsObjectIDs(int objID) {
64: this.m_objID = objID;
65: }
66:
67: public int getObjectID() {
68: return this.m_objID;
69: }
70: }