Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/bluez/bluez-sandbox

Test Repository. Do Not Clone or Fork.
https://github.com/bluez/bluez-sandbox

mesh: Fixed handling of IVI flag in app layer

Since IV Index is used in application nonces, we need to honor IVI flag
not only in network laye...

3c143c7158b956f978158f34803bf05570171861 authored over 5 years ago
mesh: Modify check of the node directory name upon removal

This removes check for "mesh" as the parent directory name and, instead,
verifies that the node ...

a0ced2910a4f7e7c311ab63d5e696fc761d7a4e5 authored over 5 years ago
mesh: Fix to duplicated model Ids saved to storage

Mesh daemon internally implements the Config Server SIG model.

When generating node, if the Mes...

e0b1d64e39301870671d60a69145254b9ee2bd0a authored over 5 years ago
mesh: Remove unused error code from Leave()

This removes NotFound error from mesh-api.txt from Leave() function.

b4ecf33d61a6adf05f8460849ff12f04da6b1787 authored over 5 years ago
mesh: Move HCI handling to mesh-io-generic

This patch separates 'mesh' module from 'mesh_io', particularly
regarding configuration and init...

12b984d1d4d47a8fd5bc8455d586bb208b804ebf authored over 5 years ago
sixaxis: Throw an error when cable setup fails

If btd_request_authorization_cable_configured() fails, throw an error
and free resources.

ee70e5e070505e7caef66e9446ac586c378bde0f authored over 5 years ago
sixaxis: Fix another problem with already setup devices

If the device went through any kind of pairing once, it might have been
set as trusted. Make sur...

59b934ab8deac7b76b7b397b6424f1806b42b753 authored over 5 years ago
mesh: Remove redundant checks when adding a net key

This patch cleans up redundant checks in add_key() and mesh_net_set_key():
no need to check the ...

510224f47cc9b487ebf3a5678bcfc7111c7f462e authored over 5 years ago
build: Add missing mesh & btpclient dependencies

btpclient and bluetooth mesh fail to build on their own until
certain ELL and generated header f...

022b6d9cc26b3437010bff11372a1c2a94cdb1df authored over 5 years ago
mesh: Fix segmentation fault after adding second netkey via NET_KEY_ADD opcode

Segmentation fault was caused by passing subnet pointer to the
start_network_beacon() which was ...

231c50a1ffd52ddb45f05135b9d7e8a637064d6a authored over 5 years ago
mesh: Clean up style

This cleans up some stylistic issues. Plus, don't check the return
value of l_new(): if memory a...

9c64e35282dfdbd68bafbdd44cadd10489258208 authored over 5 years ago
mesh: Make "elements" mandatory in node configuration

This patch modifies the behavior of node configuration parsing:
if "elements" property is not pr...

0f5cf35948e2983b2ae98f3ec48efdd9664350c6 authored over 5 years ago
mesh: Do not daemonize, run in foreground or as service

This removes call to daemon(). "--nodetach" option is retained
to set umask().

Also, adds descr...

0f8cf75f6275dcbcdeaf6b1de420d27665f6b8cf authored over 5 years ago
build: Add support for systemd bluetooth-mesh service

This adds support for installing systemd bluetooth-mesh service unit
and D-Bus service file that...

5bcce2ce592fa53b99cefdc37adabc21725525a8 authored over 5 years ago
install: Fix installations to pkglibexecdir

In 78bce4800 libexecdir was switched to pkglibexecdir. To use the
matching installation script, ...

d2a72dd6710cd43fe5930664e8eb2c7aa97482e7 authored over 5 years ago
main.conf: Make ReverseServiceDiscovery work with LE

This makes ReverseServiceDiscovery work properly with LE connection by
disabling the GATT client...

8de73cd12bfb99beeaabbbf5a316a1e5d6487260 authored over 5 years ago
mesh: Convert crypto to use ELL wrappers

Use ELL implementations of aead-ccm(aes), ecb(aes) and cmac(aes). These
standard encryption and ...

dfed4839463fc54106cd182d312147ff112d5366 authored over 5 years ago
mesh: ELL encrypt dependancy README section added

Due to known AEAD encryption deficiencies in old versions of the
kernel, we have added a section...

632e67f8d6b2919d0c881f3a0c922cccf1de1aae authored over 5 years ago
mesh: Fix long MIC usage in segmented messages

Contrary to the comment, implementation used a 8-byte MIC even if this
generated an additional s...

