aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: Fix typoSyam Sidhardhan2012-04-137-11/+11
|
* src: Fix newline before EOFSyam Sidhardhan2012-04-134-4/+0
|
* input: Fix newline before EOFSyam Sidhardhan2012-04-131-1/+0
|
* audio: Fix newline before EOFSyam Sidhardhan2012-04-138-10/+0
|
* network: Remove header declared but not definedSyam Sidhardhan2012-04-131-2/+0
|
* headset: Remove header declared but not definedSyam Sidhardhan2012-04-131-1/+0
|
* adapter: Remove headers declared but not definedSyam Sidhardhan2012-04-131-2/+0
|
* sap-u8500: Fix empty parameter list in function declarationSyam Sidhardhan2012-04-131-1/+1
|
* sdpd-request: Fix passing zero instead of NULLSyam Sidhardhan2012-04-131-1/+1
|
* agent: Fix double D-Bus message unrefSyam Sidhardhan2012-04-131-1/+0
| | | | | Inside the g_dbus_send_message() we are already doing the D-BUS message unref.
* gateway: Fix D-Bus reply memory leakSyam Sidhardhan2012-04-131-3/+3
| | | | | Re-arrange the code to avoid the D-Bus memory leak. Earlier if rfcomm is not connected, then there was a reply memory leak.
* gateway: Fix D-Bus memory leak in audioSyam Sidhardhan2012-04-131-1/+4
|
* gstavdtpsink: Fix D-Bus memory leak in audioSyam Sidhardhan2012-04-131-1/+3
|
* agent: Free the agent request properlySyam Sidhardhan2012-04-131-1/+1
| | | | | In the case of error, Unref the req->msg which is allocated inside the pincode_request_new()
* avrcp: Fix the response ctype of SetPlayerApplicationSettingValueSyam Sidhardhan2012-04-131-1/+1
| | | | | Request ctype of "SetPlayerApplicationSettingValue" is CONTROL, so response should be ACCEPTED instead of STABLE.
* health: Fix memory leakSyam Sidhardhan2012-04-131-0/+1
|
* AVRCP: Add missing capability for TrackReachedEndMichal Labedzki2012-04-121-2/+3
| | | | Add missing capability for TrackReachedEnd.
* audio: Fix memory leak when headset server probe() failsAnderson Lizardo2012-04-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If RFCOMM is disabled on the kernel, headset_server_probe() fails. Relevant log messages: audio/manager.c:headset_server_probe() path /org/bluez/499/hci0 src/adapter.c:btd_adapter_ref() 0x4bb4f78: ref=6 audio/manager.c:audio_adapter_ref() 0x4ca3010: ref=1 socket(STREAM, RFCOMM): Protocol not supported (93) audio/manager.c:audio_adapter_unref() 0x4ca3010: ref=0 src/adapter.c:btd_adapter_unref() 0x4bb4f78: ref=5 audio-headset: Operation not permitted (1) The powered callback should only be registered if adapter driver probe was successful. The callback unregister was moved to the beginning of headset_server_remove() for consistency. This fixes this memory leak: ==499== 8 bytes in 1 blocks are definitely lost in loss record 44 of 182 ==499== at 0x4826444: malloc (vg_replace_malloc.c:263) ==499== by 0x4877243: g_malloc (gmem.c:132) ==499== by 0x488D088: g_slice_alloc (gslice.c:836) ==499== by 0x488E8A5: g_slist_append (gslist.c:230) ==499== by 0x18AEEE: btd_adapter_register_powered_callback (adapter.c:3416) ==499== by 0x11AF61: headset_server_probe (manager.c:919) ==499== by 0x18B67B: probe_driver (adapter.c:2033) ==499== by 0x1908F5: adapter_init (adapter.c:2048) ==499== by 0x189D20: btd_manager_register_adapter (manager.c:397) ==499== by 0x1649AF: mgmt_cmd_complete (mgmtops.c:1075) ==499== by 0x16665E: mgmt_event (mgmtops.c:1780) ==499== by 0x48B2EFA: g_io_unix_dispatch (giounix.c:162)
* simple-agent: add DisplayPinCodeScott James Remnant2012-04-121-0/+5
|
* doc: document DisplayPinCodeScott James Remnant2012-04-121-0/+24
|
* Display PIN generated by pluginScott James Remnant2012-04-121-0/+5
| | | | | | If a plugin pincode callback sets the display parameter to TRUE, send the generated PIN to the agent for display using the new DisplayPinCode agent method, including its fallback to RequestPinCode.
* Add display parameter to plugin pincode callbackScott James Remnant2012-04-124-6/+7
| | | | | | 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.
* Add AUTH_TYPE_NOTIFY_PASSKEY to device_request_authenticationScott James Remnant2012-04-122-2/+58
| | | | | | | | | | | This new authentication type accepts a pincode and calls the DisplayPinCode agent method, a fallback is provided so that if the method is not implemented the older RequestPinCode method is used instead. Due to this fallback, the agent_pincode_cb is used and calling functions should send the pincode passed to the callback to the adapter, which may differ from that generated.
* agent: add DisplayPinCode methodScott James Remnant2012-04-122-1/+115
| | | | | | In constrast to DisplayPasskey, this sends a UTF-8 string PIN code to the agent; also we support a callback for the case where the Agent doesn't implement this new method so we can fallback.
* Pass passkey by pointer rather than by valueScott James Remnant2012-04-123-9/+10
| | | | | | This allows alternate data of a different type to be passed to device_request_authentication() for other notification types such as those that require a PIN.
* Rename AUTH_TYPE_NOTIFY to AUTH_TYPE_NOTIFY_PASSKEYScott James Remnant2012-04-123-7/+7
| | | | This makes room for additional notification types to be added.
* fakehid: Remove define not referencedClaudio Takahasi2012-04-121-2/+0
|
* fakehid: Remove unneeded header includesClaudio Takahasi2012-04-121-3/+0
|
* 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.
* mgmt: update mgmt control channel idGustavo Padovan2012-04-051-1/+1
| | | | kernel side has updated its control channel id from 1 to 3.
* DeviceInfo: Fix compilation with old glibSzymon Janc2012-04-051-0/+1
| | | | | | | | | Add missing include glib-compat.h to deviceinfo.c. deviceinfo_free is using g_slist_free_full() which is not available in old glib resulting in compilation error. deviceinfo/deviceinfo.c: In function ‘deviceinfo_free’: deviceinfo/deviceinfo.c:66: error: implicit declaration of function ‘g_slist_free_full’
* AVRCP: Fix response length for Subunit Info commandJoohi Rastogi2012-04-051-1/+1
| | | | This affect PTS Test Case TC_TG_ICC_BV_02_I
* AVRCP: Fix response length for Unit Info commandJoohi Rastogi2012-04-051-1/+1
| | | | This affect PTS Test Case TC_TG_ICC_BV_01_I
* DeviceInfo: Read PNP IDChen Ganir2012-04-044-0/+77
| | | | | Read the PNP ID characteristic of the DeviceInfo Service, and store it inside the btd_device, for use by other profiles.
* DeviceInfo: Discover CharacteristicsChen Ganir2012-04-043-3/+68
| | | | | Add logic to discover all characteristics and build a characteristic list.
* DeviceInfo: Add connection logicChen Ganir2012-04-041-0/+27
| | | | | | Add connection logic to the Device Information Plugin. When the driver is loaded, it will request a connection to the remote device and release the connection request when destroyed.
* Add DeviceInformation GATT ClientChen Ganir2012-04-046-2/+254
| | | | Add the DeviceInformation GATT Client plugin skeleton.
* Fix spelling errorsRafael Fonseca2012-04-046-6/+6
| | | | | Fix spelling errors found using the codespell tool (https://github.com/lucasdemarchi/codespell).
* Adapter: Fix Discovering state while Powering OffHemant Gupta2012-04-041-0/+1
| | | | | | This patch fixes the adapter discovering state while powering off. Without this fix, BlueZ sends incorrect discovering state to upper layers while switching off.
* attrib: Fix D-Bus service disconnect watch removalAnderson Lizardo2012-04-041-3/+2
| | | | | | watcher_free() will be automatically called when removing the D-Bus watch (it was set as the destroy callback when adding the watch), therefore it is only necessary to remove the watch.
* thermometer: Fix D-Bus service disconnect watch removalAnderson Lizardo2012-04-041-6/+10
| | | | | | destroy_watcher() will be automatically called when removing the D-Bus watch (it was set as the destroy callback when adding the watch), therefore it is only necessary to remove the watch.
* gdbus: Use destroy callback for service watchAnderson Lizardo2012-04-041-1/+1
| | | | | | Even though service watches accepted a "destroy" callback, they were being ignored. This fix properly pass them along so they are called when the watch is removed.
* attrib: Fix "make distcheck" buildAnderson Lizardo2012-04-041-1/+2
| | | | | | | | | | | | | | | Any new header files (att-database.h in this case) need to be added to Makefile.am. Fixes this "make distcheck" error: CC attrib/bluetoothd-gatt-service.o ../attrib/gatt-service.c:35:26: fatal error: att-database.h: No such file or directory compilation terminated. make[2]: *** [attrib/bluetoothd-gatt-service.o] Error 1 make[1]: *** [all] Error 2 make: *** [distcheck] Error 1
* update Gustavo's email addressGustavo Padovan2012-04-041-1/+1
|
* gattrib: Protect GAttrib when there is a pending writeClaudio Takahasi2012-04-031-4/+8
|
* attrib: Fix missing Discovery reply when disconnectedClaudio Takahasi2012-04-031-0/+14
| | | | | This patch fixes missing reply for DiscoverCharacteristics method on Generic Attribute. If link is disconnected reply message is not sent.
* proximity: reporter: implement D-Bus APIArik Nemtsov2012-04-031-8/+183
| | | | | | | | | | Use a device driver to track all GATT supporting devices and register a D-Bus interface per remote device. Implement the "GetProperties" method of the D-Bus interface by querying the alert level of the remote device in the link-loss and immediate-alert proximity profiles. The default alert level values for non-connected devices are "none".
* proximity: immediate alert: implement immediate alert serverArik Nemtsov2012-04-034-40/+320
| | | | | | | | | | | | The profile is implemented in immalert.[ch]. A GATT service is registered with a write callback on the immediate alert level attribute. This attribute is write-only and is maintained per remote device. When a remote device write a raises or lowers the alert level, an appropriate PropertyChanged signal is emitted. When the alert level of a device is non-zero, a callback is registered on its disconnection. When the callback is called, the alert level of the device is reset to zero and an appropriate signal is emitted.
* proximity: link loss: implement link loss serverArik Nemtsov2012-04-034-40/+368
| | | | | | | | | | | | | The profile is implemented in linkloss.[ch]. A GATT service is registered with read/write callbacks on the link-loss alert level attribute. The alert level is maintained per device. It is returned on read and updated on write. When the alert level is non-zero, a callback is registered on the disconnection of the remote device. If a device with non-zero alert state is disconnected, an appropriate PropertyChanged signal is emitted with the alert level previously set by the device. We avoid emitting a signal when the disconnection was requested by us.
* proximity: reporter: move definitions to .h and add util functionArik Nemtsov2012-04-032-12/+30
| | | | This allows us to re-use these definitions in GATT sub-profiles.