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: Make mesh-config API more consistent

This changes the prototypes for mesh_config_model_binding_add() and
mesh_config_model_binding_de...

550dc90dfca02370973e99b8e903576fa7e9d818 authored over 5 years ago
shared/mainloop: Add ell-based mainloop implementation

This adds implementation of wrapper mainloop functions to interact with
ell main APIs, enabling ...

f82256202f73ab111e8586d75db1e0412f2120d6 authored over 5 years ago
Release 5.51

6de4bdb957cdc85d89851420ab06ca8e226f8d4e authored over 5 years ago
build: Update library version

8ab0f188768beb70f84ab8a0c4c8906e83ee3b29 authored over 5 years ago
build: All EXTRA_DIST need to be unconditional

1955e725f517f121abcbe3b20a0f68075036ba69 authored over 5 years ago
monitor: Decode L2CAP channel mode

This decodes the L2CAP channel mode of each frame:

> ACL Data RX: Handle 3585 flags 0x02 dlen 1...

2de0555535b0abdb857f8431fc60b5747f6c9b04 authored over 5 years ago
monitor: Add proper decoding of LE flowctl mode

This enables decoding LE flowctl mode properly and print out the
SDU.

1d55ac9e06abbf0a7d21567ced2b00f8e00ed5d5 authored over 5 years ago
gatt: Fix assuming writes to CCC will always contain 2 bytes

The spec actually allows writing just 1 byte:

BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3,...

e60a6b7d9d0fa55fda5cd0457f6c763078949d87 authored over 5 years ago
mesh: Automate AppKey update on KR phase 2-->3-->0

Designed so that if an unexpcted abort() occurs, the bound NetKey remains
in state 2 or 3. If s...

afe196816af33c1e6c0f0d5fd09ebf8e796830ce authored over 5 years ago
doc: Remove uneeded dbus API for App Key Refresh

1368a609f962e36d2c1b4df9a6dcc58568681640 authored over 5 years ago
mesh: Handle messages sent to a fixed group address

This handles the case when an inbound message is addressed to
a fixed group, i.e., all-proxies, ...

7a5bccba5305729d32cf62aeb6be765fd9a7904f authored over 5 years ago
shared/shell: fix help message typo

f3cbe6609af9de3f2621329797e43539b940215c authored over 5 years ago
build: install zsh completions

3825bc7f25bea1f0b2198402247aceedad327743 authored over 5 years ago
completion: add bluetoothctl zsh completions

This zsh compdef provides completions for the bluetoothctl command.

It has been modified from v...

760640a04e669939a4c2d69aa6ab7001f5208f2a authored over 5 years ago
shared/shell: add --zsh-complete option

This adds a new long form option --zsh-complete to provide all available
commands in an output f...

cb0215dd5ea57b25b11179c44e331a567050d3ae authored over 5 years ago
client/main: add help option for available args

This option exists to facilitate external completion of commands that
have specially defined arg...

d45b4ac3ecf3f2f7703384e00e4275fcca6cd793 authored over 5 years ago
shared/gatt-client: Automatically add CCC when discovering

The spec mandates that a CCC exists if either notify or indicate
property is marked:

BLUETOOTH ...

e8b9e6e330876c7cb16fb921aaefff3f786445b5 authored over 5 years ago
mesh: test AEAD at startup to check kernel support

One time test at startup to ensure either kernel version v4.9 or later,
*or* that required AES-C...

f62350b70231096a623435b857961738c2a86b17 authored over 5 years ago
mesh: Add closedir() of config directory after opendir()

This adds missing closedir() call to accompany opendir() in
mesh_config_load_nodes().
Also, fixe...

354d75d0ea68448cec05339811d9c5eb5057eac7 authored over 5 years ago
mesh: Show error message when io initialization fails

50f5827544b2bde2cc8a198b2080829d885002e5 authored over 5 years ago
mesh: Add org.bluez.mesh.Node1.Addresses property

To enable applications to talk to the local node's internal models, it's
useful to know its unic...

3d7d12ee99e2ee87f2eb81b291d2b6867a2194ba authored over 5 years ago
mesh: Implement properties on org.bluez.mesh.Node1 interface

