User Tools

Site Tools


config:remotecontrol:dhd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
config:remotecontrol:dhd [2019/07/09 16:18] – external edit 127.0.0.1config:remotecontrol:dhd [2019/09/03 10:12] – Beispiel hinzugefügt tondose
Line 237: Line 237:
     Data0, Data1, Data2, Data3, Data4, Data5, Data6, Data7: byte);     Data0, Data1, Data2, Data3, Data4, Data5, Data6, Data7: byte);
   begin   begin
 +  end;
 +
 +… where {{:wiki:zeichen_123_-_arbeitsstelle_stvo_2013.svg.png?25|}}
 +
 +  * ''Remote'' represents the ID of the respective DHD device,
 +  * ''ID'' represents the //LogicID// of the respective DHD control in hexadecimal numbers,
 +  * ''Len'' represents the number of data bytes received, and
 +  * ''Data<n>'' represent the individual data bytes sent.
 +
 +So in this example …
 +
 +{{ :config:remotecontrol:20171124-132733_mit_hervorhebung.png?400 |}}
 +
 +… a query for the highlighted data packet might look like this:
 +
 +  procedure OnDHDCommand(Remote: IDHDRemote; ID: cardinal; Len: integer;    
 +    Data0, Data1, Data2, Data3, Data4, Data5, Data6, Data7: byte);
 +  begin
 +    if (ID = $01F3FFFF) AND (Data0 = 0) AND (Data1 = 15) AND (Data2 = 0) then begin
 +      // do something
 +    end;
   end;   end;
  
  
config/remotecontrol/dhd.txt · Last modified: 2019/10/28 06:22 by tondose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki