Hi, On Fri, Jul 31, 2015 at 10:50 PM, Adam Moore <adam.moore@xxxxxxxxxxxxxxxxx> wrote: > > > On 7/31/15, 12:45 PM, "Othman, Ossama" <ossama.othman@xxxxxxxxx> wrote: > >>Hi Adam, >> >>On Fri, Jul 31, 2015 at 11:00 AM, Adam Moore >><adam.moore@xxxxxxxxxxxxxxxxx> wrote: >>> Ossama, thanks for sharing - I didn¹t have the heart to go down that >>>path >>> :) Nice to have that solution available too. >> >>Ha! Believe you me, I preferred not going down this path since it >>basically reinvents the wheel. but I didn't have much choice at the >>time since I needed to get something out the door that didn't rely too >>heavily on upstream patches being merged. >> >>> Just a thought - since the Characteristic objects must provide their >>> service path via DBus Property, forcing their paths to be children of >>>the >>> service path may be redundant, unless some logic is planned to be based >>>on >>> the structure of the OM tree in the future. >> >>Agreed. In this case, I just followed the convention found in the >>example hierarchy described in the "GATT Manager Hierarchy" section in >>the BlueZ doc/gatt-api.txt document, as well as the hierarchy found in >>the BlueZ test/example-gatt-server Python code. Going with this >>hierarchy also mimics the GATT service hierarchy described in the >>Bluetooth spec. > > Yeah, I used the same structure in my implementation - that was really > more of a note for the maintainers that if we can live without a strict > structure, it might simplify the final fix. > >> >>Thanks! >>-Ossama It seems the issue was closed caused GDBus and other bindings follow the D-Bus spec to the word, but how one would list interfaces in the root '/'? So either '/' shall become special and no other interface shall be registered there or the spec should be reworded to include the initial path, but the former is probably not backward compatible since afaik most bindings allow custom interfaces in '/' path. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html