path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* mgmtops: Clear pending_cod_change when powering offJohan Hedberg2012-06-131-0/+1
* mgmtops: Move error message after command status handlers callsSzymon Janc2012-06-131-5/+7
| | | | | Don't print error message for actions that are expected or recoverable i.e. add_uuid returning EBUSY status.
* mgmtops: Handle EBUSY status from MGMT_OP_ADD_UUID commandsSzymon Janc2012-06-131-9/+50
| | | | | | MGMT_OP_ADD_UUID may fail with EBUSY due to ongoing CoD update. In case of EBUSY error wait for Class Of Device changed event before adding more UUIDs.
* mgmtops: Fix handling of cmd_status(0)Johan Hedberg2012-06-071-0/+6
* mgmtops: Fix endianness conversionJefferson Delfes2012-06-021-1/+1
| | | | Flags field has 32-bit size.
* pnat: Move UUID string definition to libDaniel Wagner2012-06-021-2/+2
* GATT: Move GATT assigned numbers to GATT headerClaudio Takahasi2012-05-301-0/+1
* Remove redundant D-Bus error initilization in maemo6 pluginSyam Sidhardhan2012-05-241-1/+0
* Do not set signature and reply in GDBus tablesLucas De Marchi2012-05-172-8/+8
| | | | | Use GDBUS_* macros, so signature and reply fields are not set in each method/signal.
* Convert GDBus methods to use macro helpersLucas De Marchi2012-05-172-11/+27
| | | | | With these macro helpers we can separate in/out arguments and use their own vector.
* Constify GDBus method tablesLucas De Marchi2012-05-172-2/+2
| | | | | | | Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
* mgmtops: Fix wrong parameter order for btd_event_ltk_notify()Anderson Lizardo2012-05-021-2/+2
| | | | The "master" parameter was in the wrong place.
* Fix adaptername shutdownBastien Nocera2012-04-291-5/+8
| | | | | An inotify watch descriptor isn't a file descriptor, so don't treat it as such and remove it properly.
* hciops: Fix event mask for Inquiry Result with RSSIJohan Hedberg2012-04-261-1/+1
| | | | | The right value is 0x02 and not 0x04 (which is "Read Remote Extended Features Complete").
* Remove MGMT address type definitionClaudio Takahasi2012-04-251-44/+16
| | | | | This patch replaces the address type defined in management interface header by the new address type constants defined in the bluetooth.h.
* Remove addr_type_t definition from adapter.hClaudio Takahasi2012-04-252-49/+53
| | | | | This patch replaces addr_type_t by the new Bluetooth address type constants defined in bluetooth.h
* hciops: map KeyboardDisplay IO Capability to DisplayYesNoScott James Remnant2012-04-191-1/+4
| | | | | | | | | Since hciops is not used for LE devices, if an agent announces the KeyboardDisplay IO Capability when creating a bonding, map it to DisplayYesNo. This matches the existing change in hciops_set_io_capability which is only used in the RegisterAgent path.
* build: Remove glib-compat.h supportMarcel Holtmann2012-04-162-2/+0
* Add display parameter to plugin pincode callbackScott James Remnant2012-04-121-1/+1
| | | | | | Pass a display parameter to the plugin pincode callback, a plugin may set this to TRUE to indicate the PIN it generates should be displayed on the screen for entry into the remote device.
* mgmtops: Handle Start Discovery Complete in case of failureHemant Gupta2012-04-101-1/+29
| | | | | This patch adds handling of start discovery complete event in cases when discovery fails to get started.
* att: add remote btd_device to ATT read/write callbacksArik Nemtsov2012-04-031-1/+3
| | | | | This allows us to identify the remote device that made the ATT read/write.
* mgmtops: Add support for setting Device IDSzymon Janc2012-03-281-3/+24
* Add support for setting VID source in DeviceID from config fileSzymon Janc2012-03-282-5/+8
| | | | | | This allows to set if VID source is Bluetooth SIG or USB. Assigner is provided as string {bluetooth,usb} and fallback to usb if none is set in config.
* GATT: Profile support for EnableGattChen Ganir2012-03-261-1/+1
| | | | Add support for the EnableGatt for all GATT profiles.
* GATT: Rename AttributeServer switchChen Ganir2012-03-261-2/+2
| | | | | Rename the AttributeServer main.conf option to EnableGatt and change its purpose to enable/disable all GATT related activity.
* wiimote: Detect Wii Remotes by device nameDavid Herrmann2012-03-151-5/+8
| | | | | | | | We currently detect Wii Remotes by DID information. However, not all Wii Remotes (especially 3rd party Wii Remotes) provide DID information. Moreover, they provide no way of identifying them aside from their device name. Hence, this adds an experimental name-detection for Wii Remotes.
* mgmtops: Use DBG not error for printing name in read_info_completeSzymon Janc2012-03-051-1/+1
| | | | This is debug not an error message.
* mgmtops: Add debug print to update_settingsSzymon Janc2012-03-051-0/+2
| | | | Print settings for easier tracking what has changed.
* mgmtops: When settings discoverable also set connectable if not set yetSzymon Janc2012-03-051-3/+6
| | | | | Otherwise command would be rejected e.g. when setting discoverable at bluetoothd startup.
* core: remove set_limited_discoverable from adapter_ops driverLuiz Augusto von Dentz2012-03-022-8/+0
| | | | Core should not longer need to take care of details of discoverable bits
* core: Make adapter_ops->set_discoverable to take discoverable timeoutLuiz Augusto von Dentz2012-03-022-20/+85
| | | | This enables the driver to implements its own handling of the timeout
* mgmtops: Use proper boolean value for mgmt_set_powered callJohan Hedberg2012-03-021-1/+1
* core: Remove name and class setting from btd_adapter_start()Johan Hedberg2012-03-032-151/+171
| | | | | | | | Especially for mgmtops it's important that these values are pushed down in the stack *before* powering on, so btd_adapter_start() is the wrong place. Instead, adapter functions are added to hciops/mgmtops can fetch these values at the right point during adapter init and push them down in the stack (to the kernel).
* mgmtops: Use error() instead of DBG() for command failuresJohan Hedberg2012-03-021-1/+3
* mgmtops: Fix clearing of pending_uuids after g_slist_free_full()Johan Hedberg2012-03-021-0/+2
* mgmtops: Add CANCEL_PAIR_DEVICE command complete handlingAnderson Lizardo2012-02-291-0/+3
| | | | This avoids the "Unknown command complete for opcode 26" error.
* mgmtops: Add missing compatibility header includeAnderson Lizardo2012-02-241-0/+1
| | | | | | | | | | | | glib-compat.h needs to be included when either g_slist_free_full() or g_list_free_full() is used on a C file. Otherwise, it will fail to build on older (supported) Glib versions that lack these functions. Fixes this build error on GLib 2.24.1: plugins/mgmtops.c: In function ‘remove_controller’: plugins/mgmtops.c:180: error: implicit declaration of function ‘g_slist_free_full’
* mgmtops: Fix uninitialized discovery type valueJohan Hedberg2012-02-241-6/+5
* mgmtops: Set discovery type based on real capabilitiesJohan Hedberg2012-02-241-4/+11
* mgmtops: Move power on after UUID additionsJohan Hedberg2012-02-241-1/+21
* mgmtops: Fix clearing of pending UUIDs/Class dataJohan Hedberg2012-02-241-2/+9
* mgmtops: Fix calling adapter_mode_changed when not poweredJohan Hedberg2012-02-241-1/+1
* mgmtops: Fix updating settings values after read_info responseJohan Hedberg2012-02-241-9/+16
* mgmtops: Cache dev_class update until UUID changes finishJohan Hedberg2012-02-241-23/+41
* mgmtops: Fix read_info response handlingJohan Hedberg2012-02-241-7/+8
* mgmtops: Move clear_uuids after read_info responseJohan Hedberg2012-02-241-1/+2
* mgmtops: Add UUID queuing to avoid EBUSY errorsJohan Hedberg2012-02-241-1/+51
* mgmtops: Add SET_LE/SET_SSP command complete handlingAnderson Lizardo2012-02-231-0/+6
| | | | This avoids "Unknown command complete for opcode <nn>" errors.
* mgmtops: Handle "Class Of Device Changed" eventAnderson Lizardo2012-02-231-0/+3
| | | | This avoids misleading "Unknown Management opcode 7 (index 0)" errors.
* mgmtops: Fix connection list fetching when powered offJohan Hedberg2012-02-231-5/+4