f370e7298178e19645854e36f04cbc356f6c7d7d authored over 5 years ago
tools: Tweak script to get Company IDS from SIG

The Bluetooth SIG website requires a trailing "/" on the web page for
the curl command to work.

2978d08335886928dff0e16c5c4f9b53c41e933f authored over 5 years ago
client: Fix not able to select attributes if parent exists

When selecting attributes by UUID the code was not checking attributes
that are not a children o...

19329b3f6829a22f6dcf3c148dcfd3757ad3b126 authored over 5 years ago
client: Allow UUID 16 bits on select-attribute

This allow passing UUIDs on 16 bits format.

31d74307597c337ca69d36a243bd3a59637b3344 authored over 5 years ago
mesh: Fix handling of Config Relay Set message

a29d610d25c4a4248cd341cb015cbff9f79c787f authored over 5 years ago
gitignore: Ignore mesh service file

3658332b339b577b648eb69e56f3668b64f2d86a authored over 5 years ago
mesh: Move commonly used constants into mesh-defs.h

This consolidates definitions of commonly used constant values
into a single header file. The co...

fb5c57bccb302ebaf17a0fbf5944b358968082ef authored over 5 years ago
mesh: Remove double initialisation and fix typo in log

b94453eb2d57f8bf0f99734743720208d0be3015 authored over 5 years ago
mesh: Fix model publication get

e71112ad7176c410f27ed3fd68db22f7654dc9f1 authored over 5 years ago
test: Add example-player

This adds an example of registering a player with use of
RegisterApplication.

f7ca9fef25b75f3c35b984bb9e688c0ea1ea549f authored over 5 years ago
test: Add example-endpoint

This adds an example of registering an endpoint with use of
RegisterApplication.

9d54c29375bb5d3de3401e2bbadd131a5397df19 authored over 5 years ago
media: Add implementation of RegisterApplication

This implements RegisterApplication registering any proxy which does
implement either MediaEndpo...

01f8fc2997524d85817adb8176e542bac9d0cdfa authored over 5 years ago
doc/media-api: Add RegisterApplication method

This uses application ObjectManager to discover the MediaEndpoint and
MediaPlayer object of an a...

65bd68b907a95b4748df6929383a833ecfb4b660 authored over 5 years ago
mesh: Move sequence number overcommit to mesh-config-json

This confines sequence overcommit logic in mesh-config-json, as other
storages might use a diffe...

bdd0e6c521e89c2bdd64a0708803d4ad266d1586 authored over 5 years ago
mesh: Fix double free of a pointer in mesh-io-generic

This fixes a crash in bluetooth-meshd due to freeing the same pointer
twice. The fix is to initi...

7de0eb5686223e8f8ba80984973a08a2781d3650 authored over 5 years ago
mesh: Fix storing network retransmission in config

e4cec5a943233f4369f78ca016c2b3a4dbf0fd8e authored over 5 years ago
mesh: Add documentation for Import() D-Bus API

This replaces previously specified ImportLocalNode() call

ee566c2095002d702f0cd85c273628c54d707597 authored over 5 years ago
mesh: Implement Import() D-Bus API of org.bluez.mesh.Network1 interface

This method allows local nodes to be imported from an external
provisioning database, enabling a...

37cf5ad50ec9eb77496bd080b8c5bb2a79edc30e authored over 5 years ago
mesh: Extract read_* functions in mesh-config-json

This is a small improvement of read_node function readability.

d68a2253f64a77c77fe88ff20518a6b9a33a49a2 authored over 5 years ago
mesh: Check that config server is present in primary element

This verifies that Config Server model is supported by element #0, and
is not supported by any o...

b53bca542e2d204abb143356599de265a7553daf authored over 5 years ago
doc/mesh-api: Restore properties in mesh node hierarchy

This restores Features, Beacon, BeaconFlags, IvIndex and
SecondsSinceLAst heard properties under...

4b0bfe960df205d7930a804a16a1283f246e91b2 authored over 5 years ago
mesh: Keep element and model lists sorted and unique

This keeps composition data unchanged even if elements or models are
registered in a different o...

