Commit Graph

12707 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
b6cab17f19 heartrate: Append version to HeartRate interfaces 2012-12-14 11:24:16 +02:00
Luiz Augusto von Dentz
98e70151e7 audio: Append version to Control interface 2012-12-14 11:24:14 +02:00
Luiz Augusto von Dentz
841a22d746 network: Append version to Network and NetworkServer interfaces 2012-12-14 11:24:12 +02:00
Johan Hedberg
76ac7c0f8f core: Remove unused read_device_attributes() and write_device_attribute() 2012-12-14 11:22:05 +02:00
Johan Hedberg
12ea3fe7e2 core: Rename write_device_services according to what it actually does 2012-12-14 11:14:24 +02:00
Johan Hedberg
77cbb594ad core: Remove unused read_device_services function 2012-12-14 11:12:21 +02:00
Johan Hedberg
a3322c722f core: Use "Services" instead of "Profiles" to store service UUIDs 2012-12-14 10:29:05 +02:00
Frédéric Danis
c5bd27258c input: Use new storage architecture
Retrieve HID record from device file located in cache directory.

Remove no more used fetch_record().
2012-12-13 23:00:32 +02:00
Frédéric Danis
b99ee4ad4b device: Update btd_device_get_record to use new storage
Remove no more used functions from storage.[ch].
2012-12-13 22:59:57 +02:00
Frédéric Danis
7fd82becb1 adapter: Remove create_stored_device_from_primaries
Loading of primaries list is done by device_create_from_storage().

As all device load during start-up has been converted, we can remove
temporary hack in device_create().
2012-12-13 22:59:45 +02:00
Frédéric Danis
0cfa6413be adapter: Convert device primaries list 2012-12-13 22:59:32 +02:00
Frédéric Danis
d9dbd8c154 device: Store SDP records in new storage
Store SDP records in device file located in cache directory.

Update attributes file with primary services retrieved from attributes
entry in SDP records.

Remove store_record() from storage.[ch].
2012-12-13 22:58:30 +02:00
Frédéric Danis
3d8a6eb168 device: Load primary attributes from storage
Parse device attributes file for primary services, then add UUID service
to device primaries list.
2012-12-13 22:57:56 +02:00
Frédéric Danis
bc28289e98 device: Remove stored SDP records on device removal
Also remove management of legacy storage file in device_remove_stored().
Remove no more used storage functions.
2012-12-13 22:57:33 +02:00
Frédéric Danis
ad8c99b813 adapter: Convert device sdp file
Save SDP records in device device file located in SDP directory.

Parse "sdp" file to retrieve services, i.e. sdp records with
attribute uuid.
Create device attributes file based on this.
2012-12-13 22:56:20 +02:00
Frédéric Danis
0775af2432 doc: Update Settings-storage for SDP records
SDP records shouls be saved in device file located in cache
directory, as we cannot guarantee that this info is available
always and profiles should work even if the info is not there.
2012-12-13 22:56:09 +02:00
Frédéric Danis
d12525e941 device: Delete storage device recursively
Device storage directory may contain multiple files like info or
attributes but also files stored by plug-ins or profiles,
so completely delete directory.
2012-12-13 22:56:00 +02:00
Frédéric Danis
00b418f8e5 adapter: Probe profiles after device creation 2012-12-13 22:55:49 +02:00
Frédéric Danis
d534d9a26f device: Load profiles from storage
Add device_get_uuids() to retrieve UUIDs list.
It will allow to call device_probe_profiles() from
load_devices() of adapter.c after device creation.

Remove write_device_profiles from storage.[ch].
2012-12-13 22:55:21 +02:00
Frédéric Danis
2ff7ead49f adapter: Convert device profiles list 2012-12-13 22:54:42 +02:00
Frédéric Danis
f4a14847dd device: Add device_create_from_storage() function
This function is used from load_devices() of adapter.c
during bluetoothd start-up to re-load known devices from
storage key file.

