marklife / core/src / YXQ_QUERY_OPCODES
Variable: YXQ_QUERY_OPCODES
constYXQ_QUERY_OPCODES:object
YXQ-stream status reply opcodes.
Best-effort: each query claims its own leading byte rather than sharing a documented enum, so this table is inferred and awaits capture against hardware. The query commands themselves are 1F 20 00 (status), 1F 80 00 (paper type) and the 10 FF 20 Fx info family.
Type Declaration
battery
readonlybattery:16=0x10
firmware
readonlyfirmware:17=0x11
printerPrepare
readonlyprinterPrepare:19=0x13
printerStatus
readonlyprinterStatus:18=0x12