mesh: Update UnprovisionedScan, AddNode & ScanResult 64/229664/1
authorInga Stotland <inga.stotland@intel.com>
Fri, 27 Mar 2020 18:42:55 +0000 (11:42 -0700)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 1 Apr 2020 20:50:44 +0000 (02:20 +0530)
commit40e99a349114c138ae192e9c3184a39bda56792d
tree8f0713565de60008c36a990494e69f6a4a6921eb
parente44f09c3a7d9b6692029bd4f59aff07294080a41
mesh: Update UnprovisionedScan, AddNode & ScanResult

The following methods are modified to allow for future development:

Interface org.bluez.mesh.Management1:

Old: void UnprovisionedScan(uint16 seconds)
New: void UnprovisionedScan(dict options)

    The options parameter is a dictionary with the following keys defined:
    uint16 Seconds
                Specifies number of seconds for scanning to be active.
                If set to 0 or if this key is not present, then the
                scanning will continue until UnprovisionedScanCancel()
                or AddNode() methods are called.
    other keys TBD

Old: void AddNode(array{byte}[16] uuid)
New: void AddNode(array{byte}[16] uuid, dict options)

    The options parameter is currently an empty dictionary

Interface org.bluez.mesh.Provisioner1

Old: void ScanResult(int16 rssi, array{byte} data)
New: void ScanResult(int16 rssi, array{byte} data, dict options)

    The options parameter is currently an empty dictionary

Change-Id: Ia4b95ea2850c39406859e861b41f79f88a18910a
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/manager.c