Hi,

Here is the patch-set which adds the support for the Peer Service 
(un)registration
part in Manager API. It required some changes on Peer API as well.

It is now possible to advertize about UPNP or Bonjour services. The device will
become discoverable and will reply to P2P scan or P2P SD frames.

Please review,

Tomasz Bursztyka (12):
  doc: Update peer api documentation about Peer Services
  doc: Update manager API about peer service un/registration
  gsupplicant: Add helpers for adding/removing P2P services
  peer: Add a service registration function to the peer driver
  peer: Add the core implemetation of Peer service API
  main: Handle core's peer_service (de)initialization relevantly
  manager: Implement Peer Service DBus API related methods
  wifi: Support Peer Service registration and unregistration
  gsupplicant: Call p2p support callback in relevant places
  gsupplicant: Add a functiont to start listening to P2P frames
  wifi: Set the interface on listening to P2P once a service is added
  client: Adding a very basic support for (un)registering peer services

 Makefile.am               |   3 +-
 client/commands.c         | 232 ++++++++++++++++++++++++++
 client/dbus_helpers.c     |   3 +
 doc/manager-api.txt       |  18 ++-
 doc/peer-api.txt          |  38 ++++-
 gsupplicant/gsupplicant.h |  22 +++
 gsupplicant/supplicant.c  | 189 ++++++++++++++++++++--
 include/peer.h            |  12 ++
 plugins/wifi.c            | 155 ++++++++++++++++++
 src/connman.h             |  15 ++
 src/main.c                |   2 +
 src/manager.c             | 116 +++++++++++++
 src/peer.c                |   2 +
 src/peer_service.c        | 405 ++++++++++++++++++++++++++++++++++++++++++++++
 14 files changed, 1185 insertions(+), 27 deletions(-)
 create mode 100644 src/peer_service.c

-- 
1.8.5.5

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to