Difference between revisions of "Kameie"

From wiki.ferrari.mo.it
Jump to navigation Jump to search
Line 7: Line 7:
 
Authentication
 
Authentication
  
  { "pin": "XXXXXXXX" }
+
  { "pin": "00000000" }
 
  { "success": [true|false] }
 
  { "success": [true|false] }
  
Line 13: Line 13:
  
 
  { "command": "[preview|save|rugosity|colorChange|bubbles]", "msgId": I, "camera": J, ["prefix": "KKK"], ["left": L], ["right": M], ["junction": [true|false]] }
 
  { "command": "[preview|save|rugosity|colorChange|bubbles]", "msgId": I, "camera": J, ["prefix": "KKK"], ["left": L], ["right": M], ["junction": [true|false]] }
  { "success": [true|false], "communicationId": I, "camera": J, ["errorCode": N],
+
  { "success": [true|false], "communicationId": I, "camera": J, ["errorCode": N], ["avgIntensity": O], ["maxIntensity": P], ["extension": Q], ["redDiff": R], ["greenDiff": S], ["blueDiff": T], ["number": U], ["maxDimension": V] }
 +
 
 +
Configuration commands
 +
 
 +
{ "settings": "[setDutyCycles|pwmOn|pwmOff]", "msgId": I, "pwmId": J, ["white": K], ["red": L], ["green": M], ["blue": N] }
 +
{ "success": [true|false], "communicationId": I, "pwmId": J, ["errorCode": N] }

Revision as of 14:48, 8 April 2020

Schema

Kameie.png

Protocol

Authentication

{ "pin": "00000000" }
{ "success": [true|false] }

Manual commands

{ "command": "[preview|save|rugosity|colorChange|bubbles]", "msgId": I, "camera": J, ["prefix": "KKK"], ["left": L], ["right": M], ["junction": [true|false]] }
{ "success": [true|false], "communicationId": I, "camera": J, ["errorCode": N], ["avgIntensity": O], ["maxIntensity": P], ["extension": Q], ["redDiff": R], ["greenDiff": S], ["blueDiff": T], ["number": U], ["maxDimension": V] }

Configuration commands

{ "settings": "[setDutyCycles|pwmOn|pwmOff]", "msgId": I, "pwmId": J, ["white": K], ["red": L], ["green": M], ["blue": N] }
{ "success": [true|false], "communicationId": I, "pwmId": J, ["errorCode": N] }