Skip to main content
. 2021 Dec 4;21(23):8110. doi: 10.3390/s21238110
Algorithm 1. The IoT Object’s initialization process algorithm.
  •   1:

    procedureinitialize(ip, port, configurationFile)

  •   2:

        rmlconnection(ip, port)

  •   3:

        if UUID == null then

  •   4:

             UUIDrml.askForUUID()

  •   5:

        end if

  •   6:

        devicereadDeviceFile(con f igurationFile)

  •   7:

        acknowledgerml.connect(UUID, device)

  •   8:

        if acknowledge then

  •   9:

             startCycle(rml)

  • 10:

        end if

  • 11:

    end procedure