| 4b8b0676 |
storage: Mark write_device_name name parameter as const |
Johan Hedberg |
13 years ago |
2 files, +2, -2 |
| 3067e58b |
test: Update test-oob to match new D-Bus OOB API |
Szymon Janc |
13 years ago |
1 file, +2, -2 |
| 355d1bf8 |
dbusoob: Reply with error if SSP is not supported
Reply with org.bluez.Error.NotSupported if methods were called on
adapter without SSP enabled. |
Szymon Janc |
13 years ago |
5 files, +25, -0 |
| 33241f88 |
dbusoob: Add support for Name in AddRemoteData
Name received in AddRemoteData is stored for future use when device
object is created. |
Szymon Janc |
13 years ago |
1 file, +13, -5 |
| daddb941 |
dbusoob: Add support for Class in AddRemoteData
Class received in AddRemoteData is stored for future use when device
object is created. |
Szymon Janc |
13 years ago |
1 file, +15, -0 |
| 0537fd5b |
dbusoob: Change AddRemoteData to match new API
AddRemoteData now expect dictionary for data instead of hardcoded pair
of arrays. |
Szymon Janc |
13 years ago |
1 file, +108, -18 |
| 80b13efd |
dbusoob: Change ReadLocalData to match new API
ReadLocalData now returns dictionary instead of hardcoded pair of
arrays. |
Szymon Janc |
13 years ago |
1 file, +23, -8 |
| bd0cfdfa |
dbusoob: Simplify remove_remote_data
str2ba already checks if address is valid before converting and returns
-1 in case of failure. |
Szymon Janc |
13 years ago |
1 file, +1, -3 |
| e0dc5515 |
dbusoob: Update API
Update DBus API so that it better matches inquiry result. It can now
also be used only for OOB discovery (hash and randomizer are optional).
Converting to dictionaries make it also easily extendible e.g. to add
support for BLE when proper whitepaper becomes available. |
Szymon Janc |
13 years ago |
1 file, +53, -6 |
| bd4233c2 |
input: Fix crash when connecting HID keyboard
hidp_add_connection should return after setting up security watch when
connecting HID keyboard, otherwise req will be freed and encrypt_notify
callback will receive invalid pointer. |
Andrzej Kaczmarek |
13 years ago |
1 file, +2, -0 |
| 6ade0ff7 |
btmgmt: Fix endianness conversion
Flags field has 32-bit size. Same issue was fixed for mgmtops in
1801a4d45d74c29cebacaab79a07e9961300be41. |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| bb29d9a4 |
monitor: Fix endianness conversion
Flags field has 32-bit size. Same issue was fixed for mgmtops in
1801a4d45d74c29cebacaab79a07e9961300be41. |
Anderson Lizardo |
13 years ago |
1 file, +2, -2 |
| 5bec5742 |
rfcomm: Remove support for configuration file |
Lucas De Marchi |
13 years ago |
11 files, +24, -537 |
| b9692573 |
rfcomm: Fix typo in man page |
Lucas De Marchi |
13 years ago |
1 file, +1, -1 |
| dde5b236 |
rfcomm: Fix checking return value instead of errno
We were checking by a positive return value instead of checking by -1
and errno. However when there's no support for TTY kernel returns
EOPNOTSUPP as usual, which in the end will have a return value of -1
and errno will be set to EOPNOTSUPP. |
Lucas De Marchi |
13 years ago |
1 file, +8, -4 |
| 7a7c5e30 |
core: Fix memory leak while reading device records
btd_device_get_record does not free the current list of records when
reloading it from the storage:
at 0x4A0884D: malloc (vg_replace_malloc.c:263)
by 0x18EB85: sdp_list_append (sdp.c:1749)
by 0x172798: create_stored_records_from_keys (storage.c:930)
by 0x16FA73: textfile_foreach (textfile.c:475)
by 0x1729C8: read_records (storage.c:966)
by 0x17E439: btd_device_get_record (device.c:2991)
by 0x17E4DC: device_services_from_record (device.c:1586)
by 0x17677B: create_stored_device_from_profiles (adapter.c:1702)
by 0x16FA73: textfile_foreach (textfile.c:475)
by 0x1762BC: load_devices (adapter.c:1971)
by 0x17A409: adapter_init (adapter.c:2422)
by 0x175650: btd_manager_register_adapter (manager.c:364) |
Luiz Augusto von Dentz |
13 years ago |
1 file, +4, -0 |
| c37daead |
audio: Remove legacy SBC endpoint |
Chan-yeol Park |
13 years ago |
2 files, +0, -329 |
| b275ce9c |
audio: Remove legacy MPEG endpoint |
Chan-yeol Park |
13 years ago |
2 files, +0, -178 |
| fb3eb5fe |
audio: Remove unused local A2DP endpoints reference |
Chan-yeol Park |
13 years ago |
2 files, +3, -73 |
| 1baf8702 |
Fix not setting class of device in adapter
Set class of device in adapter when new class is received from kernel.
This fix adapters property Class being always zero. |
Szymon Janc |
13 years ago |
4 files, +51, -13 |
| 43e81d71 |
storage: Remove support for trusted services
Since a long time, it is impossible to set individual services as
trusted using our API, so there's no need to have support for storing
this kind of information. |
Vinicius Costa Gomes |
13 years ago |
3 files, +19, -115 |
| 5f5386d0 |
storage: Store address type in "sdp" file |
Paulo Alcantara |
13 years ago |
4 files, +56, -22 |
| c250ef61 |
storage: Store address type in "eir" file |
Paulo Alcantara |
13 years ago |
3 files, +26, -13 |
| a0dff4ce |
storage: Store address type in "trusts" file |
Paulo Alcantara |
13 years ago |
3 files, +38, -15 |
| 85128d40 |
storage: Store address type in "linkkeys" file |
Paulo Alcantara |
13 years ago |
5 files, +35, -10 |
| 6098a13f |
storage: Store address type in "did" file |
Paulo Alcantara |
13 years ago |
3 files, +29, -15 |
| b1a95619 |
storage: Store address type in "profiles" file |
Paulo Alcantara |
13 years ago |
4 files, +19, -9 |
| 6ef7f324 |
storage: Store address type in "lastused" file |
Paulo Alcantara |
13 years ago |
3 files, +12, -8 |
| ae97e952 |
storage: Store address type in "lastseen" file |
Paulo Alcantara |
13 years ago |
3 files, +12, -8 |
| cb453953 |
storage: Store address type in "blocked" file |
Claudio Takahasi |
13 years ago |
3 files, +27, -15 |
| fca77266 |
core: Fix reading from "aliases" and "names" file |
Paulo Alcantara |
13 years ago |
1 file, +17, -6 |
| 5def8e37 |
storage: Store address type in "aliases" file |
Paulo Alcantara |
13 years ago |
3 files, +29, -10 |
| be5fd633 |
storage: Make it clear that delete_entry only works for addresses
Also, delete_entry should try to erase both addresses styles, with and
without address type, if not we may find some leftovers from deleted
devices. |
Vinicius Costa Gomes |
13 years ago |
3 files, +30, -19 |
| 58a1819a |
btio: Connect callback errors handling cleanup
Condition verification is not required for this watch since the
condition to watch for was previously informed when it was added
in the mainloop. |
Claudio Takahasi |
13 years ago |
1 file, +7, -19 |
| 5a3507c1 |
btio: Replace g_set_error by ERROR_FAILED macro
This patch replaces the calls of g_set_error function by the local
defined macro "ERROR_FAILED". |
Claudio Takahasi |
13 years ago |
1 file, +7, -12 |
| ce9eca54 |
adapter: Add Appearance property for LE devices
For LE devices, the Class property is not applicable so it was replaced
by the correct one: Appearance property. If no appearance is supplied in
Adv Data, the Appearance property is set to zero and icon to null. |
Bruna Moreira |
13 years ago |
3 files, +12, -3 |
| f5c4a04e |
adapter: Emit DeviceFound() signal only to discoverable devices
The DeviceFound() signal will only be emitted if the device is
discoverable. |
Bruna Moreira |
13 years ago |
1 file, +5, -0 |
| d72ba4c9 |
adapter: Remove unused Broadcaster property
Applications that want to be Observers of certain Advertising data type
(e.g. Manufacturer Specific Data or Service Data) will use new Observer
D-Bus API to monitor these AD types. Therefore, the old Broadcaster
device property is unnecessary. |
Bruna Moreira |
13 years ago |
2 files, +1, -9 |
| 22865d82 |
Add Jefferson Delfes to AUTHORS |
Claudio Takahasi |
13 years ago |
1 file, +1, -0 |
| b821d662 |
Add Paulo Alcantara to AUTHORS |
Claudio Takahasi |
13 years ago |
1 file, +1, -0 |
| d53e0272 |
serial: Remove serial proxy test script |
Claudio Takahasi |
13 years ago |
2 files, +4, -71 |
| 9f1d36c8 |
serial: Remove serial test script |
Claudio Takahasi |
13 years ago |
2 files, +5, -63 |
| 93f4607f |
attrib-api: Update Watcher interface methods
There are now two different methods for the interface. Only one method
is called, based on the "raw" setting being enabled or not when
registering the watcher. |
Anderson Lizardo |
13 years ago |
1 file, +14, -2 |
| ac053403 |
attrib-api: Update Characteristic interface |
Anderson Lizardo |
13 years ago |
1 file, +61, -36 |
| 73f69a6d |
attrib-api: Remove GATT service hierarchy |
Anderson Lizardo |
13 years ago |
1 file, +0, -54 |
| a02eec91 |
attrib-api: Update introduction text
We do not have service objects anymore. |
Anderson Lizardo |
13 years ago |
1 file, +4, -16 |
| c3bd8fdd |
attrib-api: Remove local service hierarchy
Local GATT services will now share the same interface as remote
services. |
Anderson Lizardo |
13 years ago |
1 file, +0, -13 |
| d9e204c0 |
btio: Rescue lost errorneous numbers
The BT_IO_ERROR_* flags are not used for anything else and we just
loosing errorneous numbers set in the sockets that might be more
useful for handling specific errors.
A use case would be disconnect errors that should not allow BlueZ to
enable auto connections since the connection would never be possible in
some cases.
This patch removes BT_IO_ERROR_* flags and use the errors set in the
sockets instead. Now, the errors passed in connect/disconnect callbacks
should contain proper error numbers passed to them. |
Paulo Alcantara |
13 years ago |
2 files, +48, -37 |
| 83d23c05 |
attio: Rename att_cleanup to attio_cleanup
Cosmetic change renaming attio cleanup function. attio prefix is more
suitable since attio implements GIOChannel abstraction in the top of
the GAttrib. |
Claudio Takahasi |
13 years ago |
1 file, +7, -7 |
| 207b1bb8 |
time: fix byte position
The position of the "Time Zone" and "Daylight Saving Time" fields on
the Local Time Information characteristic was inverted. This commit
fix their position. |
João Paulo Rechi Vita |
13 years ago |
1 file, +5, -5 |