• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. buttonville

    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
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    buttonville

    @buttonville

    0
    Reputation
    258
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    buttonville Unfollow Follow

    Latest posts made by buttonville

    • RE: How to know the type of the object ?

      you still need to ask for complete objectList
      then only show analogOutput

      
      	private static void getObjectList(LocalDevice localDevice, String ip, int port, int deviceId) throws Exception 
      	{  
      		InetSocketAddress addr = new InetSocketAddress(InetAddress.getByName(ip), port);  
      		ReadPropertyRequest read = new ReadPropertyRequest(new ObjectIdentifier(ObjectType.device, deviceId), PropertyIdentifier.objectList);  
      		ReadPropertyAck ack = (ReadPropertyAck) localDevice.send(addr, null, 1476, Segmentation.segmentedBoth, read);  
      
      		System.out.println("IP: " + ip);  
      		SequenceOf<ObjectIdentifier> oids = (SequenceOf<ObjectIdentifier>) ack.getValue();  
      		for (ObjectIdentifier oid : oids)  
      		{
      			if(oid.getObjectType().intValue() == ObjectType.analogOutput.intValue())
      			{
      				System.out.println("    " + oid);
      			}
      		}
      	}  
      
      
      posted in BACnet4J general discussion
      B
      buttonville
    • Missing code in class ObjectTypesSupported

      i wonder if com.serotonin.bacnet4j.type.constructed.ObjectTypesSupported should be completed by

      
          public boolean isGlobalGroup() {
              return getValue()[26];
          }
      
          public void setGlobalGroup(boolean globalGroup) {
              getValue()[26] = globalGroup;
          }
      
      
      posted in BACnet4J general discussion
      B
      buttonville
    • RE: Missing code in class ObjectTypesSupported

      i wonder if com.serotonin.bacnet4j.type.constructed.ObjectTypesSupported should be completed by

      
          public boolean isGlobalGroup() {
              return getValue()[26];
          }
      
          public void setGlobalGroup(boolean globalGroup) {
              getValue()[26] = globalGroup;
          }
      
      
      posted in BACnet4J general discussion
      B
      buttonville