haruzira_sdk 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/haruzira_sdk/HzClientTcpCommunication.rb +3 -3
- data/lib/haruzira_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7110620c69cacbd4553f479c7a7f20e0352d0e9
|
|
4
|
+
data.tar.gz: 1e43982cccb3757e85fe25eb7ee93931ebff1438
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a380703cde81334a10284a20eccd5beea554af93f3a4d5fcfcadc7f96502938566ff33a09970fe0a49beb8efbe4f9488584064dd970ccc8c7fa3a8dbfa33be1
|
|
7
|
+
data.tar.gz: 4fb1570d6adeb9499f8bb8c1a11e13677e2af49b5a1f95d3f4816abd352fdba4f96ca4e01187be4b63d5b2664c8460ef9c59f69636cd61cd036d4f9889acea79
|
|
@@ -75,7 +75,7 @@ class ClientTcpCommunication
|
|
|
75
75
|
@SendDataLength = 0
|
|
76
76
|
@ReceiveStatus = 0x00
|
|
77
77
|
@ReceiveAckTimeOut = RECEIVE_TIME_OUT
|
|
78
|
-
@Version = "1.2.
|
|
78
|
+
@Version = "1.2.2.0" #SDKバージョン
|
|
79
79
|
|
|
80
80
|
#メッセージ受信時イベント定義
|
|
81
81
|
@EvNotifyCompeteSpeech = nil #読み上げ完了通知受信時イベント
|
|
@@ -642,13 +642,13 @@ class ClientTcpCommunication
|
|
|
642
642
|
len, data = reqStartComm.makeSendData()
|
|
643
643
|
#p len, data
|
|
644
644
|
if(len > 0)
|
|
645
|
+
@ackStartCommAutoResetEvent.clear
|
|
645
646
|
@cltSocket.write(data.pack("C*"))
|
|
646
647
|
@cltSocket.flush
|
|
647
648
|
else
|
|
648
649
|
#raise("送信データの生成エラー。\r\n通信処理を停止します。")
|
|
649
650
|
raise("Creation error of sending data. and then the communicationn stop.")
|
|
650
651
|
end
|
|
651
|
-
@ackStartCommAutoResetEvent.clear
|
|
652
652
|
|
|
653
653
|
#HzTrace.traceCommMessage("【CL】通信開始要求送信(0x%02x):Cer[%d] Enc[%d], Port[%d], Name[%s], Passwd[%s], Name Len[%d], Passwd Len[%d]" % \
|
|
654
654
|
HzTrace.traceCommMessage("[CL]Send, Communication Start Request(0x%02x):Cer[%d] Enc[%d], Port[%d], Name[%s], Passwd[%s], Name Len[%d], Passwd Len[%d]" % \
|
|
@@ -817,13 +817,13 @@ class ClientTcpCommunication
|
|
|
817
817
|
#p len, data
|
|
818
818
|
#p len
|
|
819
819
|
if(len > 0)
|
|
820
|
+
@ackSendSpeechDataAutoResetEvent.clear
|
|
820
821
|
@cltSocket.write(data.pack("C*"))
|
|
821
822
|
@cltSocket.flush
|
|
822
823
|
else
|
|
823
824
|
#raise("送信データの生成エラー。\r\n通信処理を停止します。")
|
|
824
825
|
raise("Creation error of sending data. and then the communicationn stop.")
|
|
825
826
|
end
|
|
826
|
-
@ackSendSpeechDataAutoResetEvent.clear
|
|
827
827
|
|
|
828
828
|
#HzTrace.traceCommMessage("【CL】読み上げデータ送信(0x%02x):Enc[%d], Size[%d]" % [sendSpeechData.id, sendSpeechData.enc_flg, sendSpeechData.size])
|
|
829
829
|
HzTrace.traceCommMessage("[CL]Send, Send Speech Data(0x%02x):Enc[%d], Size[%d]" % [sendSpeechData.id, sendSpeechData.enc_flg, sendSpeechData.size])
|
data/lib/haruzira_sdk/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haruzira_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Symmetry Soft
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|