Thanks Thomas for compliments.
Latest posts made by dinesh4761
-
RE: How to send response to ReadPropertyRequest
-
How to add COV (Change of Value) functionality
Hi,
Greetings!
I am creating BACnet slave device using BACnet4J.
For doing so I used Slave Device Test Program.
It is currently supporting Read Property Request.Now, I want to add COV (Change Of Value) to be functional.
Is there need of any additional code or just need to enable this functionality
and How should I do it?Regards,
Dinesh
-
RE: How to add COV (Change of Value) functionality
Hi,
Greetings!
I am creating BACnet slave device using BACnet4J.
For doing so I used Slave Device Test Program.
It is currently supporting Read Property Request.Now, I want to add COV (Change Of Value) to be functional.
Is there need of any additional code or just need to enable this functionality
and How should I do it?Regards,
Dinesh
-
RE: How to send response to ReadPropertyRequest
Hi,
Greetings!
I got the answer and I am too much happy about it.
Because, I just run Slave device test program and then
send the "ReadPropertyRequest" from the another PC using
VTS. And then monitored acctivities going on in Wireshark.I found the reply as ComplexAck by Slave device test program.
Thank you so much serotonin for developing such genius API.
But, now I am moving ahead.
That is I am implementing COV (Change of Value) functionality.So I want some help on the same.
If anybody is knowing the same please let me know.Regards,
Dinesh
-
RE: How to send response to ReadPropertyRequest
Hi,
I got following.
ReadPropertyRequest rprr = new ReadPropertyRequest(localDevice.getNextInstanceObjectIdentifier(ObjectType.analogInput), PropertyIdentifier.presentValue, null); ReadPropertyAck unRS = new ReadPropertyAck(localDevice.getNextInstanceObjectIdentifier(ObjectType.analogInput), PropertyIdentifier.presentValue, null, rprr); InetSocketAddress addr = new InetSocketAddress(InetAddress.getByName("192.168.0.255"), 47808); ComplexACK ack = new ComplexACK(true, true, by, by, by, unRS);
Is it correct?
If yes then how to send this Complex Request Ack?
Please reply,
Thanks in advance.
-
RE: How to send response to ReadPropertyRequest
Hi,
I think it should be "ReadPropertyAck". Because, from VTS I sent this request then I found following in Wireshark.
No. Time Source Destination Protocol Length Info
1435 498.012518 192.168.0.103 192.168.0.1 BACnet-APDU 67 Complex-ACK readProperty[ 1] analog-input,0 present-valueFrame 1435: 67 bytes on wire (536 bits), 67 bytes captured (536 bits)
Ethernet II, Src: CompalIn_b2:45:7e (00:26:22:b2:45:7e), Dst: Teracom_6b:4d:e0 (00:26:15:6b:4d:e0)
Internet Protocol Version 4, Src: 192.168.0.103 (192.168.0.103), Dst: 192.168.0.1 (192.168.0.1)
User Datagram Protocol, Src Port: bacnet (47808), Dst Port: bacnet (47808)
BACnet Virtual Link Control
Building Automation and Control Network NPDU
Building Automation and Control Network APDU
0011 .... = APDU Type: Complex-ACK (3)
.... 0000 = PDU Flags: 0x00
Invoke ID: 1
Service Choice: readProperty (12)
ObjectIdentifier: analog-input, 0
Property Identifier: present-value (85)
property Array Index (Unsigned) 1
{[3]
present-value: 23.000000 (Real)
}[3]And it is quite similar as mentioned in one of the PDF of BACnet Standard which I found on Internet.
But still I don't know how to send "ReadPropertyAck".
If someone is knowing please help me.Thanks.
-
How to send response to ReadPropertyRequest
Hi,
First of all thanks for BACnet4J. Nice BACnet Stack.
I am developing code which simulates some BACnet device and I need to
send reply to "[size=18]ReadPropertyReqest[/size]".
Wherein Present Value of BACnet object mentioned.Does anyone know about it? If yes please help me.
Regards,
Dinesh
-
RE: How to send response to ReadPropertyRequest
Hi,
First of all thanks for BACnet4J. Nice BACnet Stack.
I am developing code which simulates some BACnet device and I need to
send reply to "[size=18]ReadPropertyReqest[/size]".
Wherein Present Value of BACnet object mentioned.Does anyone know about it? If yes please help me.
Regards,
Dinesh
-
Need Help on BACnet
Hi All,
Greetings!
I am new to BACnet4j. But still I am trying to work on BACnet4j.
In one of my case I have to send data to like Temperature to some other BACnet enabled Software.
Where as the data is present in MySql Database. I have to convert it to BACnet.Please, tell me what steps should i follow?
If you gives me some sort coding examples, it will be better for me.Regards,
-
RE: Need Help on BACnet
Hi All,
Greetings!
I am new to BACnet4j. But still I am trying to work on BACnet4j.
In one of my case I have to send data to like Temperature to some other BACnet enabled Software.
Where as the data is present in MySql Database. I have to convert it to BACnet.Please, tell me what steps should i follow?
If you gives me some sort coding examples, it will be better for me.Regards,