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.

  • How to integrate BACnet Change Of Value (COV) using BACnet4J

    17
    0 Votes
    17 Posts
    15k Views
    J
    I'm not going to paste the code in the forum, because you really need the bacnet4j source so that you can test it out, download the source from http://sourceforge.net/projects/bacnet4j/files/bacnet4j/1.3/ and make sure you don't have any problems with running all the tests. And as I said before, it's been over a year since I touched bacnet4j, so good luck, I'm sure once you have the source, you'll figure out what is going wrong.
  • How to use AmbiguousValue?

    2
    0 Votes
    2 Posts
    2k Views
    P
    Hi, first i like to say thanks for the great bacnet4j stack, i'm very happy that someone did the job and implemented an open source stack in java. So i'm beginning with the bacnet4j stack and have a question about the AmbiguousValue type. Is it correct that it is the representation of the BACnet ANY type? How do i use it? Some objects properties require an AmbiguousValue type but i haven't managed to create an instance of this. I managed to get values and convert them to Real, ... but how do i convert a Real to an AmbiguousValue? I'm new to java and bacnet4j, so please don't be too hard :) Regards
  • RejectedExecutionException

    7
    0 Votes
    7 Posts
    5k Views
    G
    Did anyone tried this solution from Robert? If yes, please let me know.
  • Starting with BACnet4J

    3
    0 Votes
    3 Posts
    3k Views
    R
    Ok, now I'm really confused! I have a desktop PC and a laptop. If I run VTS on the PC and the SlaveDeviceTest on the laptop the Device is answering to the Who-Is. But if the SlaveDevice is running on the PC and VTS on the laptop it's not answering. Any idea? Both Systems are Win7 professional and I'm using eclipse for programming.
  • My bad, carry on...

    5
    0 Votes
    5 Posts
    3k Views
    F
    Nope! Everything is fine! You can delete this thread... :mrgreen:
  • NotificationClass

    2
    0 Votes
    2 Posts
    2k Views
    V
    Hi all! Only a short question about events generate because of notification classes: Is it correct that the application code has to take care of COV and Event-Notifications for Notification classes on its own. (e.g. on a property change, check configured notification class and send COV on its own - or in case of events, localDevice.sendIntrinsicEvent(..).). (And if i saw correctly, Subscribed COV's are handled automatically) Greetings, Michael
  • Trend Log defination for SlaveDevice

    11
    0 Votes
    11 Posts
    6k Views
    S
    how can i use mango master to get data/value from simulator device and monitor the simulator using any data source like modbus/dnp3/bacnet etc. please help me
  • How to find out a Device ID

    2
    0 Votes
    2 Posts
    2k Views
    G
    Hello everybody, I am using the findRemoteDevice() method and, in one of my tests, I don't know the device id (which is needed as the third argument of the method...). Can I somehow find it out using the lib? I know the IP and the port (even the device name and the MAC address, I think :-)). Thanks a lot in advance.
  • DeviceObjectPropertyReference hashCode function collision

    5
    0 Votes
    5 Posts
    3k Views
    M
    You misinterpreted what they said. You had said you didn't know what hashes might be good for, and i provided an answer. You were using them inappropriately: as a unique key, rather than an indexing key, which are two different things. Since a hash is not guaranteed to be unique, you obviously should not use it for such a purpose. That said, you need to reconsider what you can use as a unique key, if that is what you need. This is a question for you to decide. I don't know your application, and so can't really help.
  • Is BACnet4J 2.0 ready for usage? (MS/TP!)

    3
    0 Votes
    3 Posts
    3k Views
    M
    Hmm, i can only assume that somewhere in my ant classpath is the RXTX lib, perhaps in the JVM that it references. So, it's a fluke that it works for me. You can always add the lib/RXTX jar into the build script. That should clear things up.
  • Bug in SequenceOf?

    4
    0 Votes
    4 Posts
    2k Views
    M
    Maybe the SequenceOf<CharacterString> should just have a context id?
  • Issue serializing the AmbiguousValue class

    3
    0 Votes
    3 Posts
    2k Views
    M
    I've changed the ByteQueue to a byte[]. This change will be in the next check-in, which will be a major upgrade.
  • BACnet4J compliance with standard

    4
    0 Votes
    4 Posts
    3k Views
    M
    I do agree with you in that the priority is working with valid messages; however any improvement with handling the corner cases would be welcomed. :wink: My application is basically the BACnet4J sample application: LocalDevice localDevice = new LocalDevice(1968, "10.1.10.168"); localDevice.getConfiguration().setProperty(PropertyIdentifier.objectName, new CharacterString("my device")); localDevice.setPort(0xBAC0); // a few properties... // Start the local device. localDevice.initialize(); // Send an iam. localDevice.sendBroadcast(47808, localDevice.getIAm()); You can dowload the test client from http://www.bac-test.com/download.php and you'll get the same errors as I get.
  • Bacnet4j and who-is-router-to-network

    2
    0 Votes
    2 Posts
    2k Views
    K
    Hi, i'm actually trying to implement a little piece of software which is responding to the BACnet who-is-router-to-network messages. But i have not found a way to implement this with the bacnet4j stack. How can i listen for specific messages with the bacnet4j stack? Can I build something like a while-loop which is listening for BACnet-Messages? I've not seen something like this in the Test-Classes. I will appreciate your help! Greets, Benni
  • Timeout error when call getExtendedDeviceInformation

    3
    0 Votes
    3 Posts
    2k Views
    M
    Can you get a trace of the request and response, i.e. the byte streams?
  • Buffer_READY event notification

    5
    0 Votes
    5 Posts
    3k Views
    C
    Trend log object is working in bacnet4j, isn't it. Have you ever anyone test it before. I need help about trend log.
  • Help understanding networks

    5
    0 Votes
    5 Posts
    3k Views
    M
    It's newer. Download the latest jar from SF (or the SF CVS) and try that.
  • Remote device list bug when a device has new network information

    4
    0 Votes
    4 Posts
    3k Views
    J
    I am a little taken aback hearing that there are people using the same device instance for multiple devices on a network. They should be shot! From what I can see however, with the code as is, even if they were happy to violate (as personally I don't think there is any level of compliance in this department) the standard and have same device instance for multiple devices, it will only ever work with the first device in the list if BACnet4j has to make any sort of request to that device (I could be wrong, but that is my observation). So I'm not really sure how useful the current implementation is to anyone, as it doesn't really handle multiple devices, and it doesn't handle devices that change network details. I agree a flag in the localDevice object would be the simplest way to accomodate all parties, so that particular behaviour could be specified.
  • BACnet4J for Android

    8
    1 Votes
    8 Posts
    7k Views
    P
    Would it be useful to publish the prototype for Android somewhere together with BACnet4J?
  • Guidance for implementing COV for Analogs

    13
    0 Votes
    13 Posts
    6k Views
    M
    If the remote device you want isn't found from a WhoIs, but you know it's there, you can always discover it manually using LocalDevice.findRemoteDevice.