SDLReadDID Class Reference

Section Contents

Overview

Non periodic vehicle data read request. This is an RPC to get diagnostics data from certain vehicle modules. DIDs of a certain module might differ from vehicle type to vehicle type

Function Group: ProprietaryData

HMILevel needs to be FULL, LIMITED or BACKGROUND

Since SmartDeviceLink 2.0

-initWithECUName:didLocation:

Convenience init

Objective-C

- (nonnull instancetype)initWithECUName:(UInt16)ecuNumber
                            didLocation:(nonnull NSArray<NSNumber<SDLUInt> *> *)
                                            didLocation;

Swift

init(ecuName ecuNumber: UInt16, didLocation: [NSNumber & SDLUInt])

Parameters

ecuNumber

An ID of the vehicle module

didLocation

Raw data from vehicle data DID location(s)

Return Value

An SDLReadDID object

ecuName

An ID of the vehicle module
Notes: Minvalue:0; Maxvalue:65535

Objective-C

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

Swift

var ecuName: NSNumber & SDLInt { get set }

didLocation

Raw data from vehicle data DID location(s)
a Vector value representing raw data from vehicle data DID location(s)

Notes:

Mandatory, contains an integer

Objective-C

@property (nonatomic, strong) NSArray<NSNumber *> *_Nonnull didLocation;

Swift

var didLocation: [NSNumber] { get set }