This was added to restore message exchange capabilities with automotive systems. Change-Id: I88af538273bdf9dd24c971c196500d713f54f6ab
When getting properties for a Bluetooth device, or getting info about a newly discovered device, do not set the Alias property to the device name or to the Bluetooth address as a fallback. The Alias property will only be set if the user has actually set a custom alias for the device. Bug: 5346926 Change-Id: Iea51b642592fae066ab075b0fe46d255f2d73119
…s change state In the scenario where there are no plugins loaded, bluez initializes and finishes putting the adapter in a powered down state before the upper layers have a chance of finishing their initialization. By duplicately sending UUID property changes, the upper layer notices and moves to the next state. Change-Id: I673cfb95444d1fee12264e50c709f85a40480068
memset the addr variable. Change-Id: I3a3567145985ba425ebf8e4b21d426dcb490dbf5
If cancel is pressed on the pin request dialog (for non SSP case), auth request continues in a loop. Add additional checks for the auth agent. This is a gross temporary hack till we move to the mgmt interface. Change-Id: I565a75698cb4fa1c2ed8c93ed6198b05a1a7b8af
Fix Paired device property if 'No Bonding' authentication is used. It is set to be false when device is disconnected and no link key is stored. Otherwise, there can be cases when device is still valid and being claimed as paired without available bonding information. For instanse, use of CreateDevice method call and obex client file transfer is such use case.
When two SSP devices are paired and the other end deletes the link key, any connection requests requiring authentication will fail with the error code "PIN or Key missing". In such a case, the link key has to be deleted and authentication tried again. Note: This is a temporary fix. The new management interfaces will consolidate all the SSP logic. Change-Id: I517b081c0014e75507554604dc45ae44f15050c4
Currently BlueZ is hard-coding the default link policy to include role switch, hold mode, sniff mode and park state. However, some device will have problem to maintain the connection or setup SCO if they are in park state. Making these operation modes configurable in main.conf improves flexibility so any of these four modes can be disabled if necessary. Signed-off-by: Bao Liang <firstname.lastname@example.org>
org.bluez.Adapter.AddRfcommServiceRecord takes a name, uuid and channel and creates a record like: Service Name: MyApplication Service RecHandle: 0x10009 Service Class ID List: UUID 128: 42999bc0-ac5e-11de-8a39-0800200c9a66 Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 26 It returns the integer Record Handle, that can be used with org.bluez.Adapter.RemoveServiceRecord to remove that record. Bug: 2158900 DrNo: eastham Changes to original commit: Jaikumar Ganesh for Bluez upgrade. Change-Id: Ie375d5ccd24b5faf067a26b8a04a1449b3f56ce2
This callback will be called for incoming pairing requests for 2.1 devices only when the remote IO capabilities are NoInputNoOutput or DisplayOnly and the local IO capability is DisplayYesNo. Currently, we were silently auto accepting.
…annel. We should be having the SDP record in the cache. In the very rare case, that the remote device's SDP records have changed and if a discovery is in progress, we would have already updated the cache or if we have not queried the device yet, we are going to fail anyways.
As android init.rc doesn't support applying linux capabilities, add them after starting the bluetooth daemon as root. Original Change by Nick Pelly. <email@example.com> Moved to Bluez4 by Jaikumar Ganesh. <firstname.lastname@example.org> Change-Id: I9406ddc33a6510845b6709b321d828b160ed10ca
…equency. 1)Add support for ro.produce.model/brand/name system properties. 2)Set SBC frequency to 44100. Original Change by Nick Pelly. <email@example.com> Moved to Bluez-4 by Jaikumar Ganesh. <firstname.lastname@example.org>
This includes the following commits from previous versions: a) bluez: Add Android.mk for pand (off by default) b163e2b by <email@example.com> b) Add missing libbluetooth in linker commands for executables using libbluetoothd. 3e442fe by <firstname.lastname@example.org> c) Edit makefiles to get network to work. Changed libglib to be a shared library fddb10d62d21580c49101c3dc4ab43f6619234c0 by Danica Chang d) Update Bluetooth configuration path: 0b25504e93b95a809e32227a3832bf08a3c13296 by Jaikumar Ganesh e) bluez : use another code for Intel's mmx. fe0762b2463df43b2765582c76a09356c753e16b by: Author: Jae-Hyung Ahn <email@example.com>, Signed-off-by: Bruce Beare <firstname.lastname@example.org>