mbox series

[BlueZ,0/2] Add support for LE profiles (LE-L2CAP)

Message ID 60274e5a-d210-425d-bba5-946119fd4f87@EXC04-ATKLA.omicron.at (mailing list archive)
Headers show
Series Add support for LE profiles (LE-L2CAP) | expand

Message

Mark Marshall Aug. 19, 2020, 3:09 p.m. UTC
I wanted to create a custom profile that used LE-L2CAP, and I found
that there were a couple features missing that I needed.

1)
It is not possible to set the Address Type in the profile.  
2)
It is not possible to discover the "Auto Chosen" PSM value.

The first patch allows the address type to be specified in the DBus
API.

The second patch allows information about the profile to be read back.
This is needed because, on both Andorid and iOS, when using LE-L2CAP,
the application must inform the OS about which PSM to use.  It is
possible for the server to advertise this value with GATT, but the
applciation has to read it from somewhere.


Mark Marshall (2):
  src/profile.c: Allow the "Address Type" to be set
  src/profile.c: Add a GetProfileInfo method

 doc/profile-api.txt |  23 +++++++++
 src/profile.c       | 113 +++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 135 insertions(+), 1 deletion(-)