75cd5b382e44d78e664f339e677efb44e6e21808 authored over 5 years ago
mesh: Implement remote dev key methods for keyring

Implements following org.bluez.mesh.Management1 methods:
ImportRemoteNode()
DeleteRemoteNode()

...

2565283cbb57f0962fae7f33f1c5b91bd88f54e2 authored over 5 years ago
mesh: Implement Key Refresh Phasing in keyring

Implements following org.bluez.mesh.Management1 methods:
CompleteAppKeyUpdate()
SetKeyPhase()

T...

4d95426caa75891a0eeac9e135da52bf644c7745 authored over 5 years ago
mesh: Implement App Key keyring storage handling

Implements following org.bluez.mesh.Management1 methods:
CreateAppKey()
ImportAppKey()
UpdateApp...

77950fd4273a4ec7a229403dc5339f45942b0b1e authored over 5 years ago
mesh: Implement Net Key keyring storage handling

Implements following org.bluez.mesh.Management1 methods:
CreateSubnet()
ImportSubnet()
UpdateSub...

84610cd7cbc006243e345885c48aa801ca366618 authored over 5 years ago
mesh: Centralize definition of PRIMARY_NET_IDX

638622af5f8a0a9d1f2e3fb7236005d0eb84ba7a authored over 5 years ago
mesh: Add new method for Key Refresh procedure

This adds a new method CompleteAppKeyUpdate() on
org.bluez.mesh.Management1 interface to be used...

04aca1550857e5ae2fa8d4fbd4dafed4651b1b0f authored over 5 years ago
meshctl: Retry recvmsg if data is not ready

Commit d6eec1b67d6d ("meshctl: Switch from write to sendmsg for Acquire*")
causes a regression b...

88abc9a17ed4f3e4e5efd84b220e608c95688ce5 authored over 5 years ago
monitor: Decode LE Periodic Advertising Sync Lost Event

> HCI Event: LE Meta Event (0x3e) plen 3
LE Periodic Advertising Sync Lost (0x10)
...

ad4fd0f4e26a4b298b65def41026cb4d54adbe47 authored over 5 years ago
monitor: Decode LE Periodic Advertising Report Event

> HCI Event: LE Meta Event (0x3e) plen 18
LE Periodic Advertising Report (0x0f)
Sy...

5441a5b91a0863104e071185f0927bd0d18da809 authored over 5 years ago
monitor: Decode LE Periodic Advertising Sync Established Event

> HCI Event: LE Meta Event (0x3e) plen 16
LE Periodic Advertising Sync Established (0x0e)
...

9285a4e3388224b4dba73d46b310b6dd94dfe4ec authored over 5 years ago
mesh: Remove unnecessary includes from .c files

6df5c5e3796ab340dc3b75e0ce045557d1272686 authored over 5 years ago
mesh: Update copyright dates

af3f7f1b099790b899e14f29265f8b083b29e3f6 authored over 5 years ago
mesh: Save generated Net and Dev keys in KeyRing

When creating a network from scratch, we need to save all
keys that are created into the KeyRing...

3242dd3db9631a459b3233cae8a2edbf1e524ce5 authored over 5 years ago
mesh: Fix file open error checking and permissions

8b179cbd1da11abb42c56fa53f3a60faec9931d6 authored over 5 years ago
mesh: Add "create" command to test app

Like "join" this command generates a UUID and calls CreateNetwork()
and displays the UUID and to...

895ba2cdf9405c23993f051562924148e1693736 authored over 5 years ago
mesh: Add skeleton for org.bluez.mesh.Management1 interface

This adds bare-bones imlementation of methods on org.bluez.mesh.Management1
interface.

f66e29d5662dabfa8f361cce5a453514f30a27fd authored over 5 years ago
mesh: Add check for org.bluez.mesh.Provisioner1 interface

This adds check for the presence of org.bluez.mesh.Provisioner1
interface when collecting inform...

0af87c6c6ca335ccc1f80de99096d40f7872c388 authored over 5 years ago
shared/gatt-db: Fix crash when generating hash

The following crash can be observed when handles are not contiguous:

Invalid write of size 8
...

e0856d53a25ebf1701602d2a8590a12b64ed849d authored over 5 years ago
mesh: Add key storage

This implements internal key storage add/delete/fetch for the three
basic key types managed in M...

3545edb6a43c3e21a48cbf2daa084eaf398dc3f8 authored over 5 years ago
mesh: Reconfigure node storage tree

