| c9548eba |
gatt-service: Delete attributes when service registration fails
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 Carot-Nemesio |
14 years ago |
1 file, +25, -4 |
| 17dac2f0 |
attrib-server: Move GAP attributes inside gatt_server struct |
Santiago Carot-Nemesio |
14 years ago |
1 file, +18, -12 |
| 5da4dd8a |
gatt-service: Add missing user_data parameter for callbacks |
Santiago Carot-Nemesio |
14 years ago |
3 files, +10, -5 |
| f0ef8ce2 |
build: increase check requirement to 0.9.6
ck_assert, used by unit/test-eir.c wasn't added to check until 0.9.6 |
Scott James Remnant |
14 years ago |
1 file, +1, -1 |
| 1a096265 |
lib: Fix structures for AMP Assoc Read
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. |
Andrei Emeltchenko |
14 years ago |
1 file, +5, -6 |
| deada676 |
manager: Fix removing adapter from list upon initialization failure |
Johan Hedberg |
14 years ago |
1 file, +1, -0 |
| ec60f0ad |
mgmtops: Log confirm_name field in mgmt_device_found |
Johan Hedberg |
14 years ago |
1 file, +3, -2 |
| d94854fb |
hciops: Add check for EIR complete name |
Johan Hedberg |
14 years ago |
1 file, +8, -1 |
| f52cc307 |
eir: Add function to check for complete name |
Johan Hedberg |
14 years ago |
2 files, +27, -0 |
| d08600bb |
hciops: Fix missing eir in btd_event_device_found call |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| d9062e72 |
hciemu: Fix strict-aliasing rules handling
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 97046eaf3fc44b4451157b1a1bbc166ab0f4dda8. |
Anderson Lizardo |
14 years ago |
1 file, +2, -2 |
| 3b2985ba |
wiimote: Fix device_get_address to use new API
Commit b06899eace1f484b387aae0e568fb1da988b468c 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 |
14 years ago |
1 file, +1, -1 |
| 3a870b6a |
Add wiimote plugin to bootstrap-configure |
David Herrmann |
14 years ago |
1 file, +1, -0 |
| 5d250fdf |
attrib-server: Add GAttrib in attrib_channel_detach function |
Santiago Carot-Nemesio |
14 years ago |
3 files, +19, -28 |
| 54f49e31 |
attrib-server: Add adapter in attrib_create_sdp function |
Santiago Carot-Nemesio |
14 years ago |
3 files, +12, -10 |
| 974bb2dc |
attrib-server: Add adapter in attrib_db_del function |
Santiago Carot-Nemesio |
14 years ago |
2 files, +6, -6 |
| 86980984 |
attrib-server: Add adapter in attrib_gap_set function |
Santiago Carot-Nemesio |
14 years ago |
3 files, +7, -8 |
| 99156a24 |
attrib-server: Add adapter in attrib_db_update function |
Santiago Carot-Nemesio |
14 years ago |
4 files, +18, -11 |
| 7188fe25 |
gatt-service: Add adapter in gatt_service_add function |
Santiago Carot-Nemesio |
14 years ago |
4 files, +21, -23 |
| 6a1e46af |
attrib-server: Add adapter in attrib_db_add
Because of there can be many adapters plugged, the GATT servers must
provide the adapter in which the attributes will be registered. |
Santiago Carot-Nemesio |
14 years ago |
5 files, +100, -58 |
| bbc34269 |
attrib-server: Add adapter to attrib_db_find_avail function
Adapters manage their own list of handlers so we need to specify the
adapter where the handlers will be registered. |
Santiago Carot-Nemesio |
14 years ago |
6 files, +31, -21 |
| caa6034e |
gatt-example: Use adapter driver to register GATT attributes
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 Carot-Nemesio |
14 years ago |
1 file, +79, -19 |
| b84ab528 |
attrib-server: Mark attrib_channel_detach as deprecated
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 Carot-Nemesio |
14 years ago |
1 file, +2, -0 |
| 42de9841 |
attrib-server: Remove global database list
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 Carot-Nemesio |
14 years ago |
1 file, +48, -19 |
| 28abb22b |
attrib-server: Remove global le_io variable
Get ride of the global low energy channel in order to use the low
energy channel managed in each server. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +1, -3 |
| 7606d74e |
attrib-server: Attach attrib_channel in adapter clients list
This patch attaches attribute channels to the gatt server list instead
of using the global client list. Furthermore, we use the GATT server
started in the default adapter when attrib_channel_detach is invoked in
order to keep backward compatibility until the interface is updated to
accept the adapter too. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +57, -17 |
| 874fc31a |
attrib-server: Add attributes in adapter database
Each server has its own database so the global database list will be
removed. This patch makes a wrapper over attrib_db_add function to get
the default GATT server in order to add attributes in the default
adapter, int his way we keep backward compatibility with the gatt server
interface until the API is updated. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +61, -34 |
| d4a259f1 |
attrib-server: Register GATT SDP record per each adapter
Each server has its own SDP registry wich will be managed separately.
Furthermore, this patch makes a wrapper over attrib_create_sdp function
using the default GATT server started in thye default adapter in order
to keep backward compatibility with the gatt server interface until the
api is finally updated. |
Santiago Carot-Nemesio |
14 years ago |
1 file, +119, -88 |
| 896573b5 |
attrib-server: Initial steps towards multi-adapter GATT server support
We need neither to init nor stop gatt server whenever the demon
starts and finishes the execution, instead of doing that, we init
or stop the GATT server when the adapter is initialized or removed. |
Santiago Carot-Nemesio |
14 years ago |
5 files, +84, -43 |
| ddaf4b47 |
hciops: Fix integer type for Class of Device |
Johan Hedberg |
14 years ago |
1 file, +1, -1 |
| 3819e1a6 |
add tools to include folder list
adding tools to include folder list avoids out-of-source build
breakage |
Yegor Yefremov |
14 years ago |
1 file, +2, -1 |
| a6aa8346 |
fix link creation for out-of-source builds |
Yegor Yefremov |
14 years ago |
1 file, +2, -2 |
| cac78035 |
Remove useless btd_event_bonding_complete function |
Johan Hedberg |
14 years ago |
4 files, +20, -28 |
| 2a8c76fa |
Move name resolving control into hciops
Due to the way legacy name resolving is handled for the mgmt interface
the entire logic that was previously part of the core daemon needs to be
moved into hciops. Essentially hciops now contains what the mgmt code
in the kernel will do when mgmtops is used. |
Johan Hedberg |
14 years ago |
7 files, +349, -426 |
| 9a1006ee |
hciops: Fix passing correct bdaddr pointer to oob lookups |
Johan Hedberg |
14 years ago |
1 file, +2, -2 |
| bf5d45f2 |
build: Move libcheck under TEST conditional |
Marcel Holtmann |
14 years ago |
3 files, +12, -4 |
| ec632165 |
adapter-api: Fix incorrect spelling
This patch fixes incorrect spelling. |
DoHyun Pyun |
14 years ago |
1 file, +1, -1 |
| df62dbb6 |
audio: Use headset_shutdown in headset_setconf_cb
If pending connection will stay after state has been changed to
HEADSET_STATE_DISCONNECTED, then crash may happen (e.g. when hs_connect
will be called quickly again after that) To avoid that kind of problems
using headset_shutdown, which does necessary cleanup first (finalizes
pending connections) and after that changes state to
HEADSET_STATE_DISCONNECTED. |
Radoslaw Jablonski |
14 years ago |
1 file, +1, -1 |
| d6f93380 |
attrib-client: Fix consecutive set value when disconnected
SetProperty for "Value" property needs to be queued when disconnected.
Registering ATTIO connection callback does not mean that the link is
established, GAttrib instance is assigned in the connection callback. |
Claudio Takahasi |
14 years ago |
1 file, +5, -3 |
| f583bef2 |
attrib-client: Fix GAttrib reference counting
Although ATT connection callbacks control GAttrib reference, each
entity using GAttrib should be increment the GAttrib reference to
keep the code standard. |
Claudio Takahasi |
14 years ago |
1 file, +7, -3 |
| 6e4a000c |
attrib-client: Remove unused SDP header includes |
Claudio Takahasi |
14 years ago |
1 file, +0, -2 |
| 632164a8 |
Clean up name resolving state handling |
Johan Hedberg |
14 years ago |
4 files, +9, -27 |
| b06899ea |
Fix device address type tracking |
Johan Hedberg |
14 years ago |
16 files, +128, -97 |
| 214087d7 |
Release 4.97 |
Marcel Holtmann |
14 years ago |
2 files, +11, -1 |
| d223feb8 |
Update library version |
Marcel Holtmann |
14 years ago |
1 file, +1, -1 |
| 26495f67 |
Fix size_t format specifiers |
Johan Hedberg |
14 years ago |
2 files, +2, -2 |
| 5e837c79 |
btmgmt: Add basic confirm_name support |
Johan Hedberg |
14 years ago |
1 file, +47, -0 |
| 34b08317 |
mgmt: Update confirm_name definitions to match API specification |
Johan Hedberg |
14 years ago |
1 file, +5, -1 |
| 78da89d0 |
mgmt-api: Update Confirm Name return parameters |
Johan Hedberg |
14 years ago |
1 file, +2, -1 |
| 2bad4b65 |
btmgmt: Print confirm_name info for device_found events |
Johan Hedberg |
14 years ago |
1 file, +3, -2 |