Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
SdlPsm

Class SdlPsm

Hierarchy

java.lang.Object

Package
com.smartdevicelink.transport

Fields

START_STATE

public static final int START_STATE

SERVICE_TYPE_STATE

public static final int SERVICE_TYPE_STATE
Constant Value
2

CONTROL_FRAME_INFO_STATE

public static final int CONTROL_FRAME_INFO_STATE
Constant Value
3

SESSION_ID_STATE

public static final int SESSION_ID_STATE
Constant Value
4

DATA_SIZE_1_STATE

public static final int DATA_SIZE_1_STATE
Constant Value
5

DATA_SIZE_2_STATE

public static final int DATA_SIZE_2_STATE
Constant Value
6

DATA_SIZE_3_STATE

public static final int DATA_SIZE_3_STATE
Constant Value
7

DATA_SIZE_4_STATE

public static final int DATA_SIZE_4_STATE
Constant Value
8

MESSAGE_1_STATE

public static final int MESSAGE_1_STATE
Constant Value
9

MESSAGE_2_STATE

public static final int MESSAGE_2_STATE
Constant Value
10

MESSAGE_3_STATE

public static final int MESSAGE_3_STATE
Constant Value
11

MESSAGE_4_STATE

public static final int MESSAGE_4_STATE
Constant Value
12

DATA_PUMP_STATE

public static final int DATA_PUMP_STATE
Constant Value
13

FINISHED_STATE

public static final int FINISHED_STATE
Constant Value
255

ERROR_STATE

public static final int ERROR_STATE
Constant Value
-1

Constructors

SdlPsm()

public SdlPsm()

Methods

handleByte( byte data )

public boolean handleByte(byte data)

Method Parameters

data

getFormedPacket()

public com.smartdevicelink.protocol.SdlPacket getFormedPacket()

getState()

public int getState()

reset()

public void reset()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section