OSDN Git Service

Kodak PIXPRO WPZ2 対応の準備。(LVがまだ)
[gokigen/A01d.git] / app / src / main / java / net / osdn / gokigen / a01d / camera / kodak / wrapper / command / messages / connection / KodakConnectSequence10.java
1 package net.osdn.gokigen.a01d.camera.kodak.wrapper.command.messages.connection;
2
3 import androidx.annotation.Nullable;
4
5 import net.osdn.gokigen.a01d.camera.kodak.wrapper.command.IKodakCommandCallback;
6 import net.osdn.gokigen.a01d.camera.kodak.wrapper.command.messages.KodakCommandBase;
7
8 import static net.osdn.gokigen.a01d.camera.kodak.wrapper.command.messages.IKodakMessages.SEQ_CONNECT_10;
9
10 public class KodakConnectSequence10 extends KodakCommandBase
11 {
12     private final IKodakCommandCallback callback;
13
14     public KodakConnectSequence10(@Nullable IKodakCommandCallback callback)
15     {
16         this.callback = callback;
17     }
18
19     @Override
20     public int getId()
21     {
22         return SEQ_CONNECT_10;
23     }
24
25     @Override
26     public byte[] commandBody()
27     {
28         return (new byte[]
29                 {
30                         (byte) 0x2e , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0xba , (byte) 0x0b , (byte) 0x00 , (byte) 0x00 , (byte) 0x01 , (byte) 0x10 , (byte) 0x00 , (byte) 0x80 ,
31                         (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x01 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 ,
32                         (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 ,
33                         (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 ,
34                         (byte) 0xff , (byte) 0xff , (byte) 0xff , (byte) 0xff , (byte) 0x00 , (byte) 0x00 , (byte) 0x00 , (byte) 0x00
35                 });
36     }
37
38     @Override
39     public IKodakCommandCallback responseCallback()
40     {
41         return (this.callback);
42     }
43 }