| 2d4c58a7 |
Fix not being able to register pdu handlers
This happens when removing and adding again an adapter |
Luiz Augusto von Dentz |
14 years ago |
1 file, +11, -4 |
| 4cadf1d1 |
Fix missing initialization of A2DP error |
Johan Hedberg |
14 years ago |
1 file, +1, -0 |
| 6c729fd1 |
Minor cleanup in attrib server channel disconnect |
Claudio Takahasi |
14 years ago |
1 file, +10, -19 |
| aa9e4e4b |
Add attrib server channel detach
BlueZ will act as GAP central role, so for outgoing connections the
central is responsible for disconnecting the link. This patch adds
a function allowing the central to detach from the local attribute
server(removing the last GAttrib reference). |
Claudio Takahasi |
14 years ago |
3 files, +43, -5 |
| 6baa6b0f |
Emit LinkLossAlertLevel after writing the alert |
Claudio Takahasi |
14 years ago |
1 file, +10, -7 |
| f6daa9b4 |
Fix wrong write GATT-subprocedure for Link Loss
According to Link Loss Service specification, Write Characteristic
Value sub-procedure should be used to change the Alert Level. |
Claudio Takahasi |
14 years ago |
1 file, +21, -4 |
| e5753d87 |
Fix regression when disconnecting AVRCP
This prevent to disconnect AVRCP when doing e.g. Audio.Disconnect |
Luiz Augusto von Dentz |
14 years ago |
1 file, +1, -1 |
| 4d3bb394 |
AVRCP: fix missing bytes on notification |
Lucas De Marchi |
14 years ago |
1 file, +1, -1 |
| d9ae5bea |
Filter duplicates by default with hcitool lescan |
Johan Hedberg |
14 years ago |
1 file, +9, -3 |
| 1cf761e1 |
Update company identifiers |
Marcel Holtmann |
14 years ago |
1 file, +10, -0 |
| 355637a0 |
Fix Unref message after it was sent |
Frédéric Danis |
14 years ago |
1 file, +1, -0 |
| 4364aa41 |
AVRCP: fix changed notification
We sure want to send notifications only when section is not NULL.
Otherwise we either crash or do not send the expected notification. |
Lucas De Marchi |
14 years ago |
1 file, +1, -1 |
| 8ebb3c79 |
AVRCP: fix case when only one setting is provided
If CT tries to change an Application Setting providing only one
setting, the size of the PDU will be 3 bytes. Therefore we should check
if the PDU is shorter than or equal 3, not only shorter. |
Lucas De Marchi |
14 years ago |
1 file, +1, -1 |
| 138f8317 |
AVRCP: return empty string instead of rejecting
If media attribute is not available for a certain media file, return an
empty string instead of rejecting the request. The spec is not so clear
if only the title should be handled as an empty string when not present,
but this is the only alternative to rejecting the request.
IOP tests showed that some CT devices don't like reject messages: they
never ask for an attribute again if they previously received a REJECTED
message for that attribute. They consider REJECTED as "TG doesn't
implement it these optional attributes" as opposed to what we had
before, "this attribute is currently not available". |
Lucas De Marchi |
14 years ago |
1 file, +19, -22 |
| 547f9e37 |
Fix memory corruption when decoding Read Response PDU
A bogus (or hostile) Proximity Reporter device may send a TX Power value
bigger than the buffer used. Therefore, create a temporary buffer with
the maximum size, and check for the length before using the value.
Note that all other current users of the dec_read_resp() already do
this. Another option would be to change dec_read_resp() to accept a
buffer length, but this would break external code, so it is avoided for
now. |
Anderson Lizardo |
14 years ago |
1 file, +8, -3 |
| 3d6f41b4 |
Mention Andre's and Sheldon's contributions |
Claudio Takahasi |
14 years ago |
1 file, +2, -0 |
| 42b90a43 |
Remove use of read_device_id in wiimote plugin
Make use of btd_device_get_vendor and btd_device_get_product intead. |
Luiz Augusto von Dentz |
14 years ago |
1 file, +12, -11 |
| 73952ca5 |
Remove use of read_device_id in input plugin
Make use of btd_device_get_vendor, btd_device_get_product and
btd_device_get_version intead. |
Luiz Augusto von Dentz |
14 years ago |
1 file, +3, -2 |
| 5600f99b |
Print Vendor/Product/Version in hexadecimal
This is how their are more commonly known. |
Luiz Augusto von Dentz |
14 years ago |
1 file, +6, -0 |
| d1d4f1b2 |
Add Vendor, Product and Version properties to org.bluez.Device
This identifiers can be used by applications to implements quirks which
seems to be very common in some profiles such as syncml and since this
information is already stored permanently we can quickly retrieve it
without having to connect or parse the records again. |
Luiz Augusto von Dentz |
14 years ago |
3 files, +101, -0 |
| b5dae52d |
Fix remove feedback DTMF tones timer on call release
User feedback DTMF tones queue is freed and timer removed when call
is released. |
Dmitriy Paliy |
14 years ago |
1 file, +3, -0 |
| 4861017b |
Fix play DTMF feeback tones only for active call
Check on active call is added for playing of DTMF feedback tones to
notify user. Network DTMF tones are handled by modem, and therefore
there is no need in special check for those. |
Dmitriy Paliy |
14 years ago |
1 file, +4, -1 |
| 5d9207ac |
Add playback of tones to handsfree
StartEventTone and StopTone method calls to tone generator are added
to maemo6 telephony driver. Such implements playback of DTMF tones
in handsfree to notify user. |
Dmitriy Paliy |
14 years ago |
1 file, +119, -0 |
| b48e6103 |
Fix error handling in start_dtmf_reply
If csd replyed with error to StartDTMF, then StopDTMF method call
is not sent. |
Dmitriy Paliy |
14 years ago |
1 file, +16, -1 |
| 16af0ec6 |
Replace SendDTMF by StartDTMF/StopDTMF in maemo6
SendDTMF method call is replaced by StartDTMF/StopDTMF in maemo6 telephony
driver. StartDTMF/StopDTMF places DTMF tone in queue on modem side playing
it minimum required time. When using SendDTMF, modem ignores new tone
until currently playing one is not finished.
Downside of StartDTMF/StopDTMF combination is absence of audio feedback to
hands-free. |
Dmitriy Paliy |
14 years ago |
1 file, +23, -7 |
| 6d0ec749 |
AVRCP: limit AVRCP packet size to the MTU of AV/C
AVRCP is an extension of AV/C spec which has a limit of 512 bytes. The
only place where it can exceed this value is in the response to
GetElementAttributes command.
Now we simply don't add the attributes that would overflow the available
buffer space. |
Lucas De Marchi |
14 years ago |
3 files, +37, -26 |
| f8a44769 |
Rename fast_connectable function in hciops
Rename fast_connectable function in hciops to set_fast_connectable
to make it consistent with rest of the file and with mgmt interface
counterpart. |
Antti Julku |
14 years ago |
1 file, +2, -2 |
| 1dcd7435 |
Implement fast connectable mode for mgmt interface
Management interface implementation for fast connectable mode. |
Antti Julku |
14 years ago |
3 files, +34, -3 |
| fa635227 |
Fix test-proximity usage info |
Claudio Takahasi |
14 years ago |
1 file, +2, -1 |
| 3c78fa2f |
Minor style fix |
Frédéric Dalleau |
14 years ago |
1 file, +0, -1 |
| f245d02b |
Remove unneeded checks in gateway_is_connected |
Frédéric Dalleau |
14 years ago |
1 file, +6, -2 |
| 9344ad5b |
Check all states before allowing gw connection |
Frédéric Dalleau |
14 years ago |
3 files, +12, -1 |
| 4af12dd5 |
Fix possible crash while removing a device
If adapter has more than one sdp session active find_by_bdaddr always
return the first one regardless if the device address match or not
which leads to the following crash:
Invalid read of size 4
at 0x16CB31: search_cb (in /usr/sbin/bluetoothd)
by 0x15C0CA: connect_watch (in /usr/sbin/bluetoothd)
by 0x48CFD37: g_io_unix_dispatch (in /usr/lib/libglib-2.0.so.0.2800.6)
by 0x488B4A0: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.2800.6)
by 0x488BCD0: g_main_context_iterate.clone.5 (in /usr/lib/libglib-2.0.so.0.2800.6)
by 0x488C3B8: g_main_loop_run (in /usr/lib/libglib-2.0.so.0.2800.6)
by 0x152D09: main (in /usr/sbin/bluetoothd)
Address 0x4c8c600 is 16 bytes inside a block of size 48 free'd
at 0x48234A9: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
by 0x48920F0: g_free (in /usr/lib/libglib-2.0.so.0.2800.6)
by 0x16BDD3: browse_request_free (in /usr/sbin/bluetoothd)
by 0x16C7A2: browse_request_cancel (in /usr/sbin/bluetoothd)
Reported by Alberto José Rodríguez Rodríguez <ajrodriguez@blulabs.es> |
Luiz Augusto von Dentz |
14 years ago |
1 file, +6, -2 |
| a09d1717 |
Add device blocking events to mgmt API documentation |
Antti Julku |
14 years ago |
1 file, +14, -0 |
| 390795c7 |
Fix Device UUIDs property list being sent empty
When creating a new device, the UUIDs list is updated in the device
probing function. This patch moves the function call which emit the
signal after the device driver probing. |
Claudio Takahasi |
14 years ago |
1 file, +1, -1 |
| eb41b504 |
Fix the attrib server trying to handle responses
The attribute server should only try to handle ATT requests, responses
and events should be handled by the client. |
Vinicius Costa Gomes |
14 years ago |
3 files, +5, -2 |
| 6184bc59 |
Attrib server integration for outgoing connections
We need support for attaching a client connection to the attribute
server because the server that we are connected may want to do
something similar to a reverse service discovery, and we need to be
able to receive indications and notifications. |
Vinicius Costa Gomes |
14 years ago |
5 files, +40, -18 |
| 2f440ad7 |
hciattach: fix serial speed setting for wl1271
override speed setting if firmware script issues serial settings command,
otherwise the value given in the firmware script will be overridden.
Example:
hciattach /dev/ttyO1 texas 115200
will fail, because /dev/ttyO1 will be opened with 115200 b/s, then
the firmware script will set the buadrate to 3000000 b/s, after UART init
hciattach.c will set the baudrate to 115200, so communication is broken.
The only correct way is to set both speeds:
hciattach -s 115200 /dev/ttyO1 texas 3000000
With this patch only initial speed must be specified. The former semantic
will be preserved in case the firmware script doesn't provide serial
settings action.
Tested with wl1271 and firmware TIInit_7.2.31.bts |
Yegor Yefremov |
14 years ago |
3 files, +13, -10 |
| 85d21c3e |
Fix reference count issue in incoming connections
In case of incoming RFCOMM connection, manager calls
gateway_connect_rfcomm which already take reference to GIOChannel, hence
no need to take another one. |
Frédéric Dalleau |
14 years ago |
1 file, +2, -1 |
| dfea776a |
Set state to "connecting" on connection requested
Make sure that state changes to disconnected on errors (authorization
refused, disconnect, sdp) This change will become necessary when
integrating the Audio interface which rely on state change to confirm
that connection has started successfully. |
Frédéric Dalleau |
14 years ago |
2 files, +23, -12 |
| f00fc7ae |
Fix state to "playing" on SCO establishment |
Frédéric Dalleau |
14 years ago |
1 file, +1, -0 |
| 68119298 |
Fix asynchronously run request stream cb
Cancel pending callback if stream is canceled Asynchronously run
gateway_config_stream cb Remove occurences of sco_start_cb |
Frédéric Dalleau |
14 years ago |
3 files, +120, -52 |
| 1fcbc480 |
Fix disconnect SCO at same time than RFCOMM
If RFCOMM disconnects, SCO should be disconnected too. |
Frédéric Dalleau |
14 years ago |
1 file, +1, -6 |
| 98ee8c58 |
Fix freeing watches list in maemo6 telephony
This fixes regression introduced in 83064481481d23523e5cdd04.
List watches has to be freed instead of list pending. |
Dmitriy Paliy |
14 years ago |
1 file, +1, -1 |
| d7925ed6 |
Add Phone Alert Server skeleton plugin |
Bruna Moreira |
14 years ago |
6 files, +134, -0 |
| 8f769e95 |
Add GATT Time Server skeleton plugin |
Anderson Lizardo |
14 years ago |
6 files, +134, -0 |
| c7032411 |
Fix characteristic property on GATT example plugin
Any GATT characteristics which have a Client Characteristic
Configuration must have "Notify" property set. |
Anderson Lizardo |
14 years ago |
1 file, +1, -1 |
| 71d994a1 |
Refactor value assignments of bt_uuid_t variables
Prior to this commit, the assignments were made with memcpy(). This can
be unsafe and less readable, therefore it was replaced with code like:
<dst> = *src;
This also allows more compiler safety checks. |
Anderson Lizardo |
14 years ago |
3 files, +4, -4 |
| 2acb6b1a |
Fix memory allocation of struct attribute
On commit 6a6da5de107e192f62ce2ecdde96eae985181df0 the struct
attribute "data[0]" member was replaced with a dynamically allocated
"data" pointer. This commit fixes remaining places where the old
allocation scheme was still assumed. |
Anderson Lizardo |
14 years ago |
2 files, +18, -22 |
| fef3e7c0 |
Remove empty line before declaration |
Anderson Lizardo |
14 years ago |
1 file, +0, -1 |