- Jan 13, 2012
-
-
Marcel Holtmann authored
-
Johan Hedberg authored
The field_len variable shouldn't be touched for the over-all parsing state to remain consistent and so a helper variable (name_len) is needed after all.
-
- Jan 12, 2012
-
-
Johan Hedberg authored
-
Johan Hedberg authored
-
Johan Hedberg authored
This way we avoid g_utf8_validate having to do it's own strlen work.
-
Anderson Lizardo authored
According to PXP IAS specification (Table 3.2), the Alert Level characteristic property has only "Write without response" as mandatory and the rest is excluded.
-
Anderson Lizardo authored
Some UIs may assume that a device lacking the Legacy property is pre 2.1. To be more consistent with BR/EDR devices, always set Legacy property explicitly to False. This makes these UIs not ask for a PIN code when doing Just Works pairing for LE devices.
-
Bruna Moreira authored
Some vendors put a NUL byte terminator on EIR name field. If that is the case, use -1 as string length so g_utf8_validade() can parse it properly.
-
Syam Sidhardhan authored
If HF has already requested for the Extended Error result code reporting, then send the same in certain failure cases. Earlier in this case we were sending normal error.
-
- Jan 09, 2012
-
-
Szymon Janc authored
-
Szymon Janc authored
Size is set using SO_RCVBUF, see man 7 socket for more details.
-
Anderson Lizardo authored
With these options, all BlueZ C files are compiled with "./bootstrap-configure". The only exception is --enable-hal, which conflicts with the "formfactor" plugin.
-
Anderson Lizardo authored
It was disabled for quite some time (since 2009), and does not even compile anymore if enabled: plugins/echo.c: In function 'session_event': plugins/echo.c:53: error: implicit declaration of function 'g_io_channel_read' plugins/echo.c:57: error: implicit declaration of function 'g_io_channel_write'
-
Anderson Lizardo authored
The .c file and the configure check were not being used anywhere.
-
Santiago authored
Remove the example-plugin data element from the list whenever an adapter is removed.
-
Santiago authored
-
Santiago authored
Whenever a regitration operation fails, the attributes stored in the data base of handles remain. This patches removes all attributes registered by a service when the operation is not succesful. In this way, either all service attributes are registered or none of them are stored in the data base.
-
Santiago authored
-
- Jan 07, 2012
-
-
Scott James Remnant authored
ck_assert, used by unit/test-eir.c wasn't added to check until 0.9.6
-
- Jan 05, 2012
-
-
Andrei Emeltchenko authored
Make struct names similar to kernel and remove static array since fragment length can be other size than HCI_MAX_NAME_LENGTH, which is for totally different purpose.
-
- Jan 02, 2012
-
-
Johan Hedberg authored
-
Johan Hedberg authored
-
- Dec 30, 2011
-
-
Johan Hedberg authored
-
Johan Hedberg authored
-
Johan Hedberg authored
-
Anderson Lizardo authored
gcc 4.4.3 (from Ubuntu 10.04) started complaining about this code: test/hciemu.c: In function ‘hci_host_control’: test/hciemu.c:431: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules test/hciemu.c:431: note: initialized from here The fix is based on commit 97046eaf.
-
David Herrmann authored
Commit b06899ea introduced a new API for device_get_address but apparently missed fixing the call in plugins/wiimote.c. This patch converts the plugin to use the new API.
-
David Herrmann authored
-
Santiago authored
-
Santiago authored
-
Santiago authored
-
Santiago authored
-
Santiago authored
-
Santiago authored
-
Santiago authored
Because of there can be many adapters plugged, the GATT servers must provide the adapter in which the attributes will be registered.
-
Santiago authored
Adapters manage their own list of handlers so we need to specify the adapter where the handlers will be registered.
-
Santiago authored
GATT servers should register their attributes on each adapter when it is plugged instead of doing that when the plugins is loaded. This patch registers a new adapter driver to manage plug and unplug events in order to register attributes in each GATT served managed in each adapter.
-
Santiago authored
All public attrib-server functions are marked as deprecated until they expose adapter facilities to operate with. This is a transactional patch toward multiple adapter support is implemented. All those functions use default adapter in order to keep backward compatibility.
-
Santiago authored
Each server use its own databa list to manage handlers so all operations should managed separately by each GATT server instead of using a global handler list.
-
Santiago authored
Get ride of the global low energy channel in order to use the low energy channel managed in each server.
-