Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp494781ybe; Thu, 5 Sep 2019 00:56:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqGpoU/X8Bgw3FweA6TLCtPd8M33pKFReDCbuU5VTgMPaiENP92cflGCqjvjOeeNO8Uz99 X-Received: by 2002:a17:902:788b:: with SMTP id q11mr1982136pll.308.1567670200888; Thu, 05 Sep 2019 00:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567670200; cv=none; d=google.com; s=arc-20160816; b=YEkEAIEXiPO8510DZDVm35IR+FU0RIK8QaZEubTQOV91PJErO1AjjoVIZsy52d5oDU kmvaYb3dn6NIAaFN7+A8f38fs2565LbRc6Q/eOIFa7ZKXv5HkZpENDC8/YBs7JvTCWlE 8dGinOrEsAqz/wNKIxQdG2Wg9Dy745B8RpLmrW+LN/iyQwjFNpxag3TvrnESj4T9kjAW B5qLPU2oBJV5LCHrEcCL17yFG4nJKtGf8CuJ45J458n4icESV84RtfWwnLydn8sJy8N/ nSO1Yqm4EIJUO2A270R92zE1iHmqh3APr7BZSJkjKoPbctEFMw2WDgjGQ+tW0p48AYh7 pwng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=EdvuQNnx5PsnuWbczGwA2cLzzdJbnjgoGW8nXXfWpFA=; b=BNgpd+0wzLI4aJ9Kh9fwNYjiLhLTHO2mPjB+73o6grLF9GY95iD0sXcbYfmwA8nACi 81g/foCl16VU0xCntWSZi1MshDMIxJd0AnpFJ7jprDb5yU5DtEQ8zlueAVOP6/f4TRa8 ZA0SFEwzptXlJ8LvLYI0v1WFlMe0BH54GGSeXWNXywydm52EvozRz5954WJDOSC/uZid 8GGeF0FwWAyd3MFEM91SFoChO2figUBOBLMCUuoySW2Zw+amtGnSHRKR7QT+4C3oJ7uM fbkhvIMn0WOtrsxKrOFwqzZpehkxZC1AmZNsrA/iEA5lJG5FaVWbot1jZkSRkFiJHk5P uFuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=tU6MU1l6; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r16si1079719pgh.385.2019.09.05.00.56.25; Thu, 05 Sep 2019 00:56:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=tU6MU1l6; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731717AbfIEHeX (ORCPT + 99 others); Thu, 5 Sep 2019 03:34:23 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:46073 "EHLO mail-lf1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731476AbfIEHeX (ORCPT ); Thu, 5 Sep 2019 03:34:23 -0400 Received: by mail-lf1-f44.google.com with SMTP id r134so1091965lff.12 for ; Thu, 05 Sep 2019 00:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=EdvuQNnx5PsnuWbczGwA2cLzzdJbnjgoGW8nXXfWpFA=; b=tU6MU1l6ScPh031Uu+5ONgxQv+ou14RuuMbAK3gGAPyZKAxlBioGfC1cHp2d63hspE 8pVLAX+6x7nISp5qWIrtr85hFGNOD5pepNbgMJQvb6IdLuKNwV81FuJku4G7ejm7GIwF WReTVNRDWVtA441/EreRXUWELI9XXBSsJVKsUXxYbMPpuh99o9BIAjJZsfl3l+WdB+7U VucxDM08rX1hcX8Rm75p7KJNlW8ZDx5Miiq2hzgHLqsqP/KXwJtiZyJ6EV4mMa+AcV14 dV0cqp5aJu9sUiq3ICnvjGR1sM+KFz1SJygWs4+oyqjpT5kbqQIk+oKKgB6/8QFEVSTP NXfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=EdvuQNnx5PsnuWbczGwA2cLzzdJbnjgoGW8nXXfWpFA=; b=m+axfvLwhNEAGcMPxBs4U0fADtqB0fxLch0+vFlg891uQkXWlMK0UBuM/27oix4en9 jWxRQlGWNA5Jo7hPe3aAKk5wdPUQbfiy0/C1Xxo1sn9aECBl7JvT/QrNuZlbBt5D626x RSFRRVtS9m2ORbKN9fkw/r2HzM3Qj0xkcJ/nxovLNXt86u3LyH5CJdesBFpy1SxSaNDP Vwj8/c6xoXFxVJkPer7o1ZM+S6h1ae3aiKU+LGIPkaeXQlM50eulXSoE7zRIMsuuDBOk A7oF4krTxZf8pJgbOnwXzmsuQABmEgFGODYltt75Qppmgukp0T94HnDrM4u+OfHjcGWM mN2g== X-Gm-Message-State: APjAAAWKDv7NpXB+WfraGXGs0sXuxKd4BKhj51Vlb4WLMTmo5kXhxDky MUYFLzt3cSZTNUVX3RlmT6eQHj2ObcM= X-Received: by 2002:a19:644c:: with SMTP id b12mr1319072lfj.104.1567668860876; Thu, 05 Sep 2019 00:34:20 -0700 (PDT) Received: from mlowasrzechonek2133 ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id o15sm269484lff.22.2019.09.05.00.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 00:34:20 -0700 (PDT) Date: Thu, 5 Sep 2019 09:34:19 +0200 From: "michal.lowas-rzechonek@silvair.com" To: "Gix, Brian" Cc: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" , "simon@silvair.com" Subject: Re: mesh: org.bluez.mesh.Element.MessageReceived method does not provide destination address Message-ID: <20190905073419.urwfdf5bbghkmj4k@mlowasrzechonek2133> Mail-Followup-To: "Gix, Brian" , "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" , "simon@silvair.com" References: <20190830184301.zd3zaqrw7mv6r252@kynes> <20190904192525.2dqyihabxmigb54m@kynes> <20190904194808.nu2cy4vp6uh64m4z@kynes> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Brian, On 09/04, Gix, Brian wrote: > > Since PDO payloads are *not* self-describing (unlike mesh sensor > > messages), the receiving party must be aware of the mapping in order to > > parse the data. > > > > In CANOpen, format is determined by the address - in mesh, it could very > > well be a virtual label. > > I think that this is an interesting use of Virtual Addresses, and in > addition to this, Mesh Virtual Addresses have been suggested as a way > of addressing IPv6 addressing as well... However: > > 1. There is already a way something like this could be used already: > A model could be created that gets subscribed to the Virtual > Addresses that require handling by the node. But the whole idea is that the virtual labels and packing are configured dynamically (by the commissioner) according to their specific needs. If a model doesn't receive the *value* of the label, you would need a separate model for each of the virtuals. This is problematic, because composition data is immutable, so you wouldn't be able to reconfigure these mappings without at least re-provisioning the whole network. > In any case the ability to create simple mesh Apps with minimal > complexity remains intact, and as an added bonus, the Open Source > community (not to mention the Bluetooth Mesh Working Group and larger > SIG) can weigh in on the preferred methodologies. Aren't *we* the community? :P -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND