| 36ae8f20 |
attrib-server: Fix bad error message |
Santiago Carot-Nemesio |
14 years ago |
1 file, +1, -1 |
| 6b12cbb3 |
attrib-server: Fix memory leak attaching attribute channels
Channel is not being released when the channel is attached over
an uninitialized GATT server. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +7, -1 |
| e4ffa59d |
network: Add retries for BNEP connection setup
According to BNEP spec. v1.0, section 2.6.3, the
BNEP_SETUP_CONNECTION_REQUEST_MSG should be retransmitted if the response
is not received for a period between 1 to 30 sec. Current implementation
uses SO_RCVTIMEO socket option to sense reply time-out, which is
incorrect because it does not have effect on g_io_add_watch monitored
descriptors. This patch allows passing of TP/BNEP/CTRL/BV-02-C
certification test. |
Ilia Kolomisnky |
14 years ago |
1 file, +51, -8 |
| 21da0977 |
sdptool: Add GoepL2capPsm decoding support |
Luiz Augusto von Dentz |
14 years ago |
1 file, +9, -2 |
| 0e747603 |
mgmt-api: Remove bogus Key_Type field from LTK messages |
Johan Hedberg |
14 years ago |
1 file, +0, -2 |
| 69a3f061 |
mgmt-api: Update to latest plans
- "Remove Keys" renamed to "Unpair Device" and moved to a more
appropriate location (after the other pairing commands)
- "Device Unpaired" event added
- Address_Type parameters added the relevant commands and events
- Address_Type vs Key_Type distinction made clearer
- Bogus '0' removed from opcodes |
Johan Hedberg |
14 years ago |
1 file, +77, -45 |
| d2920be7 |
device: Fix doing SDP discovery for LE devices
If ReverseServiceDiscovery is enabled and we are connected to a LE
device, we should do a Primary Service Discovery, not a SDP discovery
(which doesn't even make sense). |
Vinicius Costa Gomes |
14 years ago |
1 file, +7, -2 |
| 2a5f5342 |
btmgmt: Add support for BR/EDR-only and LE-only discovery |
Johan Hedberg |
14 years ago |
1 file, +37, -0 |
| 49d563f8 |
proximity: make reporter work per-adapter
Register an adapter driver for reporter and add the adapter argument in
appropriate places. |
Arik Nemtsov |
14 years ago |
3 files, +46, -43 |
| f97adf23 |
gatt-example: Fix g_assert checks when an uint16_t value overflows
g_assert statements are buggy when the last handler available
overflows the uint16_t range. This check is currently used to
evaluate if the number of requested attributes for a sevice
match with the number of attributes added in the data base. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +10, -11 |
| 556af352 |
attrib-server: Allocate 128-bits UUIDs using highest available handlers
128-uuids services are grouped at the end of the handlers database list.
This group grows from the highest handlers toward lowers handlers
until the whole range is used or the last 16 bit-uuid service is reached. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +41, -1 |
| 82ad2b53 |
glib-compat: Add g_list_free_full to deal with issues in old GLib versions |
Santiago Carot-Nemesio |
14 years ago |
2 files, +11, -0 |
| ef3a1937 |
attrib-server: Set database uuids as a double linked list
16-bit UUIDs are allocated at the begining of the database list and
128-bit ones are grouped at the end. Replacing the list type with a double
linked one enables us to look for available handles in the 128-bit group
efficiently. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +41, -34 |
| 72630f87 |
attrib-server: Allocate 16-bits UUIDS at the begining of the list |
Santiago Carot-Nemesio |
14 years ago |
1 file, +36, -6 |
| d16b0ead |
gatt-service: Provide service uuid in attrib_db_find_avail function
We need to provide the service uuid because of GATT server should group
16-bit uuid services together and 128-bit uuid services together,
(Bluetooth 4.0, Vol 3, Part G, 3.1). |
Santiago Carot-Nemesio |
14 years ago |
5 files, +23, -13 |
| 6cc32c84 |
gatt-service: Move va_end just after processing the argument list |
Santiago Carot-Nemesio |
14 years ago |
1 file, +3, -1 |
| 24124f11 |
gatt-service: Add support for 128-bit Bluetooth UUIDs
UUID services in GATT should be either 16-bit or 128-bit. Current
GATT interface does not allow to provide 128-bit ones. This patch
enables plugins to register services using 128-bit UUIDs. |
Santiago Carot-Nemesio |
14 years ago |
4 files, +52, -20 |
| 1b44684f |
Fix GLib assertion failure in media.c get_setting()
If get_setting is called before set_setting, mp->settings would be
NULL resulting in GLib assertion. Hashmap is now allocated in
media_player_create instead of on-demand allocation in set_setting.
external/bluetooth/bluez/audio/media.c:get_setting() Equalizer
CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed |
Szymon Janc |
14 years ago |
1 file, +2, -3 |
| c2452f3d |
btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE |
Luiz Augusto von Dentz |
14 years ago |
1 file, +8, -0 |
| c4a8ba6d |
core: Add provision for terminating an ATT connection
In order to terminate any existing ATT connection from the client side
existing function device_request_disconnect has been updated. |
Smriti Gupta |
14 years ago |
1 file, +8, -0 |
| b4179122 |
device: Fix segmentation fault removing devices
There is an unbalanced control regarding to the GATT channel and its
attachid, we have to to update the attach id value by setting it to
zero whenever we detach a GATT channel. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +3, -1 |
| 722f9d24 |
lib: Add stub for A2MP |
Johan Hedberg |
14 years ago |
1 file, +34, -0 |
| 1716c9fd |
simple-agent: Ensure passkeys are padded to 6 digits |
Johan Hedberg |
14 years ago |
1 file, +2, -2 |
| 4bf44d29 |
simple-agent: Update default capability to KeyboardDisplay
Now that both user space and kernel mgmt code supports this new
capability it makes sense to set it as the default for simple-agent. |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| 5b359e84 |
mgmtops: Implement mgmt_cancel_bonding |
Johan Hedberg |
14 years ago |
1 file, +14, -1 |
| d02f8cb0 |
mgmt: Update event opcodes to latest API spec |
Johan Hedberg |
14 years ago |
1 file, +17, -17 |
| 342301d0 |
mgmt-api: Move New Long Term Key Event to a more logical place |
Johan Hedberg |
14 years ago |
1 file, +29, -29 |
| 8e471115 |
mgmt: Update commands to latest API |
Johan Hedberg |
14 years ago |
1 file, +47, -45 |
| b57bd875 |
mgmt-api: Remove unused/implemented commands |
Johan Hedberg |
14 years ago |
1 file, +0, -53 |
| 5795b7fe |
mgmt-api: Move Load Long Term Keys Command to a more logical place |
Johan Hedberg |
14 years ago |
1 file, +40, -40 |
| 5401c7c0 |
mgmt-api: Add missing cancel pairing command |
Johan Hedberg |
14 years ago |
1 file, +28, -13 |
| 11dbefe4 |
btio: Add L2ERTM type
L2ERTM type uses L2CAP socket in SOCK_STREAM instead of SOCK_SEQPACKET |
Luiz Augusto von Dentz |
14 years ago |
2 files, +18, -0 |
| 42d63192 |
adapter_ops: Add address type information to the pair_device command
Now that we have address type information we have to inform it
when pairing with an device. |
Vinicius Costa Gomes |
14 years ago |
5 files, +12, -7 |
| d4891c59 |
device: Fix not using the "bonded" property for new bondings
When checking if a device was already bonded, we should
use the paired property instead of reading the link key
from storage. This method will work for LE links, also. |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -15 |
| 16e63f9e |
device: Fix not using the same way for pairing LE devices
Now that both backends (hciops and mgmtops) are capable
of pairing LE devices, we don't have to force the procedure. |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -9 |
| 3a190519 |
device: Fix doing SDP discovery for LE devices after bonding is complete |
Vinicius Costa Gomes |
14 years ago |
1 file, +6, -2 |
| 32b758e9 |
device: Fix setting the device as bonded when restoring from the LTK |
Vinicius Costa Gomes |
14 years ago |
1 file, +5, -0 |
| 467bb33f |
event: Add type information to the mgmt "Device Connected" event
In the case of incomming connections we have to know the type of
the device that connected to us.
Through hciops we have the LE Connection Complete event, that
information was lost when Management interface was being used. |
Vinicius Costa Gomes |
14 years ago |
6 files, +45, -29 |
| eeff5f20 |
TODO: Remove already implemented mgmt features |
Johan Hedberg |
14 years ago |
1 file, +0, -15 |
| f30e82ef |
attrib-server: Fix missing NULL check for adapter_find_device |
Johan Hedberg |
14 years ago |
1 file, +2, -2 |
| 0109fa0b |
audio: Fix disabling local A2DP endpoints when UNIX socket is disabled
Local endpoints can only be used when UNIX socket API is available. |
Luiz Augusto von Dentz |
14 years ago |
1 file, +7, -8 |
| 4028630f |
btio: Fix users to not expect a default security level
The users of btio should not expect that btio will set the security
level to medium if it wasn't specified. Now, all the users specfify
the security level needed. |
Vinicius Costa Gomes |
14 years ago |
6 files, +8, -0 |
| 1e4c7d43 |
btio: Remove the default security level from btio
The default value of sec_level when setting *any* option
using bt_io_set() was BT_SECURITY_MEDIUM. This was causing
the security procedure being started in some situations that
it should not. |
Vinicius Costa Gomes |
14 years ago |
1 file, +0, -1 |
| efeb4cdb |
test: Add support for btiotest to returning the key size |
Vinicius Costa Gomes |
14 years ago |
1 file, +13, -0 |
| 3ad251fe |
test: Add support for passing the CID to btiotest
If we want to test LE connections using btiotest we need to be
able to inform btio the Channel ID that we want to connect to, so
the kernel is able to learn that we want to establish a LE connection. |
Vinicius Costa Gomes |
14 years ago |
1 file, +10, -6 |
| 51886914 |
btio: Add support for getting the Encryption Key Size via btio
Some profiles specify some restriction depending on the length
of the key used to encrypt the link, this adds an way to retrieve
that value from the kernel. |
Vinicius Costa Gomes |
14 years ago |
2 files, +20, -0 |
| faa7b5c7 |
lib: Add Key Size information to the security information
Since some time the kernel has the capability to return the length of
the key that was used to encrypt the link.
This patch exposes that field to userspace so more applications can take
decisions based on this information. |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -0 |
| 19a4979a |
hciops: Fix memory leak when loading keys
If we need a copy of those keys we should copy them. |
Vinicius Costa Gomes |
14 years ago |
1 file, +11, -1 |
| 7d705873 |
Remove the SMP Long Term Key when the device is removed |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -0 |
| d364c76a |
Use the helper function to convert a string to a binary buffer
When loading Link Keys from storage we are able to re-use the function
that was introduced earlier for the LTK case. |
Vinicius Costa Gomes |
14 years ago |
1 file, +1, -7 |