scan_beacon 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scan_beacon/ble112_device.rb +1 -1
- data/lib/scan_beacon/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: 453a795addb54b043ac29982f0395fbb5743a1d0
|
4
|
+
data.tar.gz: 4fd59e1a99885c0cf5e17cd7877ad363e73a0c1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 582c93d0c9fbf5ea888c9dab95bf497f96117c59a728af7d4c50cd123ebe718d487153e249e1095fa284f792d43f7b41999d902ba1643ba0a9ed31af5ac0a349
|
7
|
+
data.tar.gz: 49edf9cc43da116604e454ace44e45916acf6f688ba4834954e1994bf07bf830efa6f00dd6c58d87b517c15aa013cb27b3ed7586e4a2c7f446aaa92d3add6972
|
@@ -60,7 +60,7 @@ module ScanBeacon
|
|
60
60
|
# use a timeout here because we're using this to detect BLE112s and if it
|
61
61
|
# isn't one, it may not respond right away
|
62
62
|
response = bg_command(@file, BG_MSG_CLASS_SYSTEM, BG_GET_ADDRESS,nil,nil,0.2)
|
63
|
-
response[4..-1].reverse.unpack("H2:H2:H2:H2:H2:H2").join(":") if response.length == 10
|
63
|
+
response[4..-1].reverse.unpack("H2:H2:H2:H2:H2:H2").join(":") if response && response.length == 10
|
64
64
|
end
|
65
65
|
|
66
66
|
def start_scan
|
data/lib/scan_beacon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scan_beacon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Radius Networks
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|