Skip to content

Instantly share code, notes, and snippets.

@Rickedb
Created September 11, 2019 02:48
Show Gist options
  • Save Rickedb/ec67ed7d6fe36faee81f206a91405e73 to your computer and use it in GitHub Desktop.
Save Rickedb/ec67ed7d6fe36faee81f206a91405e73 to your computer and use it in GitHub Desktop.
Mid 0001 Start Communication
I: "00200001001 "
Mid 0002 Start Communication Acknowledge
C: "00570002001 010001020103Airbag1 "
Mid 0060 Last tightening result data subscribe (Receive every new tightening in real time)
I: "00200060001 "
Mid 0005 Command accepted (notice that the last 4 characters are the mid you send)
C: "00240005001 0060"
Consider communication being idle for 15 seconds and we should keep our connection alive
by sending a Keep Alive Mid.
Mid 9999 Keep Alive
I: "00209999 "
Mid 9999 Keep Alive (controller mirror it, by sending it back again)
C: "00209999 "
More 15 seconds...
Mid 9999 Keep Alive
I: "00209999 "
Mid 9999 Keep Alive (controller mirror it, by sending it back again)
C: "00209999 "
NEW TIGHTENING MADE BY OUR CONTROLLER INCOME!
Mid 0061 Last tightening result data
C: "02310061001 010001020103airbag7 04KPOL3456JKLO897 050006003070000080000090100111120008401300140014001200150007391600000170999918000001900000202001-06-02:09:54:09212001-05-29:12:34:33221230000345675"
Mid 0062 Last tightening result data acknowledge (basically say to the controller that we've received it!)
I: "00200062001 "
and it goes on.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment