[PATCH 0/3] Allow to reattach with new composition data

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

 



This patch allows the application to modify the CID, PID, VID and CRPL in the composition data.

According the Mesh Profile (2.3.4 Elements) the modification of fields other than "Elements" is not prohibited.

Also in my opinion (as you can see in the 1st patch), there is no need to use pointer to the node_composition struct.
The static is more clear and less problematic.

Jakub Witowski (3):
  mesh: use static node_comp instead of the pointer
  mesh: add composition data setter
  mesh: allow to reattach with new composition data

 mesh/mesh-config-json.c | 46 +++++++++++++++-----
 mesh/mesh-config.h      |  2 +
 mesh/node.c             | 96 +++++++++++++++++++++++++----------------
 3 files changed, 96 insertions(+), 48 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