skarg
eabe6dee96
Converted SilenceTimer on MS/TP datalink to be a function so that it can be atomic on 8-bit microcontrollers.
2007-08-19 12:30:51 +00:00
skarg
53f2fc3f35
Updated the unit test make files. Fixed the init sections of MS/TP monitor (rx_fsm) modules. Corrected the rx_fsm code to check the correct return value of the read. Fixed the return value of the RS485 prototypes.
2007-08-18 16:14:06 +00:00
skarg
f2e0bbe834
Fixed makefile for atmega168.
2007-08-15 22:41:53 +00:00
skarg
722b183f98
Updated handling of port without IP address.
2007-08-11 17:16:22 +00:00
skarg
910acca133
Updated to allow command line passed device interface.
2007-08-08 23:11:28 +00:00
skarg
519e9fd31b
Converted comments from c++ to c.
2007-07-26 14:25:25 +00:00
skarg
ec3d065755
Updated bacint into Linux makefiles.
2007-07-26 00:43:42 +00:00
skarg
038f719a44
Corrected rx_fsm MS/TP monitor demo.
2007-07-24 23:15:23 +00:00
skarg
382766d7c4
Modified the API between mstp and dlmstp to better handler multiple MS/TP ports.
2007-07-16 14:19:49 +00:00
skarg
d9e1af4b2e
Added buffers for MSTP port structure.
2007-07-14 01:07:48 +00:00
skarg
39ef0b2af8
Fixing the linux port to use the common MS/TP state machine files.
2007-07-14 01:03:29 +00:00
skarg
e53f38dd40
Changed the MSTP_MASTER_STATE_ANSWER_DATA_REQUEST state to always send a REPLY_POSTPONED by
...
commenting out the section that checks for new packets to send. It was not the intent of the BACnet standard, but it makes the Master Node FSM compliant. It's either that or re-parse the message for a matching apdu and invoke id, and then defer if the next message does not match. The problem happens when an unconfirmed request (i.e. WhoIs) is followed immediated by a confirmed request (i.e. ReadProperty) before the device can respond to the unconfirmed request (i.e. the I-Am is queued in the Transmit buffer).
2007-07-14 00:09:16 +00:00
skarg
3d54a5cd50
Corrected compiler warning.
2007-07-03 05:18:36 +00:00
skarg
3869b55fea
Updating Win32 MSTP datalink layer. Testing.
2007-07-03 00:44:48 +00:00
skarg
e839aad46c
Updated MS/TP Lurker program that monitors packets using the USB->RS485 adapter.
2007-07-02 22:07:48 +00:00
skarg
c1be9b7adf
Compiled MS/TP for server demo using sockets. Doesn't seem to keep up with token passing. Still investigating.
2007-07-02 16:47:16 +00:00
skarg
5435d46621
Rewriting the dlmstp for Linux to use sockets. In progress, not compiling.
2007-07-02 14:41:59 +00:00
skarg
63300e86bd
MSTP on Linux appears to be function for the server demo, but dlmstp needs to be rewritten to use posix queues or sockets, and multiple threads for the state machines.
2007-07-01 01:23:12 +00:00
skarg
758b32de29
Modified the server to work with MSTP datalink. Still in progress.
2007-06-30 23:36:54 +00:00
skarg
0e3c2e01af
Updated dlmstp to be consistent with other datalink layers.
2007-06-30 23:11:58 +00:00
skarg
ade401f44b
Modified the MS/TP datalink on Linux to be able to run correctly as a datalink layer when built with the demos.
2007-06-30 22:47:23 +00:00
skarg
3ceed4535e
Corrected the RS485 initialization for MS/TP on Linux. Added args to functional unit tests.
2007-06-30 22:30:13 +00:00
skarg
1824d4a95e
Testing the MS/TP datalink layer on Linux.
2007-06-29 22:46:19 +00:00
skarg
d0ea78178a
Tested MS/TP using alternate CRC table method.
2007-06-29 21:45:07 +00:00
skarg
0543daa828
comparing CRC with table driven CRC.
2007-06-29 21:39:24 +00:00
skarg
250cc92e00
Added MS/TP to Linux using the USB->RS485 from SerialGear. Tested Receive only using the rx_fsm.c and rx_fsm.mak functional test. Works as an MS/TP network monitor.
2007-06-29 21:22:46 +00:00
skarg
9069c939da
Fixing indent oops which removed the contents of all these files.
2007-06-14 05:33:15 +00:00
skarg
ea4863ca25
Indented.
2007-06-14 05:14:26 +00:00
skarg
5084d3f50d
Consolidated the debug print information for the linux server demo.
2007-06-01 17:48:34 +00:00
skarg
f618f21715
Corrected default ethernet interface for Linux port.
2007-06-01 16:15:00 +00:00
skarg
57af6b6551
fixed the default interface for Linux to be eth0.
2007-05-30 21:48:12 +00:00
skarg
8026dc003b
Combined the interface set into the datalink_init for all the datalink layers. Changed all the demo programs to use datalink_init instead of specific datalink functions.
2007-05-25 01:08:42 +00:00
skarg
8139ea6fa1
Fixed the BACnet/IP broadcast messages to send as BVLC_ORIGINAL_BROADCAST_NPDU. Corrected comments about Broadcasts.
2007-05-22 00:17:39 +00:00
skarg
5dd8c6da91
Converted to standard indent style.
2006-10-07 14:13:34 +00:00
skarg
337bc5ab4e
Corrected the NPDU encoding for the demo handlers.
2006-09-23 22:02:04 +00:00
skarg
07a1077b2d
correcting the npdu encoding for handlers.
2006-09-22 21:16:20 +00:00
skarg
3d0abf778a
indented
2006-08-29 10:48:04 +00:00
skarg
05abf5be23
included ethernet and arcnet in demo for readprop and server on Linux. Corrected the ethernet length. Corrected warnings in s_rp and s_whois.
2006-08-13 16:53:15 +00:00
skarg
3560e3d06f
updated the linux data link layers for changed apdu that passes npdu.
2006-08-13 11:19:42 +00:00
skarg
b686fa7ca7
changed c++ comments to c comments using comment.sh script.
2006-02-19 01:33:30 +00:00
skarg
d6a891f0d1
running the indent on the files.
2006-02-18 23:11:25 +00:00
skarg
7f2adf1c57
added DEBUG_BIP define to keep debug out of demos.
2006-02-09 23:58:43 +00:00
skarg
0ea1bf30bf
refactored handlers.c into a bunch of little individual files in the demo/handler/ directory. Handlers begin with h_, and Send files begin with s_. The Send files are prototyped in client.h.
2006-01-14 23:48:03 +00:00
skarg
2dd16e5be2
corrected unit tests for character set encodings.
2006-01-05 19:54:52 +00:00
skarg
1cc71f8d14
changed the modules to use the new BACNet string types.
...
Modified the device object to handle having the string properties changed via WriteProperty service.
Updated the unit tests.
Updated the demo objects.
2005-12-23 17:39:36 +00:00
skarg
1f34710f24
Changed the APDU handler to handle freeing the transactions even when there is a custom handler being used.
2005-12-17 22:37:16 +00:00
skarg
caf018f072
updated the read property demo.
2005-12-07 19:55:39 +00:00
skarg
ca72bf7f9f
modified the BACnet/IP init code for the win32 platform to make it work on my system. It seems that something else is intercepting the packets when the bind was set to INADDR_ANY, so I just bind to the host default adapter.
2005-12-07 17:01:26 +00:00
skarg
cc5c1bba47
Added comments to the read property demo.
2005-11-13 12:55:12 +00:00
skarg
491a0c34cd
Refactored error message for RPM to use.
2005-11-13 00:38:27 +00:00