Add a tree structure to a nodes data storage, in order to safely handle
Replay Protection list, ...

ce3031a6b234d9d34bafa3a0cc9d9330591be0af authored over 5 years ago
android/handsfree: Fix unaligned struct access

android/handsfree.c: In function ‘bt_sco_get_fd’:
android/handsfree.c:2913:47: error: taking add...

1b571bc3fc74897fe78bb9a07f5f1be94fea2134 authored over 5 years ago
android/hal-bluetooth: Fix unaligned struct access

android/hal-bluetooth.c: In function ‘set_adapter_property’:
android/hal-bluetooth.c:659:46: err...

66cab3c8674a7929e521b8effd76fdc9dc5da33f authored over 5 years ago
android/avrcp-lib: Fix unaligned struct access

android/avrcp-lib.c: In function ‘get_element_attributes’:
android/avrcp-lib.c:967:24: error: ta...

3775d077acab5d057eb4b12eb0271f647a036753 authored over 5 years ago
tools/csr_usb: Fix compilation failure

GCC's "format-nonliteral" security check is enabled as an error in
recent versions of Fedora. Gi...

23fbc19d5de3042248b05d73d1093d41058b3694 authored over 5 years ago
build: Enable BIND_NOW

Partial RELRO means that the object is GNU_RELRO but not BIND_NOW. This
reduces the effectivene...

b406f28746e747ee7d739970a00e3aa0963b3e88 authored over 5 years ago
build: Add a few default configure options

Add 3 optional features that are currently used and distributed in
the Fedora packages to the de...

3597960595b028b897a7fe97605135ce5040fca5 authored over 5 years ago
mesh: Add CreateNetwork method() implementation

This implements CreateNetwork() method on org.bluez.mesh.Network1
interface. Invoking this metho...

97b8bbc47ec4262c968612dc49c8f92689723a5d authored over 5 years ago
client: Fix crash when setting advertising.discoverable on

DBUS_TYPE_BOOLEAN expect a pointer to dbus_bool_t not bool.

b723fafbbe582344e65e37ba1732a240cbd764cb authored over 5 years ago
a2dp: Fix memory when loading of LastUsed fails

This fixes the following trace:

3 bytes in 1 blocks are definitely lost in loss record 2 of 24...

8784c67d35e2d95902fb17cd799abaf132b416a9 authored over 5 years ago
mesh: Use node uuids as storage directory names

Instead of keeping track of unique 16bit node identifiers, reuse their
UUIDs to create both stor...

64670a4a31d53fe8b5b801ab1f8659e3d0ed2000 authored over 5 years ago
tools: Walk rp->opcodes directly instead of interim variable

08c45ed6805c09e3d3e4aa3e61898a28460d8fa0 authored over 5 years ago
peripheral: Walk rp->opcodes directly instead of interim variable

acb2de0d82641ace502346ff5672ff7f28f4fccd authored over 5 years ago
adapter: Walk rp->opcodes directly instead of interim variable

0284bf0b1c5c2239a830f4f69461c61eada633a5 authored over 5 years ago
shared: Walk rp->opcodes directly instead of interim variable

44658f11cafb311703783d6e225c020b61fda54f authored over 5 years ago
build: Switch to -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32

d2925918b2c449a7ac7f2712437c2cf05a3e80b2 authored over 5 years ago
doc/settings-storage: Update LastUsed documentation

This updates LastUsed description to reflect the lastest changes.

0a191dc1af99c9bf65d158ee96ef5a614c15399b authored over 5 years ago
a2dp: Reword LastUsed

In addition to storing the remote endpoint also store the local one as
well so we it can properl...

e9436ecc8fa2377575e80a54e6c0d40aa0043c5e authored almost 6 years ago
a2dp: Fix useless statement

Checking for NULL path doesn't really matter since NULL is returned
anyway.

f4a1e13ca1895c60c854fd1f378f75f73820b2ed authored almost 6 years ago
a2dp: Fix reconfiguring when there multiple devices connected

When there are multiple devices connected streams need to be matched
with the sessions they belong.

626e923e36a6d063da72abe1912a520a4e858134 authored almost 6 years ago
a2dp: Update last used on open indication

This updates the last used endpoint also when receiving an open
request from the remote end.

1fc307251d4d43a55b18ac10c197428b372ff7f0 authored almost 6 years ago
a2dp: Try aborting when switching endpoints

