com.anwrt.communication
Interface ComConstants


public interface ComConstants

This interface provides a set of constants.
creation : 26 sept. 2008

Author:
David FRANCOIS

Field Summary
static int AWT_PARAM_ERROR
          MicroProtocol Status code OK
static int AWT_STATUS_OK
          MicroProtocol Status code OK
static int AWT_STATUS_SERVER_FAILURE
          MicroProtocol Status code SERVER_FAILURE
static int AWT_STATUS_SERVER_UNREACHABLE
          MicroProtocol Status code SERVER_UNREACHABLE
static int FORCE_CONNECT_COMMAND
          Message type for forcing the M2MAgent to connect to the server.
static int GET_VARIABLE_COMMAND
          Message type for retrieving variables from M2MAgent.
static int NEW_SMS_COMMAND
          Message type to send a new SMS or to notify a client that a new message is received.
static int NOTIFY_SOFTWARE_VERSION_COMMAND
          Message type for software-update-result notification
static int NOTIFY_VARIABLE_COMMAND
          Message type for notifying M2MAgent variables.
static int REGISTER_CLIENT
          Message type to registering as a client to the M2MAgent.
static int REGISTER_SMS_LISTENER_COMMAND
          Message type to register a SMS listener.
static int REGISTER_VARIABLE_COMMAND
          Message type for registering M2MAgent variables.
static int SEND_DATA_COMMAND
          Message type for sending data to the M2MAgent.
static int SET_VARIABLE_COMMAND
          Message type for setting M2MAgent variables.
static int SOFTWARE_UPDATE_COMMAND
          Message type for software-update's notification.
 

Field Detail

SEND_DATA_COMMAND

static final int SEND_DATA_COMMAND
Message type for sending data to the M2MAgent.

See Also:
Constant Field Values

REGISTER_CLIENT

static final int REGISTER_CLIENT
Message type to registering as a client to the M2MAgent.

See Also:
Constant Field Values

FORCE_CONNECT_COMMAND

static final int FORCE_CONNECT_COMMAND
Message type for forcing the M2MAgent to connect to the server.

See Also:
Constant Field Values

REGISTER_SMS_LISTENER_COMMAND

static final int REGISTER_SMS_LISTENER_COMMAND
Message type to register a SMS listener.

See Also:
Constant Field Values

NEW_SMS_COMMAND

static final int NEW_SMS_COMMAND
Message type to send a new SMS or to notify a client that a new message is received.

See Also:
Constant Field Values

GET_VARIABLE_COMMAND

static final int GET_VARIABLE_COMMAND
Message type for retrieving variables from M2MAgent.

See Also:
Constant Field Values

SET_VARIABLE_COMMAND

static final int SET_VARIABLE_COMMAND
Message type for setting M2MAgent variables.

See Also:
Constant Field Values

REGISTER_VARIABLE_COMMAND

static final int REGISTER_VARIABLE_COMMAND
Message type for registering M2MAgent variables.

See Also:
Constant Field Values

NOTIFY_VARIABLE_COMMAND

static final int NOTIFY_VARIABLE_COMMAND
Message type for notifying M2MAgent variables.

See Also:
Constant Field Values

SOFTWARE_UPDATE_COMMAND

static final int SOFTWARE_UPDATE_COMMAND
Message type for software-update's notification.

See Also:
Constant Field Values

NOTIFY_SOFTWARE_VERSION_COMMAND

static final int NOTIFY_SOFTWARE_VERSION_COMMAND
Message type for software-update-result notification

See Also:
Constant Field Values

AWT_STATUS_OK

static final int AWT_STATUS_OK
MicroProtocol Status code OK

See Also:
Constant Field Values

AWT_PARAM_ERROR

static final int AWT_PARAM_ERROR
MicroProtocol Status code OK

See Also:
Constant Field Values

AWT_STATUS_SERVER_UNREACHABLE

static final int AWT_STATUS_SERVER_UNREACHABLE
MicroProtocol Status code SERVER_UNREACHABLE

See Also:
Constant Field Values

AWT_STATUS_SERVER_FAILURE

static final int AWT_STATUS_SERVER_FAILURE
MicroProtocol Status code SERVER_FAILURE

See Also:
Constant Field Values