/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Eurotech *******************************************************************************/ package org.eclipse.kura.net.admin.modem.hspa; public enum HspaModemAtCommands { at("at\r\n"), getSimPinStatus("at+cpin?\r\n"), getModelNumber("at+gmm\r\n"), getManufacturer("at+gmi\r\n"), getSerialNumber("at+cgsn\r\n"), getRevision("at+gmr\r\n"), getIMSI("at+cimi\r\n"), getICCID("at+ccid\r\n"), getSignalStrength("at+csq\r\n"), getMobileStationClass("at+cgclass?\r\n"), getRegistrationStatus("at+cgreg?\r\n"), pdpContext("at+cgdcont"); private String m_command; private HspaModemAtCommands(String atCommand) { this.m_command = atCommand; } public String getCommand() { return this.m_command; } }