-
Notifications
You must be signed in to change notification settings - Fork 19
Printer Lock Unlock Command
James Sutton edited this page Jan 7, 2017
·
1 revision
This command is sent before and after a photo is printed. Before the photo is printed, 1
is sent to lock the device, and after 0
is sent to unlock the device. This is presumably used to prevent other users or clients attempting to send photos whilst a print is in progress.
Byte | Description | Hex | Notes |
Payload | |||
Byte 1 | Lock Byte | 01 | Either 1 for Lock, or 0 for unlock |
Byte 2 | 00 | ||
Byte 3 | 00 | ||
Byte 4 | 00 |
No response payload is sent, as all the client needs to do is check that the return code is 0.
Byte | Description | Hex | Notes |
Payload | |||
Byte 12 | Return Code | 00 | See [Return Codes](https://github.com/jpwsutton/instax_api/wiki/Return-Codes) |
Byte 13 | 00 | Unknown.. | |
Byte 14 | Ejecting | 00 | (b14 >> 2 )& 1 |
Byte 15 | 3a | Unknown.. |