[PATCH 0/8] MAP client: Read MASInstanceID for the current connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christian Fetzer <christian.fetzer@xxxxxxxxxxxx>

This patch set allows the MAP client profile implementation to read the
instance id of the MAS server it is connected to.

This is a prerequisite for receiving event reports and distributing them to the
correct MAS client instance. The instance id is only available as SDP
attribute.

Due to the current transport layer abstraction in obexd, the MAP client has no
direct access to SDP. Therefore I have extended obc_transport to allow concrete
transports (like Bluetooth) to specify a get_service_record function and made
it available through obc_session_get_service_record. This way, transports can
provide additional service information to the client implementations.

The Bluetooth transport will now always do a SDP lookup (if the driver's
obc_driver->force_service_lookup is set) and cache the connection specific
service record to be accessed via get_service_record.

I will send the dispatching of notifications itself in a third set.

Christian Fetzer (8):
  obexd: Cache SDP record in bluetooth transport
  obexd: Add get_service_record to obc_transport
  obexd: Add get_bluetooth_service_record to Bluetooth transport
  obexd: Add obc_session_get_service_record to session
  lib: Add attributes MASInstanceID and SupportedMessageTypes
  obexd: Read SDP attributes when instantiating MAP session
  obexd: Add the possibility for drivers to force a service lookup
  obexd: Force service lookup when instantiating MAP session

 lib/sdp.h                |  2 ++
 obexd/client/bluetooth.c | 51 +++++++++++++++++++++++++++++++++++++++++-------
 obexd/client/driver.h    |  1 +
 obexd/client/map.c       | 35 +++++++++++++++++++++++++++++++--
 obexd/client/session.c   | 14 +++++++++++--
 obexd/client/session.h   |  2 ++
 obexd/client/transport.h |  2 ++
 7 files changed, 96 insertions(+), 11 deletions(-)

-- 
1.8.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux