Changes

Jump to navigation Jump to search
4 bytes added ,  00:57, 23 June 2017
Line 213: Line 213:  
<code>
 
<code>
 
struct gesture {
 
struct gesture {
byte type;
+
:byte type;
byte flags;
+
:byte flags;
byte destination;
+
:byte destination;
char[] data;
+
:char[] data;
 
}; <br/>
 
}; <br/>
 
The struct omits the source identifier and checksum, which are inserted automatically by STINGR. It should be noted that the '''data''' field of the struct is '''only''' the payload -- STINGR inserts the start and end designators itself.
 
The struct omits the source identifier and checksum, which are inserted automatically by STINGR. It should be noted that the '''data''' field of the struct is '''only''' the payload -- STINGR inserts the start and end designators itself.

Navigation menu