summaryrefslogtreecommitdiff
path: root/lib/bluetooth-enums.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Export a more precise adapter power stateBastien Nocera2022-08-231-0/+18
| | | | | | | | | Unfortunately, powering on/off Bluetooth adapters has become longer, and less reliable over time, so front-ends need more information to be able to figure out what it happening. As a first pass, export whether the adapter is in the process of being turned on, or turned off, based on our own request.
* lib: Add BluetoothBatteryType enumBastien Nocera2022-02-071-0/+14
|
* lib: Remove BluetoothStatus enum typeBastien Nocera2021-12-021-18/+0
|
* lib: Remove BluetoothColumn enum typeBastien Nocera2021-12-021-40/+0
|
* lib: Simplify "setup mode"Bastien Nocera2021-11-301-2/+0
| | | | | | | Simplify the discovering/discoverable properties, and especially the transition between default adapters by always having the adapters be discoverable when discovering, and offer up a single new property as a ways of controlling both: "default-adapter-setup-mode"
* lib: Remove services columnBastien Nocera2021-11-261-2/+0
| | | | It's not been used since bluez 4.x.
* lib: Remove BluetoothCategory enum typeBastien Nocera2021-11-031-20/+0
|
* lib: Update num-types macro, and audio bitmaskBastien Nocera2021-03-221-2/+2
| | | | | | | Fix BLUETOOTH_TYPE_AUDIO and _BLUETOOTH_TYPE_NUM_TYPES after speaker type addition. Fixes: c9a513a6338f673bc26c2aa995f657048173be1e
* lib: Simplify single-includeBastien Nocera2021-02-171-8/+1
|
* lib: Add speaker typewip/hadess/add-speakersBastien Nocera2021-02-031-1/+3
| | | | Closes: #77
* lib: Remove last users of "Properties" D-Bus wrapperBastien Nocera2017-11-141-1/+1
| | | | | | As those property objects were not used anywhere anymore. https://bugzilla.gnome.org/show_bug.cgi?id=782530
* lib: Add some new device typesBastien Nocera2013-12-111-1/+11
| | | | We're missing icons for the remote control, wearable and toy types.
* lib: Fix weird GI enum names for columnsBastien Nocera2013-11-261-2/+2
| | | | | | Move _BLUETOOTH_NUM_COLUMNS outside the enum so that the prefixes are correctly stripped, eg. GnomeBluetooth.Column.DEFAULT not GnomeBluetooth.Column.LUETOOTH_COLUMN_DEFAULT (yes, with the missing B)
* lib: Store Properties proxy in GtkTree tooGustavo Padovan2013-06-181-0/+2
| | | | | | Since it is used more than once in the code we store it to easier access. https://bugzilla.gnome.org/show_bug.cgi?id=701399
* docs: document more symbolsDaniele Forsi2012-08-061-0/+10
| | | | | | | | | | | | | | | | 96% symbol docs coverage. 208 symbols documented. 4 symbols incomplete. 8 not documented. BluetoothChooser BluetoothChooserButton BluetoothChooserButtonClass (<items>) BluetoothChooserClass (<items>) BluetoothChooserCombo BluetoothChooserComboClass (<items>) BluetoothClient BluetoothClientClass (<items>)
* docs: update API documentationDaniele Forsi2012-05-061-1/+2
| | | | | | | | More work to do: 89% symbol docs coverage. 202 symbols documented. 2 symbols incomplete. 26 not documented.
* lib: Add documentation to the video typeBastien Nocera2011-10-181-0/+1
|
* lib: Port BluetoothClient to GDBusBastien Nocera2011-10-051-1/+1
|
* Add video type devicesBastien Nocera2010-01-281-1/+2
|
* Loads of API documentation fixesBastien Nocera2009-12-111-0/+9
|
* Add discoverable columnBastien Nocera2009-10-271-0/+2
| | | | And bluetooth_client_set_discoverable() private helper.
* Nobody cares about RSSIBastien Nocera2009-10-271-2/+0
| | | | So remove it!
* Update API docsBastien Nocera2009-09-231-0/+61
| | | | Add BluetoothClient and plugin documentations, update the others.
* BugĀ 594055 - applet fails to connect to any disconnected audio deviceBastien Nocera2009-09-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hunted down by Peter Hurley <phurley@charter.net>. Description If the remote device is disconnected when the applet starts, the applet will be unable to initiate connection to the audio interface of the device. Cause Incorrect use of g_hash_table_lookup in the device_list_nodes() function in lib/bluetooth-client.c Discussion For a given device, device_list_nodes() loops through the known detectable interfaces (those in detectable_interfaces[]) and adds them to the returned hash table if calling the interfaces's .GetProperties dbus method returns true. The value of the "Connected" property is then stored as the associated value with the interface name as the key in the hash table. The *connectable* interface "org.bluez.Audio" is only added if at least either of the *detectable* interfaces "org.bluez.Headset" or "org.bluez.AudioSink" were added the the hash table in previous iterations within device_list_nodes(). However, the test for whether those *detectable* interfaces were added is not correct. Currently, g_hash_table_lookup() is used to determine if the interface names are in the hash table. g_hash_table_lookup() will return NULL if the the key is not present in the hash table, OTHERWISE IT RETURNS THE VALUE ASSOCIATED WITH THE KEY. If that value is 0 (== BLUETOOTH_STATUS_DISCONNECTED), the logic mistakenly believes that the key is not present in the hash table, and as a result, fails to add the only connectable audio interface "org.bluez.Audio". Recommend Either use g_hash_table_lookup_extended() to test for key presence or change enum BLUET00TH_STATUS_DISCONNECTED to be != 0.
* Add support for "playing" statusBastien Nocera2009-07-261-1/+2
| | | | As used in the A2DP and Headset services.
* Add status enumerationBastien Nocera2009-07-261-0/+6
| | | | | To mark services as being connected, disconnected, or connecting.
* Make some parts of BluetoothClient availableBastien Nocera2009-06-291-0/+20
| | | | To simplify enumeration in other applications.
* Rename common/ dir to lib/Bastien Nocera2009-06-081-0/+64
So as to avoid confusing readers of the code.