5ed8cec71c862b87038b400978627ea91824d3b5 authored over 5 years ago
mesh: Validate application by comparing composition data

Instead of validating application by enumerating D-Bus objects, create a
temporary node instance...

07e16e8aa69b3030035830c30068841c4deeef3d authored over 5 years ago
mesh: Convert void pointers to anonymous unions in managed_obj_request

7cd089ea6b792ca9d9f2741e1da3336587ee8383 authored over 5 years ago
test/test-mesh: Initialize required properties

This initialized required "Models" and "VendorModels" properties
wheher the actual models exist ...

b1ecae6b01d99ee926631d696f86cc35f83939cf authored over 5 years ago
mesh: Fix storage init of Friend and LPN features

This fixes a typo in mesh-config-json.c when Friend feature
was initialized twice and LPN was no...

efcf88bff0dc9daf98a3862133c5b0b0cc72d30e authored over 5 years ago
mesh: Check that element indexes are consecutive

38608db68616e24d011a371f1863854fdda22037 authored over 5 years ago
mesh: Check address range passed to ImportRemoteNode

+changed "not authorized" error to "invalid args" when managing device
key for local address range

79bf51dbb50ab9a10a42fcc51e23be92e2441508 authored over 5 years ago
mesh: Propagate Net Index up Rx message chain

When a model receives a message, it is required by the spec
to respond using the same credential...

060b3439f0c147309e097914df1ca351541b0495 authored over 5 years ago
mesh: Normalize Access Key AID naming convention

8f0839a1c46300ceb1b129d17a3bff446ff79d08 authored over 5 years ago
mesh: Add bound Net Index lookup for App Keys

This patch also normalizes the naming convention in favor of key_aid
when referring to the calcu...

51d9bb20dba0236a21e1dd46ab204e94237de288 authored over 5 years ago
mesh: Allow sending on org.bluez.mesh.Provisioner1

This adds a new interface permission to bluetooth-mesh.conf:
<allow send_interface="org.bluez.me...

faa7894b7beb539b0b7f566570ab852c83f5cc2c authored over 5 years ago
mesh: Init keyring storage directory on node Attach()

This adds initialization of keyring storage directory when
a mesh node is attached successfully.

d9ef18ff68028955e6a0ba6556c8dbc85606cf0a authored over 5 years ago
mesh: Manage node config directory in mesh-config

This completely removes storage.c file. Instead, the handling
of mesh node configuration storage...

7cafe5fd7cc86497c851e273550fb74fc52917d0 authored over 5 years ago
mesh: Use mesh_config APIs to store node configuration

This eliminates storage_set...() routines as an intermediate
layer between mesh_config layer and...

d57524629036a4bbbe183b6a32afa02a87fe489d authored over 5 years ago
mesh: Replace storage_save_config with mesh_config_save_config

This moves writing out of node configuration from storage.c down to
mesh-config-<format-specific...

c4bf0626fb621559ecaea7e1eadf22d386b7ee63 authored over 5 years ago
mesh: Rename mesh_config_srv_init() to cfgmod_server_init()

This renames mesh_config_srv_init() to cfgmod_server_init() to avoid
confusion with mesh_config_...

3937a002a741fd6f758743b3ad54aae23d3a0b16 authored over 5 years ago
mesh: Create or re-use a node storage directory for keyring

This adds APIs to set a directory for storing node's key ring info.
The directory is named MESH_...

2881bc143336418ebf72d38053bbf6b10fec12b9 authored over 5 years ago
mesh: Confine dependency on json-c to mesh-config-json.c

This removes dependency on json-s/json.h header from everywhere
in the code except for mesh-conf...

d8b2bef41b36971f567885cdefbf50d3269a9631 authored over 5 years ago
mesh: Change mesh_db prefix to mesh_config

This changes the naming the API declarations in mesh-config.h:
mesh_db_... ->mesh_config_...

78668a02d6c41ef426f54a9d4932676fd1f5f3f1 authored over 5 years ago
mesh: Rename mesh-db.c to mesh-config-json.c

This moves mesh-db.h to mesh-config.h and mesh-db.c to mesh-config-json.c.
mesh-config.h declare...

