SDLTransportError Enumeration Reference

Section Contents

Overview

Errors associated with transport.

SDLTransportErrorUnknown

Connection cannot be established due to a reason not listed here.

Objective-C

SDLTransportErrorUnknown = -1

Swift

case unknown = -1

SDLTransportErrorConnectionRefused

TCP connection is refused. Probably specified port number is invalid, or SDL Core is not running on the head unit.

Objective-C

SDLTransportErrorConnectionRefused = -2

Swift

case connectionRefused = -2

SDLTransportErrorConnectionTimedOut

TCP connection cannot be established within given time. Probably because of wrong IP address, or the connection may be blocked by a firewall.

Objective-C

SDLTransportErrorConnectionTimedOut = -3

Swift

case connectionTimedOut = -3

SDLTransportErrorNetworkDown

TCP connection cannot be established since network is down. Probably the phone is not connected to the correct network.

Objective-C

SDLTransportErrorNetworkDown = -4

Swift

case networkDown = -4