summaryrefslogtreecommitdiff
path: root/docs/Classes/SDLReadDID.html
blob: 5a59fb14912971c2e72bf7dbbfda6babd5d48a53 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<h1>SDLReadDID Class Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section--initWithECUName:didLocation:">-initWithECUName:didLocation:</a></li>
  <li><a href="#section-ecuName">ecuName</a></li>
  <li><a href="#section-didLocation">didLocation</a></li>
</ul>

<h3>Overview</h3>

<p>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></p>

<p>Since SmartDeviceLink 2.0</p>


<section class="section task-group-section">
  <h3 id="section--initWithECUName:didLocation:">
      -initWithECUName:didLocation:
  </h3>
  
  <p>Undocumented</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight"><code><span class="k">@interface</span> <span class="nc">SDLReadDID</span> <span class="p">:</span> <span class="nc"><a href="../Classes/SDLRPCRequest.html">SDLRPCRequest</a></span></code></pre>

  
  
  
  
  <h3 id="section-ecuName">
      ecuName
  </h3>
  
  <p>@abstract An ID of the vehicle module
           <br/><b>Notes: </b>Minvalue:0; Maxvalue:65535</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight"><code><span class="k">@property</span> <span class="p">(</span><span class="n">readwrite</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">nonatomic</span><span class="p">)</span> <span class="n">NSNumber</span><span class="o">&lt;</span><span class="n"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span><span class="o">&gt;</span> <span class="o">*</span><span class="n">_Nonnull</span> <span class="n">ecuName</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight"><code><span class="k">var</span> <span class="nv">ecuName</span><span class="p">:</span> <span class="kt">NSNumber</span> </code></pre>

  
  
  
  <h3 id="section-didLocation">
      didLocation
  </h3>
  
  <p>@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></p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight"><code><span class="k">@property</span> <span class="p">(</span><span class="n">readwrite</span><span class="p">,</span> <span class="n">strong</span><span class="p">,</span> <span class="n">nonatomic</span><span class="p">)</span>
    <span class="n">NSArray</span><span class="o">&lt;</span><span class="n">NSNumber</span><span class="o">&lt;</span><span class="n"><a href="../Protocols.html#/c:objc(pl)SDLInt">SDLInt</a></span><span class="o">&gt;</span> <span class="o">*&gt;</span> <span class="o">*</span><span class="n">_Nonnull</span> <span class="n">didLocation</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight"><code><span class="k">var</span> <span class="nv">didLocation</span><span class="p">:</span> <span class="p">[</span><span class="kt">NSNumber</span> </code></pre>

  
  
  
</section>