0c698b33a7841961f1097907b346bc73fba1f3e8 authored over 5 years ago
mesh: Move network config setup from storage.c to node.c

This commit moves initialization of configuration parameters
for node->net when the local node s...

76700ab92b6daccab999faf0460220bb97b7b4c5 authored over 5 years ago
mesh: Move load from storage functionality into node.c

This moves the initialization of a mesh node from stored
configuration from storage.c to node.c

d1a76eb3f4d296fbd688edd9b3f2234b30459742 authored over 5 years ago
input/hog: Remove HID device after HoG device disconnects

When the Bluetooth LE device disconnects, make sure to also destroy the
uHID device so that we d...

d6cafa1f0c3ea1989f8a580e52f418b0998a3552 authored over 5 years ago
mesh: Add special Beacon handler for Provisioning

Provisioning uses the same AD type for Provisioning that
is also used by the Secure Network Beac...

ce29951980a2f7385e5af204348f59c6e335aa4a authored over 5 years ago
mesh: Convert provisioning pkts to packed structs

Provisioning packets are defined in the specification
as packed big endian structures. Instead o...

2e46771050e6f302e4b7a8a1760ab19e68ea2385 authored over 5 years ago
doc: Cleanup API Provisioner1 interface

Modified the RequestProvData In and Out param list to eliminate
parameters which can be provided...

cfec54d37b626f65b56849d9ef2c2a5be637dde4 authored over 5 years ago
mesh: Fix support for Provisioner Initiator

fea558460f1ad3eafe0107dc3cbcb7e33eeeb48c authored over 5 years ago
mesh: Implement DBus Provisioning methods

This implements the Interface and Methods for:
UnprovisionedScan()
UnprovisionedScanCancel()
Add...

20585d786bd6c52f84182621cb7299e00d01b2dc authored over 5 years ago
mesh: Expose resources needed by Management1 interface

76a7c417087fed327648b61b1d73e8a86d17ddbb authored over 5 years ago
mesh: Fix implementation of Provisioner Initiator

This has had testing of baseline functionality that includes
OOB authentication type "3c" from B...

f7856093f9ea278260b2dde1599ae0541bc6aa30 authored over 5 years ago
test: This extends the mesh tool to exercise Provisioning methods

Note: This script is *not* a suitable tool for expanding into
a Mesh Provisioner. It is only in...

14bbd6537fe563381ef1bcfab9ba9071d61c83e5 authored over 5 years ago
mesh: Expose mapping function for D-Bus errors

5f6dd3ff26b0f226214ce8d464bc84e6caab1cfa authored over 5 years ago
emulator: Fix condition check in btdev_create()

This fixes a case where logical '||' was used with constant operand
and the condition check alwa...

47a07dd39d4ee2d14cf2e6b9a5a7ee8c2525aa67 authored over 5 years ago
gatt: Fix failure of repeated AcquireNotify calls

This patch fixes a problem that can be encountered if a DBUS client
performs the following steps...

721c1779e715a3ef33001c1563a6006e99dae09d authored over 5 years ago
shared/hfp: Fix using uninitialized value

This fixes the following trace when running unit tests:
at 0x409597: is_response (hfp.c:1009)
...

de02cf259b67707072973eea2efdd8afa9098e89 authored over 5 years ago
gatt: Require medium security for ATT socket over BR/EDR

Encryption is required according to the spec:

BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol ...

b6960209ee3e0166353060deb38eb7827a092ed3 authored over 5 years ago
att: Return error in case Exchange MTU is used over BR/EDR link

In case of BR/EDR the L2CAP MTU negotion is used instead:

BLUETOOTH CORE SPECIFICATION Versio...

9c82249b8de260036b1327c990b62c9969eaaa2e authored over 5 years ago
tools: Fix build after y2038 changes in glibc

The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name
to fix the build.

f36f71f60b1e68c0f12e615b9b128d089ec3dd19 authored over 5 years ago
mesh: Fix segmentation fault when removing a node

This fixes a segmentation fault introduced by earlier changes.
Segmentation fault was used by ac...

cf7d8a23325784ffc1fc48aa11171e3068c3ace5 authored over 5 years ago
mesh: Handle messages encrypted with a remote device key

