OSDN Git Service

Seq番号の更新を見直し、接続の安定性を上げる。
[gokigen/FujiCam.git] / app / src / main / java / net / osdn / gokigen / cameratest / fuji / MessageSequence.java
index 763cad0..b61b782 100644 (file)
@@ -25,12 +25,12 @@ class MessageSequence
                 (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
 
 /**/
-                // device_name 'GOKIGEN____012345'
+                // device_name 'GOKIGEN____012345678'
                 (byte)0x47, (byte)0x00, (byte)0x4f, (byte)0x00, (byte)0x4b, (byte)0x00, (byte)0x49, (byte)0x00,
                 (byte)0x47, (byte)0x00, (byte)0x45, (byte)0x00, (byte)0x4e, (byte)0x00, (byte)0x5f, (byte)0x00,
                 (byte)0x5f, (byte)0x00, (byte)0x5f, (byte)0x00, (byte)0x5f, (byte)0x00, (byte)0x30, (byte)0x00,
                 (byte)0x31, (byte)0x00, (byte)0x32, (byte)0x00, (byte)0x33, (byte)0x00, (byte)0x34, (byte)0x00,
-                (byte)0x35, (byte)0x00, (byte)0x36, (byte)0x00, (byte)0x37, (byte)0x00, (byte)0x00, (byte)0x00,
+                (byte)0x35, (byte)0x00, (byte)0x36, (byte)0x00, (byte)0x37, (byte)0x00, (byte)0x38, (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,
 /**/
@@ -56,14 +56,6 @@ class MessageSequence
         return (new byte[] { (byte)0xff, (byte)0xff, (byte)0xff, (byte)0xff, });
     }
 
-    byte[] hello_message()
-    {
-        return (new byte[] {
-                // HELLO (0x0000)
-                0x00, 0x00,
-        });
-    }
-
     byte[] start_message()
     {
         return (new byte[] {
@@ -135,7 +127,6 @@ class MessageSequence
         });
     }
 
-
     byte[] start_message4()
     {
         return (new byte[] {
@@ -325,7 +316,6 @@ class MessageSequence
         });
     }
 
-
     byte[] execute_focus_unlock()
     {
         return (new byte[] {