Uses of Class
org.bluez.exceptions.mesh.BluezMeshInvalidArgumentsException

Package
Description
 
  • Uses of BluezMeshInvalidArgumentsException in org.bluez.mesh

    Modifier and Type
    Method
    Description
    void
    Node1.AddAppKey(org.freedesktop.dbus.DBusPath _elementPath, org.freedesktop.dbus.types.UInt16 _destination, org.freedesktop.dbus.types.UInt16 _appIndex, org.freedesktop.dbus.types.UInt16 _netIndex, boolean _update)
    From bluez documentation:

    This method is used to send add or update network key originated
    by the local configuration client to a remote configuration
    server.

    The element_path parameter is the object path of an element from
    a collection of the application elements (see Mesh Application
    Hierarchy section).

    The destination parameter contains the destination address.
    void
    Node1.AddNetKey(org.freedesktop.dbus.DBusPath _elementPath, org.freedesktop.dbus.types.UInt16 _destination, org.freedesktop.dbus.types.UInt16 _subnetIndex, org.freedesktop.dbus.types.UInt16 _netIndex, boolean _update)
    From bluez documentation:

    This method is used to send add or update network key originated
    by the local configuration client to a remote configuration
    server.

    The element_path parameter is the object path of an element from
    a collection of the application elements (see Mesh Application
    Hierarchy section).

    The destination parameter contains the destination address.
    void
    Management1.AddNode(byte[] _uuid, Map<String,org.freedesktop.dbus.types.Variant<?>> _options)
    From bluez documentation:

    This method is used by the application that supports
    org.bluez.mesh.Provisioner1 interface to add the
    unprovisioned device specified by uuid, to the Network.

    The uuid parameter is a 16-byte array that contains Device UUID
    of the unprovisioned device to be added to the network.

    The options parameter is a dictionary that may contain
    additional configuration info (currently an empty placeholder
    for forward compatibility).

    TwoTuple<org.freedesktop.dbus.DBusPath,List<TwoTuple<Byte,List<TwoTuple<org.freedesktop.dbus.types.UInt16,Map<String,org.freedesktop.dbus.types.Variant<?>>>>>>>
    Network1.Attach(org.freedesktop.dbus.DBusPath _appRoot, org.freedesktop.dbus.types.UInt64 _token)
    From bluez documentation:

    This is the first method that an application must call to get
    access to mesh node functionalities.

    The app_root parameter is a D-Bus object root path of
    the application that implements org.bluez.mesh.Application1
    interface.
    void
    Management1.CreateAppKey(org.freedesktop.dbus.types.UInt16 _netIndex, org.freedesktop.dbus.types.UInt16 _appIndex)
    From bluez documentation:

    This method is used by the application to generate and add a new
    application key.

    The net_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which net key to bind the application key to.

    The app_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which app key to add.

    This call affects the local bluetooth-meshd key database only.

    void
    Network1.CreateNetwork(org.freedesktop.dbus.DBusPath _app_root, byte[] _uuid)
    From bluez documentation:

    This is the first method that an application calls to become
    a Provisioner node, and a Configuration Client on a newly
    created Mesh Network.

    The app_root parameter is a D-Bus object root path of the
    application that implements org.bluez.mesh.Application1
    interface, and a org.bluez.mesh.Provisioner1 interface.
    void
    Management1.CreateSubnet(org.freedesktop.dbus.types.UInt16 _netIndex)
    From bluez documentation:

    This method is used by the application to generate and add a new
    network subnet key.

    The net_index parameter is a 12-bit value (0x001-0xFFF)
    specifying which net key to add.

    This call affects the local bluetooth-meshd key database only.

    void
    Management1.DeleteAppKey(org.freedesktop.dbus.types.UInt16 _appIndex)
    From bluez documentation:

    This method is used by the application to delete an application
    key.

    The app_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which app key to delete.

    This call affects the local bluetooth-meshd key database only.

    void
    Management1.DeleteRemoteNode(org.freedesktop.dbus.types.UInt16 _primary, byte _count)
    From bluez documentation:

    This method is used by the application to delete a remote node
    from the local device key database.

    The primary parameter specifies the unicast address of the
    the node being deleted.

    The count parameter specifies the number of elements that were
    assigned to the remote node.

    This call affects the local bluetooth-meshd key database only.

    It is an error to call this with address range overlapping
    with local element addresses.

    void
    Management1.DeleteSubnet(org.freedesktop.dbus.types.UInt16 _netIndex)
    From bluez documentation:

    This method is used by the application that to delete a subnet.

    The net_index parameter is a 12-bit value (0x001-0xFFF)
    specifying which net key to delete.
    void
    Node1.DevKeySend(org.freedesktop.dbus.DBusPath _elementPath, org.freedesktop.dbus.types.UInt16 _destination, boolean _remote, org.freedesktop.dbus.types.UInt16 _netIndex, Map<String,org.freedesktop.dbus.types.Variant<?>> _options, byte[] _data)
    From bluez documentation:

    This method is used to send a message originated by a local
    model encoded with the device key of the remote node.

    The element_path parameter is the object path of an element from
    a collection of the application elements (see Mesh Application
    Hierarchy section).

    The destination parameter contains the destination address.
    void
    Network1.Import(org.freedesktop.dbus.DBusPath _appRoot, byte[] _uuid, byte[] _devKey, byte[] _netKey, org.freedesktop.dbus.types.UInt16 _netIndex, Map<String,org.freedesktop.dbus.types.Variant<?>> _flags, org.freedesktop.dbus.types.UInt32 _ivIndex, org.freedesktop.dbus.types.UInt16 _unicast)
    From bluez documentation:

    This method creates a local mesh node based on node configuration that has been generated outside bluetooth-meshd.
    void
    Management1.ImportAppKey(org.freedesktop.dbus.types.UInt16 _netIndex, org.freedesktop.dbus.types.UInt16 _appIndex, byte[] _appKey)
    From bluez documentation:

    This method is used by the application to add an application
    key, that was originally generated by a remote Config Client.

    The net_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which net key to bind the application key to.

    The app_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which app key to import.

    The app_key parameter is the 16-byte value of the key being
    imported.

    This call affects the local bluetooth-meshd key database only.

    void
    Management1.ImportRemoteNode(org.freedesktop.dbus.types.UInt16 _primary, byte _count, byte[] _deviceKey)
    From bluez documentation:

    This method is used by the application to import a remote node
    that has been provisioned by an external process.

    The primary parameter specifies the unicast address of the
    the node being imported.

    The count parameter specifies the number of elements that are
    assigned to this remote node.

    The device_key parameter is the access layer key that will be
    will used to decrypt privledged messages from this remote node.

    This call affects the local bluetooth-meshd key database only.

    It is an error to call this with address range overlapping
    with local element addresses.

    void
    Management1.ImportSubnet(org.freedesktop.dbus.types.UInt16 _netIndex, byte[] _netKey)
    From bluez documentation:

    This method is used by the application to add a network subnet
    key, that was originally generated by a remote Config Client.

    The net_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which net key to add.

    The net_key parameter is the 16-byte value of the net key being
    imported.

    This call affects the local bluetooth-meshd key database only.

    void
    Network1.Join(org.freedesktop.dbus.DBusPath _appRoot, byte[] _uuid)
    From bluez documentation:

    This is the first method that an application has to call to
    become a provisioned node on a mesh network.
    void
    Network1.Leave(org.freedesktop.dbus.types.UInt64 _token)
    From bluez documentation:

    This removes the configuration information about the mesh node
    identified by the 64-bit token parameter.
    void
    Node1.Publish(org.freedesktop.dbus.DBusPath _elementPath, org.freedesktop.dbus.types.UInt16 _model, Map<String,org.freedesktop.dbus.types.Variant<?>> _options, byte[] _data)
    From bluez documentation:

    This method is used to send a publication originated by a local
    model.
    void
    Node1.Send(org.freedesktop.dbus.DBusPath _elementPath, org.freedesktop.dbus.types.UInt16 _destination, org.freedesktop.dbus.types.UInt16 _keyIndex, Map<String,org.freedesktop.dbus.types.Variant<?>> _options, byte[] _data)
    From bluez documentation:

    This method is used to send a message originated by a local
    model.

    The element_path parameter is the object path of an element from
    a collection of the application elements (see Mesh Application
    Hierarchy section).

    The destination parameter contains the destination address.
    void
    Management1.SetKeyPhase(org.freedesktop.dbus.types.UInt16 _netIndex, byte _phase)
    From bluez documentation:
    This method is used to set the flooding key update phase of the
    given subnet.
    void
    Management1.UnprovisionedScan(Map<String,org.freedesktop.dbus.types.Variant<?>> _options)
    From bluez documentation:

    This method is used by the application that supports
    org.bluez.mesh.Provisioner1 interface to start listening
    (scanning) for unprovisioned devices in the area.

    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.

    Each time a unique unprovisioned beacon is heard, the
    ScanResult() method on the app will be called with the result.

    void
    From bluez documentation:

    This method is used by the application that supports
    org.bluez.mesh.Provisioner1 interface to stop listening
    (scanning) for unprovisioned devices in the area.

    void
    Management1.UpdateAppKey(org.freedesktop.dbus.types.UInt16 _appIndex)
    From bluez documentation:

    This method is used by the application to generate a new
    application key.

    The app_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which app key to update.
    void
    Management1.UpdateSubnet(org.freedesktop.dbus.types.UInt16 _netIndex)
    From bluez documentation:

    This method is used by the application to generate a new network
    subnet key, and set it's key refresh state to Phase 1.

    The net_index parameter is a 12-bit value (0x000-0xFFF)
    specifying which net key to update.