• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    For Backup a device

    BACnet4J general discussion
    2
    5
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jbacnet
      last edited by

      Before starting a backup procedure, device A shall read the Backup_Preparation_Time property, if present, from device
      B's Device object. If the property is not present in device B, the value shall be assumed to be 0.

      To do that :

      in class property indentifier:

      
          public static final PropertyIdentifier backupandrestorestate = new PropertyIdentifier(314);
          public static final PropertyIdentifier backuppreparationtime = new PropertyIdentifier(315);
          public static final PropertyIdentifier restorepreparationtime = new PropertyIdentifier(316);
      
      
      if (type == backupandrestorestate.intValue())
                  return "Backup And Restore State";
              if (type == backuppreparationtime.intValue())
                  return "Backup Prepartion Time";
              if (type == restorepreparationtime.intValue())
                  return "Restore Preparation Time";
      
      
      

      in class object properties :

      
      //add by jose
              add(ObjectType.device, PropertyIdentifier.backupandrestorestate, UnsignedInteger.class, false, false, null);
              add(ObjectType.device, PropertyIdentifier.backuppreparationtime, UnsignedInteger.class, false, false, null);
              add(ObjectType.device, PropertyIdentifier.restorepreparationtime, UnsignedInteger.class, false, false, null);
      
      
      

      Say me if it's ok . thanks

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        That's a start, yes. I've checked in changes to more fully implement Add-135-2008n.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • J
          Jbacnet
          last edited by

          Thanks

          but strange that my property identifiers number are differents

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            Do you have the same addendum? I used this one: http://www.bacnet.org/Addenda/Add-135-2008n.pdf

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • First post
              Last post