extface 0.4.4b → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/extface/driver/datecs/fp550.rb +2 -2
- data/lib/extface/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1fb153be4b786f7f0574623014637c42d2ab2de
|
4
|
+
data.tar.gz: 76589006249f17992364eec1b9c3b764e94e86f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a96cd24d0fa0e201d09641c7006234541b1c47dd5f92529a94d27c7fb43176b589b2842791a9cb30943bd4b7dc7695aafecfa1c80d3c412764414e29141b707d
|
7
|
+
data.tar.gz: 79a0c1033781abedef8cdb4c17d424a6575c943c12d200cb713060eef8f061fee1161fc45a436a19805f98511fef383151e0e2aed20d3e05855423790576e1ad
|
@@ -24,7 +24,7 @@ module Extface
|
|
24
24
|
|
25
25
|
def fsend(cmd, data = "") #return data or nil
|
26
26
|
packet_data = build_packet(cmd, data) #store packet to be able to re-transmit it with the same sequence number
|
27
|
-
|
27
|
+
p packet_data
|
28
28
|
invalid_frames = 0 #counter for bad responses
|
29
29
|
nak_messages = 0 #counter for rejected packets (should re-transmit the packet)
|
30
30
|
push packet_data #send packet
|
@@ -63,7 +63,7 @@ module Extface
|
|
63
63
|
|
64
64
|
def frecv(timeout) # return RespFrame or nil
|
65
65
|
if frame_bytes = pull(timeout)
|
66
|
-
return
|
66
|
+
return RespFrame.new(frame_bytes.b)
|
67
67
|
else
|
68
68
|
errors.add :base, "No data received from device"
|
69
69
|
return nil
|
data/lib/extface/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extface
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Vangelov
|
@@ -240,9 +240,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
240
240
|
version: '0'
|
241
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
242
|
requirements:
|
243
|
-
- - "
|
243
|
+
- - ">="
|
244
244
|
- !ruby/object:Gem::Version
|
245
|
-
version:
|
245
|
+
version: '0'
|
246
246
|
requirements: []
|
247
247
|
rubyforge_project:
|
248
248
|
rubygems_version: 2.4.6
|