summaryrefslogtreecommitdiff
path: root/src/sdpd-service.c
Commit message (Collapse)AuthorAgeFilesLines
* 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: Use local libbluetooth includesMarcel Holtmann2015-02-281-4/+4
|
* sdp: Add support for MPMD in MPSSzymon Janc2015-02-171-1/+92
| | | | This enables MPMD field in MPS record.
* sdp: Add initial support for MPSSzymon Janc2015-02-171-1/+320
| | | | | | | | | | | | | This allows to register Multi Profile Specification record with proper MPSD bits set depending on currently registered services. Service Name: Multi Profile Service RecHandle: 0x10001 Service Class ID List: "" (0x113b) Profile Descriptor List: "" (0x113a) Version: 0x0100
* Replace bt_put_be32() by put_be32()Claudio Takahasi2014-03-241-1/+1
|
* Replace bt_put_be16() by put_be16()Claudio Takahasi2014-03-241-3/+3
|
* Replace bt_get_be32() by get_be32()Claudio Takahasi2014-03-241-3/+3
|
* Replace bt_get_be16() by get_be16()Claudio Takahasi2014-03-241-2/+3
|
* core: Remove redundant includes from sdpd-*.cFrederic Danis2013-07-121-7/+0
|
* core: Turn message about device id into debug statementMarcel Holtmann2013-01-101-1/+1
|
* core: Add support for setting a fixed SDP database timestampMarcel Holtmann2013-01-061-3/+14
| | | | | This is only useful for unit testing where the service database state needs to be known and should not change.
* core: Avoid using main_opts structure inside SDP service handlingMarcel Holtmann2013-01-031-7/+7
|
* core: Remove useless manager.h includesJohan Hedberg2013-01-031-1/+0
|
* 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
* 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.
* sdpd-service: Fix build errors due to unaligned memory accessSzymon Janc2012-09-051-11/+10
| | | | | | | | | | | | | | | | This fix number of build errors on ARM similar to one below. CC src/bluetooth-sdpd-service.o src/sdpd-service.c: In function service_remove_req: src/sdpd-service.c:517:20: error: cast increases required alignment of target type [-Werror=cast-align] src/sdpd-service.c:517:20: error: cast increases required alignment of target type [-Werror=cast-align] src/sdpd-service.c:536:2: error: cast increases required alignment of target type [-Werror=cast-align] src/sdpd-service.c:536:2: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors
* sdp: Fix removing servers own recordJohan Hedberg2012-05-181-0/+4
| | | | | To avoid misbehaving plugins trying to remove handle 0 it's better to directly check for this and return EINVAL.
* Bump Device ID service version to 1.3Szymon Janc2012-03-281-1/+1
| | | | | Device ID information in EIR are specified in DID 1.3 and this is supported by BlueZ.
* Add support for setting VID source in DeviceID from config fileSzymon Janc2012-03-281-1/+2
| | | | | | This allows to set if VID source is Bluetooth SIG or USB. Assigner is provided as string {bluetooth,usb} and fallback to usb if none is set in config.
* Set DeviceID when registering adapter not when sdp server is startingSzymon Janc2012-03-281-3/+0
| | | | | | Adapter ops are registered after sdp server is started. Thus no adapters were registered yet when setting DID on sdp startup and DID was never set.
* Parse config DeviceID string on bluetoothd startupSzymon Janc2012-03-281-9/+11
| | | | | | | Instead of parsing config DeviceID string on sdp server startup, parse it in main while reading config file. This allow to store logical DID values in main_opts (instead of raw config string) and make use of them in bluetoothd code.
* Fix dead increments and assignments in sdp codeSzymon Janc2011-05-151-1/+0
|
* Fix empty parameter list in functions declarationsSzymon Janc2011-05-151-1/+1
| | | | | Use foo(void) instead of foo() for parameterless functions declaration. This allows compiler to check if foo is called without parameters.
* Fix C++ style commentsSzymon Janc2011-05-101-1/+1
|
* Refactor handling of UUIDs with respect to adapter_opsJohan Hedberg2010-12-301-24/+2
| | | | | | | The management interface will have simple add_uuid and remove_uuid methods so it makes sense to have the adapter_ops interface reflect that. This patch removes the services_updated callback and replaces it with add_uuid and remove_uuid callbacks.
* Add manager_foreach_adapter()Johan Hedberg2010-12-191-10/+7
| | | | | Ultimately manager_get_adapters shouldn't be needed at all. By introducing manager_foreach_adapter most instances can be removed.
* Fix add_record_to_server to return a proper error valueJohan Hedberg2010-12-141-2/+2
|
* Refactor class of device (and related values) handling to adapter_opsJohan Hedberg2010-12-131-231/+2
| | | | | | | | The management interface will move class of device and extended inquiry response handling to the kernel side so the same functionality needs to be moved into hciops. These features are quite tightly coupled in bluetoothd so splitting this into multiple patches would have been hard (if not impossible). Thus this quite large single commit.
* Get rid of redundant type casts from SDP codeJohan Hedberg2010-10-271-5/+5
|
* Fix problem with invalid read from arrayLukasz Pawlik2010-10-091-1/+1
| | | | | This patch fix problem with reading data from out of the array range in function used to create EIR response.
* Support for adding UUID128 to extended inquiry responseInga Stotland2010-08-051-0/+63
|
* Clean up code that generates extended inquiry response.Inga Stotland2010-08-051-15/+29
|
* Minor fix when skipping duplicate UUID16 from EIR.Inga Stotland2010-08-051-1/+1
|
* Move debug() to DBG()Gustavo F. Padovan2010-05-211-3/+3
| | | | Use the new dynamic debug feature
* Move logging.{c,h} to log.{c,h}Gustavo F. Padovan2010-05-211-1/+1
| | | | Try to make log stuff more similar to ConnMan and oFono.
* Fix scope bdaddr variable to not be larger than necessaryJohan Hedberg2010-04-281-1/+1
|
* Update service class on adapter-by-adapter basisElvis Pfutzenreuter2010-04-281-10/+18
| | | | | When a service is added (or removed) for a specific adapter, only the service class of that specific adapter shall be updated.
* Correct UUIDs list to EIRFrancisco Alecrim2010-04-071-2/+3
| | | | Correct create_ext_inquiry_response to response only UUIDs per-adapter.
* Add support for handling Inquiry Response Transmit Power LevelMarcel Holtmann2010-02-051-1/+8
|
* Don't include PnP service class in EIR responseMarcel Holtmann2010-02-051-0/+3
|
* Update copyright informationMarcel Holtmann2010-01-011-1/+1
|
* Fix Extended Inquiry Response record for Device IDMarcel Holtmann2009-12-241-1/+1
|
* Remove the service_classes_callback mechanismAlok Barsode2009-07-221-8/+5
|
* Fix segfault when a record is updated.Luiz Augusto von Dentz2009-07-211-20/+17
| | | | | Current code is freeing the new record when it shouldn't as the memory is reused by extract_pdu_server.
* Coding style fixesJohan Hedberg2009-06-301-10/+15
|
* Only update service classes to specified adapterJohan Hedberg2009-03-241-9/+9
|
* Remove incorrect sdp_record_free()Johan Hedberg2009-03-011-3/+0
|
* Fix a few more sdp_record_t memory leaksJohan Hedberg2009-02-241-2/+6
|
* Fix mostly every warning caused by -Wsign-compareMarcel Holtmann2009-01-291-1/+1
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|