obexd: Add MAP notification dispatching

System Internals / BlueZ - Christian Fetzer [bmw-carit.de] - 25 June 2013 07:58 UTC

The MAP specification allows to reuse one MNS server instance for all local MAS client instances. This dispatching of event reports to the correct MAS client instance is done by the MAS instance id and the device address.

The dispatcher component allows MAS client instances to register a notification handler. Events reports are forwarded by the MNS server using map_dispatch_event.

5a8f019 obexd: Add MAP notification dispatching
obexd/client/map-event.c | 110 ++++++++++++++++++++++++++++++++++++++++++++++
obexd/client/map-event.h | 25 +++++++++++
obexd/client/mns.c | 1 +
3 files changed, 136 insertions(+)

Upstream: git.kernel.org


  • Share