hcitools_wrapper 0.1.6 → 0.2.0
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
- checksums.yaml.gz.sig +2 -3
- data/lib/hcitools_wrapper.rb +7 -7
- data.tar.gz.sig +2 -1
- metadata +3 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d603be0aa030331923e1af810fcc67eacec6ed8c
|
|
4
|
+
data.tar.gz: cb86854699886e27cb9a76383aad2fa3a3dbe889
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96463bfe68d72bb6fa5edb1d0e48e2d9d60bf20a3d97095dfbfad2085d4e11e5acea563e2120847be9083c404264681863bc24e5e460fa5614f81495ba867ab8
|
|
7
|
+
data.tar.gz: 485757bb6a2fa78aa047271c095ccc8d05c613310ca9710f5c5497f8d244593babb0d3988f46df5f829b6b423d256f51efe5cf9a8b07cb00be5113fb8bbf75aa
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
f8o��ы�Ǽ0�Z%H�����J��^��0C�����P֦I=�}�Rk�Rk��\
|
|
1
|
+
uq�G�����΅ך��Ab��W��J�ń��S�ݞ爤J��Y�\��z�����B�⌱�\lu��_�bhn�����H��������OՇ0�|���g��t����f�ƺ��2��������@����IGN�i��|��:pOT��������b?�M׆����t��Ӷ@��T���
|
|
2
|
+
��gΉ��9�'���&�x���Ӛ�$)
|
data/lib/hcitools_wrapper.rb
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
# file: hcitools_wrapper.rb
|
|
4
4
|
|
|
5
|
-
require 'run_every'
|
|
6
|
-
|
|
7
5
|
|
|
8
6
|
module HcitoolsWrapper
|
|
9
7
|
|
|
@@ -12,13 +10,15 @@ module HcitoolsWrapper
|
|
|
12
10
|
# options interval and duration are in seconds
|
|
13
11
|
#
|
|
14
12
|
def self.start(runinterval: 20, scanduration: 2)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
|
|
14
|
+
while true do
|
|
15
|
+
|
|
18
16
|
pid = spawn("sudo hcitool lescan", :err=>"log")
|
|
19
|
-
sleep
|
|
17
|
+
sleep scanduration
|
|
20
18
|
`sudo pkill --signal SIGINT hcitool`
|
|
21
|
-
|
|
19
|
+
|
|
20
|
+
sleep runinterval
|
|
21
|
+
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
end
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
��F�%�%w��5���1o\E��Y_���N�wP�0.��(p�qB��kV���kd�Z��zPĠ̹v��7���1f4&uw��5["��=�?�����lZ�צ�;`
|
|
2
|
+
�QY�1a�A�~ai������d���ʬ���,S5��N�U�L:�o�%��ḱ�w��a,�̹�e���� ,KC�s}yq%\�k)(�!�{��B����������)Հm(����Нڞ�?eA?���.�.�X�
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hcitools_wrapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,28 +31,8 @@ cert_chain:
|
|
|
31
31
|
zUSFf/yp8K6i0NNL6umy/xpv+2v4DFJo/OxVeDHpyyaJnVVKM/70sw8VQZYjiiYU
|
|
32
32
|
31I/k3v2LBoYwA==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2015-07-
|
|
35
|
-
dependencies:
|
|
36
|
-
- !ruby/object:Gem::Dependency
|
|
37
|
-
name: run_every
|
|
38
|
-
requirement: !ruby/object:Gem::Requirement
|
|
39
|
-
requirements:
|
|
40
|
-
- - "~>"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '0.1'
|
|
43
|
-
- - ">="
|
|
44
|
-
- !ruby/object:Gem::Version
|
|
45
|
-
version: 0.1.9
|
|
46
|
-
type: :runtime
|
|
47
|
-
prerelease: false
|
|
48
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
49
|
-
requirements:
|
|
50
|
-
- - "~>"
|
|
51
|
-
- !ruby/object:Gem::Version
|
|
52
|
-
version: '0.1'
|
|
53
|
-
- - ">="
|
|
54
|
-
- !ruby/object:Gem::Version
|
|
55
|
-
version: 0.1.9
|
|
34
|
+
date: 2015-07-19 00:00:00.000000000 Z
|
|
35
|
+
dependencies: []
|
|
56
36
|
description:
|
|
57
37
|
email: james@r0bertson.co.uk
|
|
58
38
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|