bluez-profile 1.1.1 → 1.1.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/History.md +7 -0
- data/README.md +5 -1
- data/ext/bluez/profile.c +2 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8dcf95df7073288ecb56de3d6903862151fb7bc858f0a762d62c7093058dbcf0
|
|
4
|
+
data.tar.gz: f3e8d075a8d2b080cb6a639aa917aa8b1432f5b6404fdd51aa864ad26c4af976
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fbd831c4356a30ca8c5b877fb128a2f18cd3ede8269e29a64fc8d05109cc6989163413a61f8bf7367e61a8302612ccff6e25aef5f49ea80e519998a381f4d888
|
|
7
|
+
data.tar.gz: f3713c5cff6494f54147a1573283df766d674d5acb672e6c571c08603f253abef9d2989d4ba7ba50c001c85da353e2e613fab5ec422471179568ad14393ea205
|
data/History.md
ADDED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# bluez Profile API
|
|
1
|
+
# Ruby binding for bluez Profile API
|
|
2
2
|
|
|
3
3
|
this gem allows easy creation of bluetooth services.
|
|
4
4
|
For example create a serial link over to another device using bluetooth.
|
|
@@ -21,6 +21,10 @@ in order for them to communicate.
|
|
|
21
21
|
|
|
22
22
|
use eg `bluetoothctl`
|
|
23
23
|
|
|
24
|
+
## install
|
|
25
|
+
|
|
26
|
+
gem install bluez-profile
|
|
27
|
+
|
|
24
28
|
## API
|
|
25
29
|
|
|
26
30
|
example code:
|
data/ext/bluez/profile.c
CHANGED
|
@@ -414,8 +414,9 @@ static VALUE profile_run(VALUE self){
|
|
|
414
414
|
if (!data->running){
|
|
415
415
|
data->running = TRUE;
|
|
416
416
|
while(data->running){
|
|
417
|
-
g_main_context_iteration
|
|
417
|
+
g_main_context_iteration(context, FALSE);
|
|
418
418
|
rb_thread_schedule();
|
|
419
|
+
g_usleep(50);
|
|
419
420
|
}
|
|
420
421
|
}
|
|
421
422
|
return self;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bluez-profile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Clive Andrews
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Create Custom Bluez Bluetooth Profiles
|
|
14
14
|
email:
|
|
@@ -19,7 +19,9 @@ extensions:
|
|
|
19
19
|
extra_rdoc_files:
|
|
20
20
|
- README.md
|
|
21
21
|
- LICENCE
|
|
22
|
+
- History.md
|
|
22
23
|
files:
|
|
24
|
+
- History.md
|
|
23
25
|
- LICENCE
|
|
24
26
|
- README.md
|
|
25
27
|
- ext/bluez/extconf.rb
|
|
@@ -43,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
43
45
|
- !ruby/object:Gem::Version
|
|
44
46
|
version: '0'
|
|
45
47
|
requirements: []
|
|
46
|
-
rubygems_version: 3.
|
|
48
|
+
rubygems_version: 3.0.9
|
|
47
49
|
signing_key:
|
|
48
50
|
specification_version: 4
|
|
49
51
|
summary: binding to Bluez Profile API
|