---
title: Assignment
id: "en:mobile:assignment:02_02_assignment.adoc"
site: en
component: mobile
module: assignment
lang: en
url: "https://help.rtlscloud.io/en/mobile/assignment/02_02_assignment.html"
source_repo: "https://github.com/iot-invent/xApp-Assignment.git@main"
source_path: docs/en/modules/assignment/pages/02_02_assignment.adoc
---

# Assignment

The application combines the **Assignment** and **Unassignment** of Assets with BLE tags.

This allows the user to connect those objects directly into the server and configure the devices in the way that the use case is defined.

1.  After successfully login, the first thing is to choose the **space** the assignment should be executed.
    ![Diagramm](_images/xapp_assignment_home_space.png)

2.  If the right space was chosen, press **Start Assignment**.

    A request to the server will be done and respond with a list of **asset types**.

3.  When this screen appears the first time, the application will ask for the **camera permission**.
    ![Diagramm](_images/xapp_assignment_asset_permission.png)

4.  The user can scan a **QR code** or enter the data manually.
    ![Diagramm](_images/xapp_assignment_asset_data.png)

    If the type is known, the application will show additional information’s.

5.  Press **_Next_** to continue with the tag.

    When pressing the button, the application will send a request to the server to check if the asset has already an assignment.

    ![Diagramm](_images/xapp_assignment_tag.png)

6.  After scanning a **QR code** or manual input, the user has to press **_Next_** to continue.
    ![Diagramm](_images/xapp_assignment_tag_data.png)

    If the type is known, the application will show additional information’s.

7.  The last screen will execute the assignment on the server and the configuration on the tag.
    ![Diagramm](_images/xapp_assignment_assignment.png)

    | Step | Task |
    | --- | --- |
    | 1 | BLE Connection will be established |
    | 2 | Send the Assignment to the Server and wait for the positive response |
    | 3 | Change the **Advanced Device Name** to the **Extended Device Name** |
    | 4 | Check new values on Tag |
    | 5 | Close Connection and open **Successful Dialog** |

    Optional: The user can stop the assignment by pressing the **_Cancel_** button in the top right corner

    ![Diagramm](_images/xapp_assignment_assignment_cancel.png)
