Save
Saving
  • W Wojciech Czernoch

    I send SubscribeCOVPropertyRequest with VTS program. In BACnet4J I see this request in

    localDevice.getEventHandler().addListener(new DeviceEventListener()
    

    requestReceived (not in covNotificationReceived). VTS program returns information about the error as if BACnet4J was unable to handle this query. I do not know how to activate the option of sending values ​​to the device that requested it.

    Filters queries to get subscriptions only from another device

    if (service.getChoiceId() == 28)
    

    I don't really see the possibility of extracting information about a point that is to send a value to a device in a net, where this information might be?

    How to accept subscriptions of another device?

    posted in BACnet4J general discussion read more
  • W Wojciech Czernoch

    I have program running about 2 weeks, im using BACnet4J as a gateway to PIV object (mapping PIV to MV) and i haven't problem, every think was ok. But on few days I have problem because the remote device list in DEV object is empty and my MV don't change PIV value, when I manually restart te program, remote device is visible in DEV object in remote device list. I adding remote device like this:

                localDevice.initialize();
                localDevice.sendGlobalBroadcast(localDevice.getIAm());
                localDevice.sendGlobalBroadcast(new WhoIsRequest());
    
    
                localDevice.getRemoteDeviceBlocking(200);
    
                List<RemoteDevice> remoteDevices = localDevice.getRemoteDevices();
    
                for (RemoteDevice device : remoteDevices) {
    
                   //some code
                 
                }
    

    200 is instance of remote device

    I adding this after I initialising local device (in the same try/catch) Whats going on? Any ideas?

    posted in BACnet4J general discussion read more