summaryrefslogtreecommitdiff
path: root/src/error.c
Commit message (Collapse)AuthorAgeFilesLines
* error: BR/EDR and LE connection failure reasonsMiao-chen Chou2021-10-041-0/+100
| | | | | | | | | | | | The source of Connect() failures can be divided into the following three. - bluetoothd's device interface state transition and profile state transition - Kernel's L2CAP layer state transition - Potential HCI error codes returned by the remote device Reviewed-by: Alain Michaud <alainm@chromium.org> Reviewed-by: Howard Chung <howardchung@google.com>
* src: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 62 GPL-2.0-or-later : 51 BSD-2-Clause : 2 License: LGPL-2.1-or-later src/adv_monitor.c src/adv_monitor.h src/shared/mainloop-glib.c src/shared/btp.c src/shared/tester.c src/shared/btsnoop.c src/shared/gatt-helpers.h src/shared/log.h src/shared/util.h src/shared/mainloop-ell.c src/shared/hci-crypto.c src/shared/mainloop.c src/shared/hfp.h src/shared/mainloop-notify.c src/shared/io-mainloop.c src/shared/btsnoop.h src/shared/uhid.h src/shared/util.c src/shared/ringbuf.c src/shared/btp.h src/shared/shell.h src/shared/io-glib.c src/shared/queue.h src/shared/gatt-server.h src/shared/crypto.c src/shared/crypto.h src/shared/io-ell.c src/shared/timeout-glib.c src/shared/mgmt.c src/shared/gatt-db.c src/shared/mainloop-notify.h src/shared/hfp.c src/shared/timeout-ell.c src/shared/shell.c src/shared/hci.c src/shared/log.c src/shared/ringbuf.h src/shared/gatt-helpers.c src/shared/queue.c src/shared/tty.h src/shared/timeout-mainloop.c src/shared/tester.h src/shared/gap.h src/shared/mgmt.h src/shared/gatt-db.h src/shared/uhid.c src/shared/mainloop.h src/shared/timeout.h src/shared/att-types.h src/shared/pcap.c src/shared/gap.c src/shared/att.c src/shared/pcap.h src/shared/hci.h src/shared/gatt-client.h src/shared/io.h src/shared/gatt-client.c src/shared/ad.c src/shared/att.h src/shared/gatt-server.c src/shared/hci-crypto.h src/shared/ad.h License: GPL-2.0-or-later src/attrib-server.h src/advertising.h src/textfile.c src/attrib-server.c src/uinput.h src/log.h src/eir.h src/sdpd.h src/sdpd-request.c src/service.h src/sdpd-database.c src/adapter.h src/plugin.h src/uuid-helper.h src/plugin.c src/main.c src/sdp-xml.c src/error.h src/oui.c src/device.c src/agent.h src/sdp-client.c src/oui.h src/device.h src/gatt-database.c src/error.c src/backtrace.c src/sdpd-server.c src/adapter.c src/log.c src/agent.c src/backtrace.h src/sdp-xml.h src/hcid.h src/dbus-common.h src/uuid-helper.c src/storage.c src/profile.c src/advertising.c src/storage.h src/dbus-common.c src/profile.h src/sdpd-service.c src/eir.c src/sdp-client.h src/gatt-database.h src/gatt-client.h src/rfkill.c src/gatt-client.c src/service.c src/textfile.h License: BSD-2-Clause src/shared/ecc.h src/shared/ecc.c
* core: Fix includes for gdbus.h headerMarcel Holtmann2015-03-011-1/+1
|
* Add missing format specifiers in src/error.cMariusz Skamra2014-12-291-2/+3
|
* core/gatt: Implement GattCharacteristic1.ReadValueArman Uguray2014-12-231-2/+13
| | | | | | | This patch implements the ReadValue method of org.bluez.GattCharacteristic1 and exposes the "Value" property based on what was cached during the most recent read. The property is hidden if the value is unknown.
* Revert "Ensure config.h is included by using CPPFLAGS"Johan Hedberg2012-12-071-0/+4
| | | | | | | | | | | | | | This reverts commit 8a03376544b046a84301847d1594f6c3674983ff. The patch needs to be split up and the gdbus/ changes were bogus compared to the original commit message. Conflicts: Makefile.am Makefile.obexd profiles/cyclingspeed/cyclingspeed.c profiles/heartrate/heartrate.c src/error.c
* Use the entire include path for gdbus.hLucas De Marchi2012-12-051-1/+1
|
* Ensure config.h is included by using CPPFLAGSLucas De Marchi2012-12-051-4/+0
| | | | | | | | | | Instead of trying to include config.h in each file over the tree and possibly forgetting to include it, give a "-include config.h" argument to the compiler so it's guaranteed that a) it will be included for all source files and b) it will be the first header included. gdbus/ directory is left out, since it would break other projects using it.
* Add btd_error_not_ready()Gustavo F. Padovan2010-12-161-0/+6
|
* Add btd_error_agent_not_available()Gustavo F. Padovan2010-12-161-0/+6
|
* Remove error_common_reply()Gustavo F. Padovan2010-12-161-18/+0
| | | | | Remove old dbus error report function. This patch doesn't make things really really better, but is a start.
* Add btd_error_failed()Gustavo F. Padovan2010-12-141-0/+6
| | | | | This is a special error type. It has a more general meaning and allows you to add a string to the error.
* Add btd_error_no_such_adapter()Gustavo F. Padovan2010-12-141-0/+6
|
* Add btd_error_already_connected()Gustavo F. Padovan2010-12-081-0/+6
|
* Fix coding styling issues in src/error.cGustavo F. Padovan2010-12-081-17/+9
|
* Add btd_error_not_authorized()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_does_not_exist()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_busy()Gustavo F. Padovan2010-12-071-0/+6
|
* Add btd_error_not_available()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_in_progress()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_not_connected()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_not_supported()Gustavo F. Padovan2010-12-071-0/+7
|
* Add btd_error_already_exists()Gustavo F. Padovan2010-12-071-0/+7
|
* Create btd_error_invalid_args()Gustavo F. Padovan2010-12-071-0/+7
| | | | | | DBus error handling in BlueZ is a mess. This is the first patch to unify all DBus error handling like in ConnMan and oFono. This unifies all .InvalidArguments errors.
* Update Nokia copyrightsJohan Hedberg2010-01-071-1/+1
|
* Update copyright informationMarcel Holtmann2010-01-011-1/+1
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Use g_dbus_send_message instead of dbus_connection_sendJohan Hedberg2008-10-241-4/+3
|
* Cleanup: unnecessary includesClaudio Takahasi2008-08-251-6/+0
|
* Move error helpers to bluetoothd sourceMarcel Holtmann2008-08-041-0/+57