If ongoing stream cannot be closed try aborting since the setup may
still be ongoing.

5071fadb97b8d8c68db3a2b36af85169208966c8 authored almost 6 years ago
a2dp: Fix crash when endpoint respond with an error

If endpoint respond with an error the callback will be called with size
set to -1 not 0.

b22f56e88a9fb5ddec1ea7dece4c03746744b3a5 authored almost 6 years ago
mesh: Unify processing of GetManagedObjects result

This combines processing of results obtained from GetManagedObjects
request for both Attach() an...

d6dce2bd37dce6383919ea0e75276b8c433965bb authored almost 6 years ago
mesh: Consolidate processing of mesh element properties

Consolidate functions to parse and process properties of mesh
element objects. Also, add validat...

0639e1774189ad0cb4a74abec59e39107cdf8fc3 authored almost 6 years ago
mesh: Clean up processing of Attach() method

This changes the prototype for the callback function of
Attach() method call: remove unused node...

65844fe23faaf81c2a310ab212d4c3d846bbcd52 authored almost 6 years ago
mesh: Remove Node interface if node owner disconnects

This unregisters Node interface associated with a specific node
application when this applicatio...

d76a4cd489df08b6c6390c4b6f73b6ac95d26015 authored almost 6 years ago
advertising: Timeout of 0 should not fire a callback

Setting a timeout of 0 on an advertisement should let the
advertisement run forever. The client ...

852fedd60b4c1a21d42cf50fbd3c921711a298e3 authored almost 6 years ago
a2dp: Fixed warn_unused_result warning

This used to break builds when using maintainer mode via
./bootstrap-configure:

profiles/audio/...

f7e04866ccb32095e0ff55762a631d30ac182e50 authored almost 6 years ago
a2dp: Fix not calling SelectConfiguration on other available endpoints

Endpoint may not be able to select a valid configuration but there could
be other endpoints avai...

d1996527bfb1e9dd0dea42068577ad9b0cc28273 authored almost 6 years ago
doc/settings-storage: Document LastUsed Endpoints entry

Document the use of LastUsed entry inside Endpoints group.

a79e4238b05bd7f3b0cc8f0da7069d4318fd54b2 authored almost 6 years ago
a2dp: Store last used endpoint

This stores the last used endpoint whenever it is considered open and
then prefer to use it when...

017c362ae71efea501aec4dec66f89cfec99c2dc authored almost 6 years ago
mesh: Add APIs for Provisioner and Config Client

The added D-Bus APIs enable Applications to function in a Provisioner
Initiator role, and as a C...

732d61aa8c7fafc63e135d3766d83a77959662ee authored almost 6 years ago
mesh: Fix the cleanup of failed Join call

This fixes the accidental swap of conditional checks: on failure,
remove agent info if agent is ...

4dbe6f78c663ec74fe6fae258d87dece00d22e18 authored almost 6 years ago
mesh: Fix structure memeber initialization

This fixes incorrectly reversed assignment of "friend" value in
convert_node_to_storage()

1e5e98c3b3080ce724f09ab1ab76827e6bcfd51d authored almost 6 years ago
mesh: Allow only one app attachment per node

If a node is already attached to an application process,
disallow another appication to attach t...

ecf001daa1658b78aedf0a39744d1e7bcca06bd5 authored almost 6 years ago
mesh: Fix network information cleanup

This fixes issues caused by accessing invalidated entries of nets
queue that were left around wh...

0cf59dd120ba1fee9f80ba840429af6e0af3d171 authored almost 6 years ago
test: Enable test-mesh to send raw vendor commands

This adds a sample vendor model to the first element of the
mesh node. A new menu entry allows t...

88c8968afe1d646430c4b95d02d1a6b0d0420120 authored almost 6 years ago
test: Drive test-mesh with a string-based menu

Switch to string interactive commands to drive testing
of bluetooth-meshd. Re-work the menu to ...

1cb6b17b70efb89cc06ea9e2e5df992aaa242bdb authored almost 6 years ago
mesh: Fix decryption when on more than one Network

Multiple networks use different IV Index's, so we should only use
decryption cache after success...

4d3c4fd64d9b377e424ec62c7d4fde17dc937644 authored almost 6 years ago
shared/gatt-db: Simplify attribute lookup

This consolidates attribute lookup into gatt_db_foreach_in_range and
instead of using custom cod...

64afcf40c4040ebe5322d5975e065239425e9bfb authored almost 6 years ago
mesh: Create and store random token per node

