[RFC BlueZ 0/2] mesh: Deliver mesh packets over datagram socket

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

 



This patchset adds another D-Bus API for attaching applications, called
AttachFD.

When application uses that API, it receives one end of a datagram socket
pair, which it's supposed to recv() from in order to receive mesh
packets, instead of wating for *MessageReceived() calls over D-Bus.

This significantly reduces system load for high traffic environment
(e.g. an application that subscribes to a large number of publications
in a big network).

Message delivery is one way only: application is still supposed to call
*Send methods via D-Bus, although the socket pair is bidirectional, so
it would be possible to add sending as well.

Michał Lowas-Rzechonek (1):
  mesh: Implement AttachFD method

Przemysław Fierek (1):
  mesh: Add documentation for AttachFD

 doc/mesh-api.txt |  40 +++++++++++++++
 mesh/mesh.c      |  12 ++++-
 mesh/model.c     | 126 ++++++++++++++++++++++++++++++++++++++++++++++-
 mesh/node.c      |  83 ++++++++++++++++++++++++++++++-
 mesh/node.h      |   4 +-
 5 files changed, 259 insertions(+), 6 deletions(-)

-- 
2.20.1




[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