Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLDiagnosticMessage Class Reference

Section Contents

Overview

Non periodic vehicle diagnostic request

@since SDL 3.0

-initWithTargetId:length:data:

Undocumented

Objective-C

- (instancetype)initWithTargetId:(UInt16)targetId length:(UInt16)length data:(NSArray<NSNumber<SDLUInt> *> *)data;

Swift

init(targetId: UInt16, length: UInt16, data: [NSNumber & SDLUInt])

targetID

Name of target ECU

Required, Integer, 0 - 65535

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull targetID;

Swift

var targetID: NSNumber & SDLInt { get set }

messageLength

Length of message (in bytes)

Required, Integer, 65535

Objective-C

@property (readwrite, strong, nonatomic)
    NSNumber<SDLInt> *_Nonnull messageLength;

Swift

var messageLength: NSNumber & SDLInt { get set }

messageData

Array of bytes comprising CAN message.

Required, Array of NSNumber (Integers), Array size 1 - 65535, Integer Size 0 - 255

Objective-C

@property (readwrite, strong, nonatomic)
    NSArray<NSNumber<SDLInt> *> *_Nonnull messageData;

Swift

var messageData: [NSNumber & SDLInt] { get set }
View on GitHub.com
Previous Section Next Section