Administrator
2022-03-31 5eb78ca9805457be5d18664dab17ed9897995426
BattFBS9600_ForFG/src/com/dev/fg/FBS9600_SocketClient2.java
@@ -441,7 +441,7 @@
              tmpbf.get(cipher_tx_t);
            //=====================================================================//
              Date d1 = new Date();
              System.err.println("发送数据:"+ComFn.bytesToHexString(cipher_tx_t, cipher_tx_t.length));
              //System.err.println("发送数据:"+ComFn.bytesToHexString(cipher_tx_t, cipher_tx_t.length));
              int rx_read_time_out = 0; 
              out.write(cipher_tx_t);
             out.flush();
@@ -489,7 +489,7 @@
              byte[] cipher_buf = new byte[bytebuffer_for_socket_RX.limit()];
            byte[] plain_buf = new byte[bytebuffer_for_socket_RX.limit()];
            bytebuffer_for_socket_RX.get(cipher_buf);
            System.out.println("接收数据:"+ComFn.bytesToHexString(cipher_buf,cipher_buf.length));
            //System.out.println("接收数据:"+ComFn.bytesToHexString(cipher_buf,cipher_buf.length));
            if((cipher_buf.length > 8) && (true == getDataFromCommBuf(cipher_buf))) {
                 rx_errcount_for_live_of_thread = 0;
                 res_t = true;
@@ -531,8 +531,8 @@
                 isSuccess = true;
              }
           }
         System.out.println(tmp_buf);
         System.out.println(bf.limit());
         //System.out.println(tmp_buf);
         //System.out.println(bf.limit());
         if(FBS9600_ComBase.CMD_SysInfo_Addr == tmp_buf.getTrans()) {
            System.err.println(bf.limit());