device_create() is used to create new devices for which
no storage exists, but until all device load during start-up
has been converted we should continue to call load_info().
2012-12-13 22:54:02 +02:00
Frédéric Danis
34b80bda45 device: Retrieve device technology from storage 2012-12-13 22:53:52 +02:00
Johan Hedberg
fd85168a09 TODO: Mark powered state storing item as done 2012-12-13 22:17:28 +02:00
Johan Hedberg
4341e4b827 TODO: Update Session/ModeChange item 2012-12-13 22:16:23 +02:00
Szymon Janc
121befd7d8 mgmt-api: Remove not needed restriction on add/remove OOB data
Those commands don't send any HCI commands to controller so there is no
need to restrict them to only powered up controller. This also clarify
that provided OOB data is persistent over power down/up toggles.
2012-12-13 22:14:36 +02:00
Luiz Augusto von Dentz
c3b00f7ebb core: Remove ConfirmModeChange method
This method was only used by RequestSession which is now removed.
2012-12-13 22:13:47 +02:00
Luiz Augusto von Dentz
da29958e94 core: Remove RequestSession and ReleaseSession
Sessions is no longer used by obexd and the concept is probably not
relevant anymore since BlueZ 5 don't remember powered state anymore.
2012-12-13 22:13:40 +02:00
Marcel Holtmann
399baa05cc client: Add support for auto-completion and controller selection 2012-12-13 20:32:11 +01:00
Marcel Holtmann
bf2b9133a7 client: Add support for aborting command typing without exit 2012-12-13 18:34:59 +01:00
Marcel Holtmann
9a77f93f6f client: Add command completion support 2012-12-13 17:56:32 +01:00
Marcel Holtmann
992488963c client: Show the UUIDs with the controller info 2012-12-13 17:15:35 +01:00
Marcel Holtmann
c1de20f06e gdbus: Add support for complex D-Bus client properties 2012-12-13 17:14:33 +01:00
Johan Hedberg
24647af2fe TODO: Update DiscoverServices item status 2012-12-13 16:44:57 +02:00
Johan Hedberg
af1eb35dbc core: Remove D-Bus service discovery methods 2012-12-13 16:44:03 +02:00
Johan Hedberg
e938647e10 core: Remove device mode storage functions 2012-12-13 16:36:09 +02:00
Johan Hedberg
0f575386a5 core: Remove persistent storing of the powered state 2012-12-13 16:35:30 +02:00
Marcel Holtmann
68b42ae96a build: Remove left-overs from previous cleanup 2012-12-13 15:14:39 +01:00
Marcel Holtmann
9279fa34fe client: Add support for basic controller handling 2012-12-13 15:06:39 +01:00
Marcel Holtmann
8cccb1ccac gdbus: Add support for D-Bus client properties 2012-12-13 14:06:25 +01:00
Luiz Augusto von Dentz
0fea59d098 build: Remove obexd usb plugin
This plugin is not longer maintained and used to work only in meego
times.
2012-12-13 14:23:59 +02:00
Johan Hedberg
076d3dbc6c core: Remove attribute client API
There will be a more comprehensive API coming soon and we don't want to
have this one around for 5.0 since it'd immediately have to be
deprecated.
2012-12-13 14:12:47 +02:00
Johan Hedberg
d779cadeb5 core: Fix conn->psm setting when resolving SDP records 2012-12-13 11:01:22 +02:00
Marcel Holtmann
dacb175465 gdbus: Add support for D-Bus client proxies 2012-12-13 02:38:53 +01:00
Marcel Holtmann
99c7216ef7 build: Install the client utility if enabled 2012-12-12 23:24:27 +01:00
Marcel Holtmann
05f9475f66 obexd: Fix build breakage from profile conversion 2012-12-12 23:21:02 +01:00
Marcel Holtmann
2ee5dd5798 README: Mention to install client together with the daemons 2012-12-12 23:20:37 +01:00
Marcel Holtmann
fa0de7526a README: Add section about the monitor configure option 2012-12-12 23:20:14 +01:00
Marcel Holtmann
710489806b build: Add configure option to disable the monitor utility 2012-12-12 23:19:43 +01:00
Marcel Holtmann
8a05f2b1ac client: Add initial parts for the command line client 2012-12-12 22:57:20 +01:00
Marcel Holtmann
01be8a3196 build: Compile support for new D-Bus client helpers 2012-12-12 21:59:25 +01:00