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
iOS Documentation
SDLFrameType

SDLFrameType Enumeration Reference

Section Contents

Overview

The data packet’s header and payload combination.

SDLFrameTypeControl

Lowest-level type of packets. They can be sent over any of the defined services. They are used for the control of the services in which they are sent.

Objective-C

SDLFrameTypeControl = 0x00

Swift

case control = 0

SDLFrameTypeSingle

Contains all the data for a particular packet in the payload. The majority of frames sent over the protocol utilize this frame type.

Objective-C

SDLFrameTypeSingle = 0x01

Swift

case single = 1

SDLFrameTypeFirst

The First Frame in a multiple frame payload contains information about the entire sequence of frames so that the receiving end can correctly parse all the frames and reassemble the entire payload. The payload of this frame is only eight bytes and contains information regarding the rest of the sequence.

Objective-C

SDLFrameTypeFirst = 0x02

Swift

case first = 2

SDLFrameTypeConsecutive

The Consecutive Frames in a multiple frame payload contain the actual raw data of the original payload. The parsed payload contained in each of the Consecutive Frames’ payloads should be buffered until the entire sequence is complete.

Objective-C

SDLFrameTypeConsecutive = 0x03

Swift

case consecutive = 3
View on GitHub.com
Previous Section Next Section