| 1b94ec58 |
tools: escape double quotes in company names
Double quotes in company names are properly escaped so that they are
valid C string literals. |
Mike Ryan |
9 years ago |
1 file, +1, -0 |
| 6a76969d |
tools: Use --insecure option when using curl |
Marcel Holtmann |
9 years ago |
1 file, +1, -1 |
| 044fe0ed |
core/gatt-database: Remove unused function
btd_gatt_database_add_ccc is not used anymore. |
Luiz Augusto von Dentz |
9 years ago |
2 files, +4, -33 |
| 0da72fee |
src/device: Use BT_ATT_DEFAULT_LE_MTU as default MTU
Use the default MTU until an MTU exchange has taken place and
something else has been negotiated. If either side does not support
MTU exchange, the connection shall continue to use this default
value instead of the device maximum which was the previous behavior. |
Tobias Svehagen |
9 years ago |
1 file, +1, -1 |
| fa188ac3 |
deviceinfo: Use shorter names for profile callback |
Luiz Augusto von Dentz |
9 years ago |
1 file, +6, -6 |
| 89c2f79b |
deviceinfo: Implement disconnect callback
This implements the profile disconnect so the service state is updated
properly. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +8, -0 |
| fff32348 |
deviceinfo: Fix not handling accept properly
On accept the profile shall check about existing attribute, etc and once
done call btd_service_connecting_complete updating the service state
properly. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +2, -0 |
| d8fe3b06 |
gap: Use shorter names for profile callback |
Luiz Augusto von Dentz |
9 years ago |
1 file, +6, -6 |
| c13720e4 |
gap: Implement disconnect callback
This implements the profile disconnect callback using it to cleanup
existing references of bt_gatt_client and gatt_db. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +23, -6 |
| 6ac8d903 |
gap: Make use of service user_data to store service context
Instead of storing service context data in a list this make use of
btd_service_set_user_data to store the context data which later can be
retrieved with btd_service_get_user_data. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +8, -32 |
| 4ff30e05 |
gap: Fix not handling accept properly
On accept the profile shall check about existing attribute, etc and once
done call btd_service_connecting_complete updating the service state
properly. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +7, -0 |
| e087e969 |
core/device: Load stored attributes before initializing GATT client
During gatt_client_init service are requested to accept the connection
which may leads the driver to check existence of attributes. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +3, -3 |
| 85140681 |
tools/csr: Fix possible buffer overflow
Make sure we don't write past the end of the array. |
Johan Hedberg |
9 years ago |
1 file, +1, -1 |
| 0a018b2d |
core/device: Fix using not initialised uuid value. |
Marcin Kraglak |
9 years ago |
1 file, +1, -0 |
| 212b7d44 |
scanparam: Implement disconnect callback
This implements the profile disconnect callback using it to cleanup
existing references of bt_gatt_client and gatt_db. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +22, -9 |
| e78cda3b |
scanparam: Make use of service user_data to store service context
Instead of storing service context data in a list this make use of
btd_service_set_user_data to store the context data which later can be
retrieved with btd_service_get_user_data. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +8, -27 |
| 6b546af4 |
scanparam: Fix not handling accept properly
On accept the profile shall check about existing attribute, etc and once
done call btd_service_connecting_complete updating the service state
properly. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +11, -1 |
| a3942213 |
core/device: Call profile disconnect if ATT disconnects
If the profile accepts connections it should also be notified when ATT
disconnects so it can cleanup properly. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +13, -0 |
| d93af80e |
core/service: Fix setting wrong state after calling accept
The accept calback may transit the state to connected on the call itself
since most of the time it is just a matter of selecting the attributes
in case of GATT profiles. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +2, -1 |
| 968fdffb |
tools/mgmt-tester: Test read extended controller info
This patch tests read extended controller info command added in kernel.
It also adds support for sending multiple mgmt commands on setup and
expecting hci command on setup. |
MichaĆ Narajowski |
9 years ago |
3 files, +320, -0 |
| 46fd3520 |
core/device: Make it more clear random addresses can only be used with LE
Any random address type can only be connected over LE as BR/EDR only
support public addresses. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +2, -2 |
| 1f1c3eb8 |
core/gatt-client: Don't invalidate Value if length is 0
Reading 0 bytes shall be valid so it shouldn't invalidate the property. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +1, -1 |
| 16f6ec98 |
core/gatt-client: Fix not return empty array for ReadValue
The response to ReadValue shall be an array which can be empty. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +4, -4 |
| 23c8c897 |
core/device: Fix attempting to connect to random address over BR/EDR
BR/EDR don't have the concept of random addresses so the only option is
to over LE in that case. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +4, -0 |
| 2322e2cc |
obexd/pbap: clear cache if name header is present
Remote device is not able to fetch call logs from different folder.
It always returns the call logs requested in first request.
Considering a situation to fetch from och and then from cch,
there are two ways to request x-bt/vcard-listing:
Case I:
1. SetPhoneBook to /telecom/och (absolute path)
2. PullvCardListing with name header '' (empty)
Remote devices using this method always calls SetPhoneBook with absolute path
to set the path and we clear the cache when new path is set.
Case II:
1. SetPhoneBook to /telecom (relative path)
2. PullvCardListing with name header 'och'
Remote devices using this method calls SetPhoneBook with '/telecom' only once
and cache is not cleared when second PullvCardListing is made with name header.
This results in cached incorrect list sent to remote device.
Clear cache if name header is present would prevent sending of
cache list as it is not present. Instead it would request to
create new cache based on new name header. |
Biman Paul |
9 years ago |
1 file, +7, -2 |
| b1d0c3bc |
Add device set-alias bluetoothctl command |
Francois Beaufort |
9 years ago |
1 file, +25, -0 |
| 6f8512b8 |
monitor: Deal with user channel open/close notifications |
Marcel Holtmann |
9 years ago |
1 file, +19, -4 |
| 5599bf01 |
monitor: Disable decoding of control channel and not close it |
Marcel Holtmann |
9 years ago |
3 files, +10, -11 |
| 4a80373b |
monitor: Decode extended controller type information |
Marcel Holtmann |
9 years ago |
1 file, +17, -2 |
| bc3405aa |
core/adapter: Fix NULL pointer dereference |
Luiz Augusto von Dentz |
9 years ago |
1 file, +1, -1 |
| 72b4b435 |
input/hog-lib: Fix not truncating name
Bluetooth name can be bigger than uhid can support. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +1, -1 |
| 9b4912ec |
shared/gatt-client: Fix not checking the return of bt_gatt_client_read_value
If the bt_gatt_client_read_value fails the whole discovery would stall
as ext_prop_read_cb would not be called. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +4, -2 |
| 7ad750eb |
core/gatt: Fix passing invalid error code to strerror
async_dbus_op_reply posix errors are passed as negative values. |
Luiz Augusto von Dentz |
9 years ago |
1 file, +1, -1 |
| 92a11735 |
monitor: Add support for RAW Open and RAW Close control messages |
Marcel Holtmann |
9 years ago |
1 file, +23, -9 |
| 616edf67 |
tools: Add support for loading identities from files |
Marcel Holtmann |
9 years ago |
1 file, +22, -8 |
| ad34a291 |
monitor: Remove todo support for management commands and events |
Marcel Holtmann |
9 years ago |
1 file, +0, -18 |
| d972ca4a |
monitor: Add support for pairing interaction management commands |
Marcel Holtmann |
9 years ago |
1 file, +153, -10 |
| cec9076f |
input/hog-lib: Remove spammy debug message
It doesn't provide much info comparing to btmon and gets very spammy
when debug messages are enabled. |
Szymon Janc |
9 years ago |
1 file, +0, -2 |
| 9f2164cf |
monitor: Add support for connection parameter mmanagement commands |
Marcel Holtmann |
9 years ago |
1 file, +44, -2 |
| 668e9d15 |
monitor: Add support for extended controller information feature |
Marcel Holtmann |
9 years ago |
1 file, +30, -0 |
| 7459f946 |
tools: Use extended controller info when reading extended list |
Marcel Holtmann |
9 years ago |
1 file, +53, -3 |
| 19c9b118 |
lib: Add structs and defines for extended controller information |
Marcel Holtmann |
9 years ago |
1 file, +19, -0 |
| 79c17fe5 |
doc: Describe the new Extended Controller Information support |
Marcel Holtmann |
9 years ago |
1 file, +94, -0 |
| d4977305 |
monitor: Fix Set Privacy management command and missing key field |
Marcel Holtmann |
9 years ago |
1 file, +2, -1 |
| 1ec26380 |
monitor: Add support for out-of-band data management commands |
Marcel Holtmann |
9 years ago |
1 file, +62, -4 |
| ecdf8284 |
doc: Fix size of UUID Count value for Service Discovery |
Marcel Holtmann |
9 years ago |
1 file, +1, -1 |
| 05f16a60 |
monitor: Add support static address and other management commands |
Marcel Holtmann |
9 years ago |
1 file, +124, -10 |
| 5193f335 |
monitor: Add support key handling management commands |
Marcel Holtmann |
9 years ago |
1 file, +210, -8 |
| 3f577b4e |
monitor: Add support advertising management commands |
Marcel Holtmann |
9 years ago |
1 file, +163, -7 |
| 2032ce5b |
monitor: Add support UUID and device handling management commands |
Marcel Holtmann |
9 years ago |
1 file, +230, -20 |