This adds ability to receive messages encrypted using known remote
device key. Such a key must b...

4e60dc5efec072792c0c2210ccfa24decb1b626c authored over 5 years ago
mesh: Implement DevKeySend() method on Node interface

This patch implements D-Bus DevKeySend() method of org.bluez.mesh.Node1
interface, allowing the ...

9e11b3eef4bbca51a3a831dfff377dfc4dd845e2 authored over 5 years ago
mesh: Split APP_IDX_DEV into APP_IDX_DEV_LOCAL and APP_IDX_DEV_REMOTE

This is needed to distinguish incoming messages encrypted using a device
key: if the key is loca...

9dfc56d7d4e73da42b3f4c81728ec57f5ac1c4f9 authored over 5 years ago
mesh: Cleanup D-Bus method returns with empty result

e3c5b38f0943846d2322062d9d9140c32f0847b8 authored over 5 years ago
mesh: Remove redundant initialization

This fixes a case where a variable was initialized twice.

5f896b47955b5e35d62edb87e44b9baeb9992684 authored over 5 years ago
mesh: Use l_dbus_message...() APIs in more consistent fashion

This removes checks for the return values of l_dbus_message...()
calls in the few places where w...

70ffc81605df65a26569eaa61cb156646b2b1483 authored over 5 years ago
mesh: Fix stack overflow in get_element_properties

D-Bus type 'q' denotes uint16, not uint8.

5764d8bfdb29527cd320cf1f946808dd26527d45 authored over 5 years ago
mesh: Fix clean up of node's DBUS assosiated resources

This consolidates multiple places where node's object paths,
interfaces, etc. are de-allocated, ...

e0fd407fb96310278708dbe0708f5127fa5a315f authored over 5 years ago
mesh: Fix checks when restoring internal model state

This fixes incorrect conditional checks in restore_model_state()
which could lead to dereferenci...

af06aebcc75f73298fd7c9dac5361bb9ae8db231 authored over 5 years ago
mesh: Fix memory leak on dbus message creation

3df89f700af7375faedfe123d0ce1834963f6878 authored over 5 years ago
avctp: Fix not accounting output MTU properly

The code shall use BT_IO_OPT_OMTU to read the output MTU.

b2fd4c7e1ecf715a0f56e0a4534329db9b4e44b1 authored over 5 years ago
mesh: Allow to set-up the CRPL with application

This adds an optional CRPL property to org.bluez.mesh.Application1
interface, allowing to indica...

cee1218397a633500cef9f51ee2b292748494770 authored over 5 years ago
mesh: Register D-Bus management interface

When application Attach()es itself, start exposing both Node1 and
Management1 D-Bus interfaces.

341456b547620f8062cfb439f4f7ecdc51eb3fa8 authored over 5 years ago
mesh: Fix and clean up model publication code

This adds proper checks for model publication removal:
the publication is not virtual and the pu...

5a37a85fbc4c2801811dd9c2760e38cb5a01d687 authored over 5 years ago
mesh: Fix virtual address processing

This tightens up the accounting for locally stored virtual addresses.
Alos, use meaningful varia...

bb5d00cdc7bd8a272c8889793d21ce6c37e39714 authored over 5 years ago
mesh: Clean up model.c and cfg-server.c

This removes a number of redundancies, fixes naming conventions and
style.

3ce332e40567952e5810c459bb6f6c9442a8ab08 authored over 5 years ago
mesh: Fix D-Bus node path

According to doc/mesh-api.txt, node object should be located at
/org/bluez/mesh/node.

c957b8ea6f8101242b6db3c20e87c7ee22280a6b authored over 5 years ago
test: test-mesh - Correctly stop periodic publication

This changes the order of checks for an updated publication period:
check for zero period first,...

9acc66c6f10eed58da1da70d05923e25f8b00d32 authored over 5 years ago
mesh: Clear nodes queue on get_managed_objects_cb() fails

Currently when the get_managed_objects_cb() fails it frees
the node resources but the node still...

97f68772e62a8f70b3d52bed59661bcff92d7694 authored over 5 years ago