gpsd_baud_rate 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75181cca77379dac1e13489449b6e5044df60975b425c7d8e04ec2c9060009f8
4
- data.tar.gz: 19baba5ad478b3aef6048bd7f159e720118bb3c5d947eaec5d1ff6be92fed467
3
+ metadata.gz: b2f75b1396a58899a975340be76c35f529bfb8b0e237ac1836f16f6304e17676
4
+ data.tar.gz: 800656f2f29ce0ab9da7cc05d8ff7a4fdcb983563f01cf5262729421eb345ebc
5
5
  SHA512:
6
- metadata.gz: a3b80cce3ed695f62ec4f995736a2596451c2503a7ebc265f939f6d823a1c43d51018b70075c4b3fc721e34b23b44a7d6dcf79563dee3d1327f012c1ea3950f3
7
- data.tar.gz: 83f70272821f1933b5eb7099ef20f88382f839c1a265ed741eef7281883d5988e51b6e8751c8fe42de7f3b8c2d330885f58c8f2afbdd0f8f18451cdd5a0c2d6e
6
+ metadata.gz: d6505d6cc639b7b684b5295601f69798e1989a68a6a37c8b3c0b2b8d25b8a5bdc5c9c009da91c3a0dadb8be0c5bb5aa2b50f937c5f15de45060e4176bb745fdc
7
+ data.tar.gz: a729c439a6189d9988c3a0a81ef296a22c082e538a869095b3efc369efae97fa3d8a5f18e8f1fff754773f23b2e4a12afcb9228d31e92491ee23cf0c6b9ad7b0
@@ -172,8 +172,11 @@ private
172
172
  end
173
173
  @logger.debug "Bytes Written: #{count}"
174
174
 
175
+ @logger.debug "Sleeping 2 seconds..."
176
+ sleep 2
177
+
175
178
  begin
176
- @logger.debug "Receive response @ #{@goal_rate}"
179
+ @logger.debug "Receive response @ #{@goal_rate}, #{@goal_rate.class}"
177
180
  ser = SerialPort.open( @@device, @goal_rate, 8, 1, SerialPort::NONE) { |ser|
178
181
  ser.read_timeout = 900
179
182
  10.times {results << ser.readline(100)}
@@ -184,6 +187,7 @@ private
184
187
  @logger.debug "Error: #{e.inspect}"
185
188
  end
186
189
  results.each { |r| @logger.debug "Results: #{r}"}
190
+
187
191
  GpsdBaudRate::gpsd_start
188
192
 
189
193
  end
@@ -1,3 +1,3 @@
1
1
  class GpsdBaudRate
2
- VERSION = "0.1.26"
2
+ VERSION = "0.1.27"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpsd_baud_rate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Finnegan