wip crack encoder
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { LoadConfigResponse } from "../response/loadConfig";
|
||||
|
||||
export function loadConfig(res: LoadConfigResponse) {
|
||||
const buf = Buffer.alloc(0x01a0);
|
||||
|
||||
buf.writeInt16LE(0x0005, 0x0000);
|
||||
buf.writeInt8(res.status, 0x0002);
|
||||
|
||||
return buf;
|
||||
}
|
||||
Reference in New Issue
Block a user