summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLReadDID.h
blob: 76df4a592b00c7d4cbf15858c77725a2f4e9801e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//  SDLReadDID.h
//


#import "SDLRPCRequest.h"

/**
 * 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
 * <p>
 * Function Group: ProprietaryData
 * <p>
 * <b>HMILevel needs to be FULL, LIMITED or BACKGROUND</b>
 * <p>
 *
 * Since SmartDeviceLink 2.0
 */
@interface SDLReadDID : SDLRPCRequest {
}

/**
 * @abstract Constructs a new SDLReadDID object
 */
- (instancetype)init;

/**
 * @abstract Constructs a new SDLReadDID object indicated by the dictionary parameter
 * @param dict The dictionary to use
 */
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;

/**
 * @abstract An ID of the vehicle module
 *            <br/><b>Notes: </b>Minvalue:0; Maxvalue:65535
 */
@property (strong) NSNumber *ecuName;

/**
 * @abstract Raw data from vehicle data DID location(s)
 *            <br/>a Vector<Integer> value representing raw data from vehicle
 *            data DID location(s)
 *            <p>
 *            <b>Notes: </b>
 *            <ul>
 *            <li>Minvalue:0; Maxvalue:65535</li>
 *            <li>ArrayMin:0; ArrayMax:1000</li>
 *            </ul>
 */
@property (strong) NSMutableArray *didLocation;

@end