Skip to content

Instantly share code, notes, and snippets.

@lduboeuf
Last active April 23, 2026 07:46
Show Gist options
  • Select an option

  • Save lduboeuf/2950fa9e50b7a48fb259c1eee356e9d7 to your computer and use it in GitHub Desktop.

Select an option

Save lduboeuf/2950fa9e50b7a48fb259c1eee356e9d7 to your computer and use it in GitHub Desktop.
Test obex pbap with new backend
Pre-requisite: 24.04.2.x
#1: install dependencies
sudo ubports-qa install 24.04-2.x_-_PR_bluez_5
sudo ubports-qa install 24.04-2.x_-_PR_lomiri-addressbook-app_271
service:
https://ci.ubports.com/blue/organizations/jenkins/UBportsCore%2Flomiri-obex-call-data/detail/MR-1/4/artifacts
new contact db is populated after session login
#2: restart bluetooth or reboot
#3: Pair the carkit to device
@lduboeuf

Copy link
Copy Markdown
Author

debug:
export QTCONTACTS_SQLITE_DEBUG_SQL=1
export QTCONTACTS_SQLITE_TRACE=1
dbus-update-activation-environment QTCONTACTS_SQLITE_TRACE QTCONTACTS_SQLITE_DEBUG_SQL

  nano /usr/lib/systemd/user/obex.service.d/ubuntu-touch-session.conf -> add -d for debug

@lduboeuf

Copy link
Copy Markdown
Author

test with obexctl on client side:

https://docs.qualcomm.com/doc/80-70017-13/topic/bluez-perform-bluetooth-pbap-client-functions.html
obexctl
connect xx:xx:xx:xx:xx pbap
cd pb
ls -l

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment