Hello TJ,
can you check to which port the WhoIs is sent? (for example with Wireshark)
Hello TJ,
can you check to which port the WhoIs is sent? (for example with Wireshark)
After working more intensively with BACnet4J, I came to the conclusion that it is not supported.
On the recipient side, SubscribeCOV is supported, but not SubscribeCOVProperty.
I implemented my own SlaveDevice and it is supporting SubscribeCOV but not SubscribeCOVProperty. But I would like to subscribe just one property, not all. How Can I achieve that my slavedevice supports this?
Next question, in hopes that I get an answer eventually ;)
Is it possible to detect which type data has to be I want to write?
With the SlaveDeviceTest it works, but unfortunately not with VTS.
I've already the next question (not sure if it'd be better to open a new thread for every question or summarize it, I don't want to spam the forum)
What is the most elegant way to discover the properties of an object?
I already read this thread: http://forum.infiniteautomation.com/forum/posts/list/177.page If I understood this right there are two ways:
And if I know a property is present at the RemoteObject, how do I know if the property is just readable or also writeable.
Concerning my first post in this thread: Both in VTS and Wireshark show that getProperty() sends a ReadProperty-Message.
Regards
Robert
Hi,
I would like to know what the difference between getProperty and readProperty is?
Hi,
I would like to know what the difference between getProperty and readProperty is?
Hi,
I want to search for a device by its name. I tried to do this with WhoHasRequest this way:
localDevice.sendGlobalBroadcast(new WhoIsRequest(null, new CharacterString("TDev");
With VTS I modeled a device named "TDev". I also can see the request in the VTS but I don't get a response. Has anybody an idea where the problem could be?
Hi,
I want to search for a device by its name. I tried to do this with WhoHasRequest this way:
localDevice.sendGlobalBroadcast(new WhoIsRequest(null, new CharacterString("TDev");
With VTS I modeled a device named "TDev". I also can see the request in the VTS but I don't get a response. Has anybody an idea where the problem could be?
Well, what shall I say... I tried it today without changing anything and there is no Exception and it does what it is supposed to.
I'm not sure now if my question isn't clear or if there is no solution for this problem yet. I need more than one BACnet-device on one physical-device (with the same IP). Or is this against the principle of BACnet?
I tried this now:
IpNetwork ipnet = new IpNetwork (IpNetwork.DEFAULT_BROADCAST_IP, 0xBAC1);
Transport transp = new Transport(ipnet);
LocalDevice device = new LocalDevice(deviceID, transp);
try
{
device.initialize();
device.sendUnconfirmed(new Address(IpNetwork.DEFAULT_BROADCAST_IP, IpNetwork.DEFAULT_PORT), device.getIAm());
} catch (Exception e)
{
e.printStackTrace();
}
In this case I get
[list]java.lang.IllegalArgumentException: port out of range:-1[/list]
Can anybody explain?
Thanks for the response, but it sadly doesn't solves my problem. So what I want to do is a device which manages some other software-devices. The software-devices should be able to send messages themselves using another port than 0xBAC0, because this port is already used by the "main"-device. All incoming messages (also for the software-devices) are managed by the "main"-device (this works already fine with some modifications in the stack).
Hi,
I use BACnet4j and want to run more than one LocalDevice on one physical Device. I tried to set another Port (first Device 0xBAC0, second Device 0xBAC1 for example) but the IAm from the second Device goes wrong because it's sending to Port 0xBAC1 instead of 0xBAC0. So other physical devices don't get the message. My solution for this (so far) is to send the IAm from Device 2 with Device 1 ("device1.sendGlobalBroadcast(device2.getIAM())" but i'm not sure if this is confusing for other physical Devices. Is there a better solution?
Hi,
I use BACnet4j and want to run more than one LocalDevice on one physical Device. I tried to set another Port (first Device 0xBAC0, second Device 0xBAC1 for example) but the IAm from the second Device goes wrong because it's sending to Port 0xBAC1 instead of 0xBAC0. So other physical devices don't get the message. My solution for this (so far) is to send the IAm from Device 2 with Device 1 ("device1.sendGlobalBroadcast(device2.getIAM())" but i'm not sure if this is confusing for other physical Devices. Is there a better solution?
Hi,
my question is if BACnet4J supports BACnet/WS or if the stack provides some features to implement the BACnet Web Services.
Regards
Robert
Hi,
my question is if BACnet4J supports BACnet/WS or if the stack provides some features to implement the BACnet Web Services.
Regards
Robert
Hi everyone,
has anyone an idea where I can get the sourcecode from the seroUtils.jar? I'm working with a framework (OSGi) which can't handle this jar-file so I want to include the code.
Hi everyone,
has anyone an idea where I can get the sourcecode from the seroUtils.jar? I'm working with a framework (OSGi) which can't handle this jar-file so I want to include the code.