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
SDLReadDID

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:

  • Minvalue:0; Maxvalue:65535
  • ArrayMin:0; ArrayMax:1000

Mandatory, contains an integer

Objective-C

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

Swift

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