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

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

    Modifier and Type
    Method
    Description
    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
    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.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.