Fix issue with device key being used as a token. Token now seperate, and
with a portable represe...

c051df3cf9652f971a9ea1e2beb5b66d69ed01ce authored almost 6 years ago
a2dp: Fix UUID of remote Sinks

Sinks were being reported as Sources.

9f7659a44601e043bdb6724b0ab4f3f59c46e9fe authored almost 6 years ago
shared/gatt-db: Skip ahead if handle range is not within service

This checks if a range is within service handles skipping if it is not,
it also convert the dire...

65988b31766ea520986f306be7a3f00f7dd97dfa authored almost 6 years ago
build: Check if explicit_bzero is missing

This check gets around the redefinition of explicit_bzero in ELL

In file included from ell/rand...

713f1931e6faed031af9facfa697c589b5640e6c authored almost 6 years ago
emulator: Fix handling of Set Event Mask Page 2 Command

This command is also valid for BR/EDR only (was introduced in 3.0)
and for LE only controllers (...

56d782116e6fb0bb283e8172063ca729ce2b402e authored almost 6 years ago
mesh: Fix json-c calling conventions

Fix issue assuming that failed calls to json_object_object_get_ex() will
always NULL the out par...

b1adefb032e89144bb0a6f3194475be1993c6ff5 authored almost 6 years ago
mesh: Store node state variables prior to response

Remotely set node state variables need to be saved to the file system
or other NVM prior to retu...

3ad90901813af9da8b71f000ec10b3dd9ea43afc authored almost 6 years ago
autopair: Add more common PIN codes for audio devices

PIN codes "1111", and "1234" are fairly common PIN codes used for audio
devices such as speakers...

c8ef6d8abe61f2b6c8a2a53677b91ba8759b0065 authored almost 6 years ago
autopair: Add pin codes to try for gaming input devices

As well as remote controls.

a5958b5ba40ec5dd0678b7c1d6b6e2eb21b156b1 authored almost 6 years ago
mesh: Fix adding model app key binding

This fixes the situation when a new app key binding is being
added to a model and the list of bi...

b9b070ff307a56324063ecfa98da5af76a9aefb6 authored almost 6 years ago
mesh: Correctly initialize node's vendor models

This fixes vendor model initialization based on node properties
collected during Join() method c...

b57dd2de74615c581144af0c08454570903ed60a authored almost 6 years ago
advertising: Fix typo

Fix value 'Codec' instead of 'Coded' phy.

7a9a206803445420cf1609b12cb238bba4110589 authored almost 6 years ago
shared/gatt-db: Remove update_attribute

It is not longer needed to access the last attribute handle to figure
out its attribute since th...

962ff2216bc8256ce2e05f688a8abe16b9069621 authored almost 6 years ago
shared/gatt-client: Fix failing to discover included attributes

When there exists a included service a descriptor may already exists in
the handle location so i...

38be6726f5cfca549cc298b66108d23ee77f51a0 authored almost 6 years ago
shared/gatt-client: Add debug for error with included services

This logs errors with included service so it is easier to noticed when
they are malformed.

113262215fd60827ea355cf11882547f87264d9c authored almost 6 years ago
shared/shell: Fix colors not using proper escape sequence

According to readline documentation \001 and \002 has to be used to
delimit characters which tak...

bb3ce41e0beeb0e56c0b421ae68b574492ecd99b authored almost 6 years ago
shared/shell: Highlight user prompt input

This makes them more evident compared to regular output which is now
possible since coloring pro...

d9eb8b176e9e1cf6664ffc7c3327443fcd8d3b45 authored almost 6 years ago
mesh: Fix bug with adding more than one app key

Fixed problem where if the appKeys array already exists, that
new add key requests were rejected.

70fab12bf281a69778584193d4eb230932f4efa1 authored almost 6 years ago
mesh: Add json config functions to save pub/sub updates

This adds functions to save updates to model subscriptions and
publication in JSON format.

2da78fd4795a68fdfa7602197e0ee6cc370aa6f8 authored almost 6 years ago
mesh: Save model subscription updates to config file

This adds functionality in Config Server model to save changes in
node configuration file when m...

fd77b3199a77dad11cb3dd8cb45c25deff3ca19a authored almost 6 years ago
mesh: Store model publication settings in config file

This adds functionality to enable storing model publication
parameters in node configuration fil...

076f20fe3476525ea611c0a2b06e5e6a0b81de75 authored almost 6 years ago