1 package net.osdn.gokigen.pkremote.camera.vendor.ptpip.wrapper.command.messages.specific;
3 import androidx.annotation.NonNull;
5 import net.osdn.gokigen.pkremote.camera.vendor.ptpip.wrapper.command.IPtpIpCommandCallback;
6 import net.osdn.gokigen.pkremote.camera.vendor.ptpip.wrapper.command.messages.PtpIpCommandBase;
8 public class CanonRequestInnerDevelopStart extends PtpIpCommandBase
10 private final IPtpIpCommandCallback callback;
11 private final boolean isDumpLog;
14 private final byte data0;
15 private final byte data1;
16 private final byte data2;
17 private final byte data3;
19 public CanonRequestInnerDevelopStart(@NonNull IPtpIpCommandCallback callback, boolean isDumpLog, int id, int objectId)
21 this.callback = callback;
22 this.isDumpLog = isDumpLog;
25 data0 = ((byte) (0x000000ff & objectId));
26 data1 = ((byte)((0x0000ff00 & objectId) >> 8));
27 data2 = ((byte)((0x00ff0000 & objectId) >> 16));
28 data3 = ((byte)((0xff000000 & objectId) >> 24));
32 public IPtpIpCommandCallback responseCallback()
44 public boolean dumpLog()
50 public byte[] commandBody()
54 (byte) 0x06, (byte) 0x00, (byte) 0x00, (byte) 0x00,
57 (byte) 0x02, (byte) 0x00, (byte) 0x00, (byte) 0x00,
60 (byte) 0x41, (byte) 0x91,
63 (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
66 data0, data1, data2, data3,
69 (byte) 0x04, (byte) 0x00, (byte) 0x00, (byte) 0x00,
74 public byte[] commandBody2()
79 (byte) 0x09, (byte) 0x00, (byte) 0x00, (byte) 0x00,
82 (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
85 (byte) 0x08, (byte) 0x00, (byte) 0x00, (byte) 0x00,
86 (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
91 public byte[] commandBody3()
96 (byte) 0x0c, (byte) 0x00, (byte) 0x00, (byte) 0x00,
99 (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
102 (byte) 0x0f, (byte) 0x00, (byte) 0x00, (byte) 0x00,
103 (byte) 0x02, (byte) 0x00, (byte) 0x00, (byte) 0x00,