<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:protocol_reference

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:v2:protocol_reference [2018/10/10 17:36]
pixycam [getResolution()]
wiki:v2:protocol_reference [2018/10/10 19:33]
pixycam
Line 56: Line 56:
 |3 |Length of payload |7 | |3 |Length of payload |7 |
 |4 - 5 |16-bit checksum | sum of payload bytes | |4 - 5 |16-bit checksum | sum of payload bytes |
-|6 - 7 |Hardware ​version | (varies) |+|6 - 7 |16-bit hardware ​version | (varies) |
 |8 |Firmware version (major) | (varies) | |8 |Firmware version (major) | (varies) |
 |9 |Firmware version (minor) | (varies) | |9 |Firmware version (minor) | (varies) |
Line 105: Line 105:
 |2 |Type of packet |18 | |2 |Type of packet |18 |
 |3 |Length of payload |4 | |3 |Length of payload |4 |
-|4 - 5 |s0 - pan servo value |0 - 511 | +|4 - 5 |16-bit ​s0 - pan servo value |0 - 511 | 
-|6 - 7 |s1 - tilt servo value |0 - 511 |+|6 - 7 |16-bit ​s1 - tilt servo value |0 - 511 |
  
 === Response: === === Response: ===
Line 115: Line 115:
 |3 |Length of payload |4 | |3 |Length of payload |4 |
 |4 - 5 |16-bit checksum | sum of payload bytes | |4 - 5 |16-bit checksum | sum of payload bytes |
-|6 - 9 |32-bit result |result value |+|6 - 9 |32-bit result/​acknowledge ​|result value |
 ==== setLED(r, g, b) ==== ==== setLED(r, g, b) ====
  
Line 134: Line 134:
 |3 |Length of payload |4 | |3 |Length of payload |4 |
 |4 - 5 |16-bit checksum | sum of payload bytes | |4 - 5 |16-bit checksum | sum of payload bytes |
-|6 - 9 |32-bit result | result value |+|6 - 9 |32-bit result/​acknowledge ​| result value |
 ==== setLamp(upper,​ lower) ==== ==== setLamp(upper,​ lower) ====
  
Line 152: Line 152:
 |3 |Length of payload |4 | |3 |Length of payload |4 |
 |4 - 5 |16-bit checksum | sum of payload bytes | |4 - 5 |16-bit checksum | sum of payload bytes |
-|6 - 9 |32-bit result | result value |+|6 - 9 |32-bit result/​acknowledge ​| result value |
 ==== getFPS() ==== ==== getFPS() ====
  
Line 169: Line 169:
 |3 |Length of payload |4 | |3 |Length of payload |4 |
 |4 - 5 |16-bit checksum | sum of payload bytes | |4 - 5 |16-bit checksum | sum of payload bytes |
-|6 - 9 |32-bit result | result value |+|6 - 9 |32-bit result | frames-per-second ​|
  
 {{page>​wiki:​v2:​ccc-packets&​noindent}} {{page>​wiki:​v2:​ccc-packets&​noindent}}
 {{page>​wiki:​v2:​line-packets&​noindent}} {{page>​wiki:​v2:​line-packets&​noindent}}
 {{page>​wiki:​v2:​video-packets&​noindent}} {{page>​wiki:​v2:​video-packets&​noindent}}
wiki/v2/protocol_reference.txt · Last modified: 2020/05/29 00:02 by pixycam