mec_to_sam - 24leesten/SimU-Wiki GitHub Wiki
MEC to SAM
1 Bytes - control
Exec control: chr(1)
16 Bytes - Sim UUID
16 Bytes - Run UUID
4 Bytes - number of Arguments
For number of args:
1B - Arg Type
4B - Arg Name bytes (unsigned)
?? - Arg Name (unsigned)
4B - Arg bytes (unsigned)
?? - Arg data (length specified by arg bytes)
Stop control: chr(2)
16 Bytes - Sim UUID
16 Bytes - Run UUID
Add sim control: chr(3)
Not Yet Implemented
Remove sim control: chr(4)
Not Yet Implemented