New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PW_SID:642899] [BlueZ,1/6] settings: Add btd_settings_gatt_db_{store,load} #1273
Conversation
This patch adds workflow files for ci: [schedule_work.yml] - runs every 30 mins. - sync repo with upstream repo and rebase workflow branch to tip of master. - creates PR after reading patches from patchwork.kernel.org [ci.yml] - Tests the following checks: - checkpatch - gitlint - make - make check [code_scan.yml] - Static code checker: Coverity and Clang - Coverity: Submit the result to the coverity website - Clang Code Scan: Send email with result file to the internal team To simplify the history, new change will amend to this patch without creating new patch.
This adds helper functions to store and load from/to file so they can get reused by the likes of gatt-database.c and btmon.
This enables storing the local (adapter) GATT database which later will be used by btmon to decode GATT handles.
This moves print_hex_field to display.h and removes the duplicated code from packet.c and l2cap.c.
This moves ATT decoding function from l2cap.c to att.c.
This caches connection information including the device addres so it can be printed alongside the handle: > HCI Event: Disconnect Complete (0x05) plen 4 Status: Success (0x00) Handle: 3585 Address: 68:79:12:XX:XX:XX (OUI 68-79-12) Reason: Connection Terminated By Local Host (0x16)
This attempt to decode the attribute type if its gatt_db can be loaded: < ACL Data TX: Handle 3585 flags 0x00 dlen 9 ATT: Write Request (0x12) len 4 Handle: 0x000b Type: Client Characteristic Configuration (0x2902) Data: 0200
CheckPatch Output:
|
GitLint |
Prep - Setup ELL |
Build - Prep |
Build - Configure |
32c3afb
to
53799da
Compare
Build - Make |
Make Check |
Make Check w/Valgrind |
Make Distcheck |
Build w/ext ELL - Configure |
Build w/ext ELL - Make |
Incremental Build with patches |
From: Luiz Augusto von Dentz luiz.von.dentz@intel.com
This adds helper functions to store and load from/to file so they can
get reused by the likes of gatt-database.c and btmon.
Makefile.am | 3 +-
src/device.c | 499 ++---------------------------------------------
src/settings.c | 510 +++++++++++++++++++++++++++++++++++++++++++++++++
src/settings.h | 11 ++
4 files changed, 534 insertions(+), 489 deletions(-)
create mode 100644 src/settings.c
create mode 100644 src/settings.h