summaryrefslogtreecommitdiff
path: root/profiles/gap
Commit message (Collapse)AuthorAgeFilesLines
* gap: Don't attempt to read the appearance if already setLuiz Augusto von Dentz2022-04-041-0/+5
| | | | | | Devices are unlikely to change appearance over time which is the reason why we cache then on the storage so this skips reading it on every reconnection.
* profiles: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 72 LGPL-2.1-or-later : 6 License: GPL-2.0-or-later profiles/deviceinfo/dis.c profiles/deviceinfo/deviceinfo.c profiles/health/hdp_types.h profiles/health/mcap.c profiles/health/hdp_manager.c profiles/health/hdp_main.c profiles/health/mcap.h profiles/health/hdp_util.h profiles/health/hdp_manager.h profiles/health/hdp_util.c profiles/health/hdp.c profiles/health/hdp.h profiles/network/server.c profiles/network/connection.h profiles/network/connection.c profiles/network/manager.c profiles/network/bnep.c profiles/network/server.h profiles/network/bnep.h profiles/battery/battery.c profiles/cups/cups.h profiles/cups/sdp.c profiles/cups/main.c profiles/cups/spp.c profiles/cups/hcrp.c profiles/scanparam/scpp.c profiles/scanparam/scan.c profiles/audio/transport.h profiles/audio/avdtp.h profiles/audio/source.c profiles/audio/player.c profiles/audio/avctp.c profiles/audio/control.h profiles/audio/a2dp.c profiles/audio/source.h profiles/audio/transport.c profiles/audio/sink.c profiles/audio/avrcp.h profiles/audio/avdtp.c profiles/audio/a2dp.h profiles/audio/avrcp.c profiles/audio/media.h profiles/audio/avctp.h profiles/audio/control.c profiles/audio/sink.h profiles/audio/player.h profiles/audio/media.c profiles/sap/server.c profiles/sap/sap-dummy.c profiles/sap/main.c profiles/sap/sap.h profiles/sap/manager.c profiles/sap/server.h profiles/sap/manager.h profiles/iap/main.c profiles/gap/gas.c profiles/midi/midi.c profiles/midi/libmidi.c profiles/midi/libmidi.h profiles/input/server.c profiles/input/suspend.h profiles/input/uhid_copy.h profiles/input/device.c profiles/input/hog.c profiles/input/device.h profiles/input/hidp_defs.h profiles/input/manager.c profiles/input/suspend-none.c profiles/input/sixaxis.h profiles/input/hog-lib.c profiles/input/suspend-dummy.c profiles/input/server.h License: LGPL-2.1-or-later profiles/deviceinfo/dis.h profiles/battery/bas.h profiles/battery/bas.c profiles/scanparam/scpp.h profiles/audio/a2dp-codecs.h profiles/input/hog-lib.h
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-0/+1
|
* gap: scanparam: Use bt_gatt_client_cloneLuiz Augusto von Dentz2016-11-281-1/+1
| | | | | Use bt_gatt_client_clone instead of bt_gatt_client_ref as that can track requests per clone instead of using the core reference.
* gap: Use shorter names for profile callbackLuiz Augusto von Dentz2016-09-121-6/+6
|
* gap: Implement disconnect callbackLuiz Augusto von Dentz2016-09-121-6/+23
| | | | | This implements the profile disconnect callback using it to cleanup existing references of bt_gatt_client and gatt_db.
* gap: Make use of service user_data to store service contextLuiz Augusto von Dentz2016-09-121-32/+8
| | | | | | Instead of storing service context data in a list this make use of btd_service_set_user_data to store the context data which later can be retrieved with btd_service_get_user_data.
* gap: Fix not handling accept properlyLuiz Augusto von Dentz2016-09-121-0/+7
| | | | | | On accept the profile shall check about existing attribute, etc and once done call btd_service_connecting_complete updating the service state properly.
* shared/gatt-db: Extend gatt_db_attribute_get_char_data with ext. propƁukasz Rymanowski2016-04-221-1/+1
| | | | | This patch adds way to get extended properties from characteristic extended property descriptor
* gap/gas: Remove unused fieldLuiz Augusto von Dentz2015-10-221-3/+0
| | | | db_id is no longer necessary since gatt_db_register is no longer called.
* gap/gas: Remove code handling service added/removedLuiz Augusto von Dentz2015-10-221-39/+0
| | | | | The will take care of calling probe/remove when a matching service is added removed.
* profiles: Use local libbluetooth includesMarcel Holtmann2015-02-281-0/+3
|
* profiles: Add explicit include for lib/bluetooth.hMarcel Holtmann2015-02-181-0/+1
|
* profiles/gap: Change len parameter of name2utf8() to uint16_tJukka Taimisto2015-01-201-1/+1
| | | | | | When device name is read its length is of type uint16_t, change the type of length parameter of name2utf8() to uint16_t to avoid unnecessary truncation.
* profiles/gap: Make sure device name is null -terminated.Jukka Taimisto2015-01-201-0/+2
| | | | | | If value of device name characteristic does not contain valid UTF-8 characters, make sure the name is null terminated before converting non-ascii characters to spaces.
* profiles/gap: Handle error or no device nameJukka Taimisto2015-01-201-1/+12
| | | | | Fixes segmentation fault when reading value of device name characteristic returns error or no data.
* profiles/gap: Fix probe/accept behaviorArman Uguray2015-01-161-56/+71
| | | | | This patch fixes the GAP profile so that it assumes that there will be one btd_service instance per-device rather than per-service-per-device.
* profiles/gap: Add Google copyrightArman Uguray2014-12-191-0/+1
| | | | | Added Google Inc. to the copyright comment since the profile has been mostly rewritten.
* profiles/gap: Rewrite using bt_gatt_clientArman Uguray2014-12-191-72/+197
| | | | | This patch rewrites the GAP profile to use the shared GATT stack instead of GAttrib. The profile now also handles the Device Name characteristic.
* profiles/gatt: Rename profile to gapArman Uguray2014-12-191-0/+213
Since this built in profile only handles the GAP service, this patch renames it to gap.