| aab3f3d6 |
core: Differentiate between current alias and actually stored alias |
Marcel Holtmann |
13 years ago |
1 file, +59, -39 |
| 7e5fe3c3 |
core: Cleanup of the adapter property handling functions |
Marcel Holtmann |
13 years ago |
1 file, +51, -68 |
| 66a5f283 |
core: Set defaults when allocating the adapter structure |
Marcel Holtmann |
13 years ago |
1 file, +25, -25 |
| 026f9984 |
core: Register the management event handlers after read info success |
Marcel Holtmann |
13 years ago |
1 file, +19, -21 |
| 1aaeb091 |
core: Combine adapter registration and setup into on function
The setup is actually fully procedural and can not even fail. So no
point in splitting that code accross multiple locations. |
Marcel Holtmann |
13 years ago |
1 file, +28, -37 |
| 7b3e1702 |
core: Setup adapter default configuration in one place |
Marcel Holtmann |
13 years ago |
1 file, +29, -20 |
| 4ec50801 |
core: Remove default option for automatic connect timeout |
Marcel Holtmann |
13 years ago |
1 file, +0, -2 |
| e32760d5 |
core: Simplify the adapter allocation and init procedure |
Marcel Holtmann |
13 years ago |
1 file, +81, -29 |
| 8380cabd |
core: Track controller name and short name information
To make any informed decision it is important to actually know what
the current name and short name values of the controller are. So
track this independent from system name and alias. |
Marcel Holtmann |
13 years ago |
1 file, +12, -0 |
| d64ab458 |
core: Use adapter->system_name for external configured names
Plugins and other entities can configure the system name. This is different
from the alias set for an adapter and can also be different from the actual
name set by the controller.
This is needed to track the difference between the current controller name,
the configured system name and an user configured alias. |
Marcel Holtmann |
13 years ago |
1 file, +12, -12 |
| c4655aec |
core: Set controller info as soon as it is available
Handing controller info like supported or current settings two functions
down makes no sense. Just store them in the callback after reading the
controller info. |
Marcel Holtmann |
13 years ago |
1 file, +16, -20 |
| a103d401 |
core: Create new adapters only in one place instead of two |
Marcel Holtmann |
13 years ago |
1 file, +1, -24 |
| 9ca7edc3 |
core: Don't react to mgmt events until the adapter is registered
The up-to-date state info comes in the read_info response (which
triggers the adapter registration) so just ignore any events until that
point. |
Johan Hedberg |
13 years ago |
1 file, +9, -0 |
| f425d815 |
core: There is no user of automatic connections timeout |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| 2ab80782 |
core: The adapter->off_requested is no longer used |
Marcel Holtmann |
13 years ago |
1 file, +0, -9 |
| a00b6990 |
core: Remove leftover from pending_uuids removal
The struct controller_info "pending_uuids" field was removed on commit
1dd77eda25aae5ed963683dfc125d3ef01187eba. |
Anderson Lizardo |
13 years ago |
1 file, +0, -9 |
| a06282d0 |
core: Remove double tracking of existing connections |
Marcel Holtmann |
13 years ago |
2 files, +1, -67 |
| c04a3153 |
core: Read the current existing connections from adapter handling |
Marcel Holtmann |
13 years ago |
1 file, +39, -11 |
| 9cdb2a66 |
core: Don't pretend there is a management command for reading the clock |
Marcel Holtmann |
13 years ago |
3 files, +1, -17 |
| 7360177c |
core: There is no need to track the supported settings twice |
Marcel Holtmann |
13 years ago |
1 file, +0, -3 |
| 56268273 |
core: Remove now unused mode handling functions |
Marcel Holtmann |
13 years ago |
2 files, +1, -49 |
| 61306c5f |
core: Make sure to enable SSP and LE if supported |
Marcel Holtmann |
13 years ago |
1 file, +8, -0 |
| cdc1f474 |
core: Use adapter settings directly to determine if SSP is enabled |
Marcel Holtmann |
13 years ago |
2 files, +6, -3 |
| 4ca8dbb8 |
core: Remove need for adapter_update_settings function |
Marcel Holtmann |
13 years ago |
2 files, +93, -201 |
| a24c9e26 |
core: Remove old callbacks for settings update |
Marcel Holtmann |
13 years ago |
1 file, +2, -35 |
| 15397c99 |
core: Remove old function for setting connectable and discoverable |
Marcel Holtmann |
13 years ago |
2 files, +3, -57 |
| e6dda7eb |
core: Add support for handling internal mode changes |
Marcel Holtmann |
13 years ago |
1 file, +185, -156 |
| 34ebe70c |
core: Remove old function for setting controller pairable |
Marcel Holtmann |
13 years ago |
2 files, +0, -10 |
| 7ea847e0 |
core: Add place holder for disabling pairable setting |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| efd6aa66 |
core: Add support for pairable property within adapter handling |
Marcel Holtmann |
13 years ago |
1 file, +95, -28 |
| b1e2c54e |
core: Remove old function for setting controller power |
Marcel Holtmann |
13 years ago |
2 files, +2, -22 |
| 3e1aae9e |
core: Add two place holders for controller power on/off |
Marcel Holtmann |
13 years ago |
1 file, +4, -3 |
| 73667927 |
core: Add support for powered property within adapter handling |
Marcel Holtmann |
13 years ago |
1 file, +89, -43 |
| 5c7bb42c |
gdbus: Check signature of property value before calling setter |
Marcel Holtmann |
13 years ago |
1 file, +5, -0 |
| 232160e6 |
core: Store global D-Bus connection for adapter handling |
Marcel Holtmann |
13 years ago |
1 file, +6, -0 |
| 9cf8e7a1 |
core: Make adapter_class_changed function private |
Marcel Holtmann |
13 years ago |
2 files, +30, -32 |
| df6a17d1 |
core: Read the list of supported management commands |
Marcel Holtmann |
13 years ago |
1 file, +30, -2 |
| ada1f1c7 |
core: Read management interface version only once |
Marcel Holtmann |
13 years ago |
2 files, +10, -36 |
| 2e2600da |
core: Use index for tracking controller info and not its address |
Marcel Holtmann |
13 years ago |
1 file, +2, -7 |
| 90a0677d |
core: Use the index to find the device structure |
Marcel Holtmann |
13 years ago |
1 file, +20, -68 |
| 50efd8ca |
core: Use the index to find the adapter structure |
Marcel Holtmann |
13 years ago |
1 file, +11, -25 |
| 7af7f88e |
core: Clear UUID list before registering adapter |
Marcel Holtmann |
13 years ago |
1 file, +2, -2 |
| 6b67dac1 |
core: Add support for enabling management debug traces |
Marcel Holtmann |
13 years ago |
1 file, +10, -0 |
| 1dd77eda |
core: Remove all leftovers from working around a command busy issue |
Marcel Holtmann |
13 years ago |
1 file, +1, -59 |
| 34fdc551 |
core: Remove old function for triggering UUID additions |
Marcel Holtmann |
13 years ago |
2 files, +1, -190 |
| 1ba25f0c |
core: Handle adding of UUIDs within the adapter support |
Marcel Holtmann |
13 years ago |
1 file, +74, -23 |
| 1dc46d56 |
core: Move code around to place it logical together |
Marcel Holtmann |
13 years ago |
1 file, +93, -93 |
| 3daaf7ae |
core: Remove old function for triggering UUID removal |
Marcel Holtmann |
13 years ago |
2 files, +1, -81 |
| fcc19170 |
core: Handle removing of UUIDs within the adapter support |
Marcel Holtmann |
13 years ago |
1 file, +127, -8 |
| 484f3b67 |
core: Add a few more debug prints for management command sending |
Marcel Holtmann |
13 years ago |
1 file, +12, -0 |