This patchset changes the MessageReceived API, replacing 'subscription' flag with destination address of received messages. The application receives destination address as a D-Bus variant, containing either as a regular 16bit address (unicast/group) or a 16-octet virtual label. See previous discussion https://marc.info/?t=156719067300001&r=1&w=2 for rationale. v2: Fix test scripts: - fix API in test-join - display model subscriptions in test-join and test-mesh Michał Lowas-Rzechonek (3): mesh: Fix test-join to include mandatory VendorModels property mesh: Provide destination address in MessageReceived API mesh: Inform application about model subscriptions doc/mesh-api.txt | 32 +++++++++++--- mesh/model.c | 107 ++++++++++++++++++++++++++++++++++++++++++++--- test/test-join | 37 +++++++++++++--- test/test-mesh | 33 ++++++++------- 4 files changed, 179 insertions(+), 30 deletions(-) -- 2.19.1