Zum Inhalt springen

Laser/Hacking: Unterschied zwischen den Versionen

Pwnschlager (Diskussion | Beiträge)
Pwnschlager (Diskussion | Beiträge)
Zeile 42: Zeile 42:
Before sending the job to the lasercutter the driver sends and receives a few preflight messages.  
Before sending the job to the lasercutter the driver sends and receives a few preflight messages.  
We are unsure if they change when using the Network but they are omitted when saving a job to a file.  
We are unsure if they change when using the Network but they are omitted when saving a job to a file.  
Some consistencies can be found when examining these messages.
The laser always mirrors messages coming from the driver but changes one of the bytes and appends more data.
For example:
<pre>
# Message by driver
< 0x69 (i)
< 0x34 (4)
< 0xb8
< 0x4e (N)
# Response by Laser
> 0x69 (i) <-- mirrored
> 0xb4    <-- always changed from 0x34 to 0xb4
> 0xb8    <-- mirrored
> 0x4e (N) <-- mirrored
# More Data
> 0x36 (6)
> 0x2c (,)
> 0xb4
> 0x76 (v)
> 0x34 (4)
</pre>


===== Click 'Search' =====
===== Click 'Search' =====