Commit Graph

710 Commits

Author SHA1 Message Date
skarg 9e8c2b0927 Added explicit datalink_cleanup to all demo applications.
Moved bip_cleanup() to port specific files.
This works better for bacnet-stack DLLs.
2012-02-10 22:12:15 +00:00
skarg 0f0c41d347 Added usleep for Tturnaround time before RS485 Transmit. Added tcdrain to wait for write to have written before returning. Thank you, Nikola Jelic! 2012-01-21 01:46:46 +00:00
petermcs 52ea59f446 Removed MS C specific gettimeofday function from mstpcap.c as there is one in the timer.c in the Win32 port.
Changed the conditional compilation in the Win32 timer.cto allow gettimeofday compile with MS C
2012-01-17 07:46:53 +00:00
skarg 3f761a53dc Added information about where to get the CMSIS and Standard Peripheral Driver library for STM32 project. 2012-01-16 16:46:43 +00:00
petermcs e0cf05f74a Added in 76800 baud rate as it works on Win 7 with the B&B Electronics USOPTL4 USB adaptor that I have, YMMV.
Added gettimeofday() function to allow me build with VS2008 C++ Express Edition
2012-01-14 12:28:44 +00:00
skarg 12d0d9f204 Created Rowley Crossworks AVR project for BDK port to ATmega644p. 2012-01-12 23:09:14 +00:00
skarg 79f5caf850 Corrected BACnet name in BDK port to clear end of string when new string is smaller than old string. 2012-01-11 22:18:56 +00:00
skarg 0fcd5132c2 Updated the example Visual Studio 10 project and solution files to build without errors. Thank you, Scott! 2012-01-09 23:29:11 +00:00
skarg ad74c6d4ac Corrected missing packet initialization in DLMSTP for several ports that may result in unusual REPLY-POSTPONED frames emitted for a DATA-EXPECTING-REPLY frame. 2011-12-29 03:37:38 +00:00
skarg fcf2c4a8ba Corrected BACnet Name in BDK port to use EEPROM instead of SEEPROM (it was overwritten by BO data). 2011-12-07 03:40:20 +00:00
skarg 0f54598505 Corrected bug in BACnet Name that prevented names longer than 6 characters from being written or read. Thanks for the bug report, Randall! 2011-12-03 16:02:29 +00:00
skarg 087584e85e Corrected baud rate setting for mstpcap demo utility. Thank you, Michael D! 2011-11-26 16:32:17 +00:00
skarg 35d8eba692 Enabled compile for GCC AVR 4.3.3 2011-11-17 03:05:06 +00:00
skarg 59059c4a97 Updated the makefile for ICE. 2011-11-17 03:04:19 +00:00
skarg 109bfed70d Updated makefile for mstpsnap. 2011-11-17 03:03:33 +00:00
skarg 81a3ec52e5 Updated file to correct compiler errors and warnings. 2011-11-17 03:02:51 +00:00
skarg 16ef8818ee Moved optional properties to optional section. 2011-11-02 21:45:11 +00:00
skarg 6eb2aef654 Fixed compiler error (copy/paste from last fix). 2011-10-28 14:15:10 +00:00
skarg 78fb95bb63 Created EPICS for BACnet Development Kit 2011-10-06 15:24:56 +00:00
skarg 3641e7b40c Updated some Device_Init functions. 2011-10-04 15:57:40 +00:00
skarg dd93e8cf1b Removed the object-table function macros from each demo object header file since it was very difficult to maintain when new functions are added. Added device-client.c file which is a small device object just for simple clients. Updated most Makefiles of client demo applications to utilize device-client.c file.
Added two device object table functions for COV support.
Corrected demo COV handler interaction with TSM, COV flags, and multiple subscriptions for the same object.
2011-10-03 18:54:14 +00:00
petermcs a25a7a238d Made code conditional to avoid error when building with MSVC++ 2011-09-20 19:11:41 +00:00
skarg 4ee99355cd Corrected GCC version check. 2011-09-12 21:27:13 +00:00
skarg afa68ab788 Made this similar to another device.c. 2011-09-09 04:51:03 +00:00
skarg 432145b766 Updated device.c files of ports stm32f10x and at91sam7s to fix some problems and make them more similar. 2011-09-09 04:47:46 +00:00
skarg 548beac851 Updated device files in some ports to be more similar and correct. 2011-09-09 04:31:31 +00:00
skarg 9f0dfeed1c Fixed Linux datalink call to Master Node FSM which was not doing immediate transitions, and could lose whole messages. Thank you, Nikola Jelic! 2011-09-02 14:35:16 +00:00
skarg 5f86e70352 Corrected linker error. 2011-08-31 16:47:01 +00:00
skarg 6a807dbf0d Updated demo port for BDK to use MAC as device ID until configured with WriteProperty. 2011-08-26 18:48:01 +00:00
skarg 58691c16d6 Changed the Treply_delay wait to be smaller when the next message in the queue is does not match. 2011-08-24 12:48:33 +00:00
skarg 26b5fdd3d0 Returned Tusage_delay to the MS/TP state machines to fix excessive Reply-Posponed messages when received packet is decoupled from immediate handling. Some BACnet routers do not handle Reply-Postponed correctly and drop the subsequent valid reply.
Added Slave Node FSM to linux/win32 MS/TP layer.
Added PDU queue to Linux MS/TP datalink layer.
2011-08-24 12:33:20 +00:00
skarg ed7ba53b08 Fixed compile errors for Borland compiler. 2011-08-23 21:05:34 +00:00
skarg 8b9c531b9f Fixed Line End characters. 2011-08-23 20:34:12 +00:00
skarg 45915f2d22 Fixed IAR compiler warnings. 2011-08-23 20:29:15 +00:00
skarg 6c89924df7 Converted all the BACnet-array-index variables from int32 to uint32 as they were intended. 2011-08-23 20:19:44 +00:00
skarg f19f2c29d9 Converted all the BACnet-array-index variables from int32 to uint32 as they were intended. 2011-08-23 20:11:42 +00:00
skarg e0b5b5b164 Corrected check for Device Name function. 2011-08-23 17:04:01 +00:00
tbrennan3 e7365ecaa5 Fixed up Device_Object_Name_Copy() for these ports. 2011-08-22 19:40:08 +00:00
skarg 2f008a9a2b No need for sched_yield in master_fsm_task due to select in getting the byte. No need for Timer_Mutex since only one task ever uses timer functions. Thank you, Nikola Jelic! 2011-08-19 18:05:45 +00:00
skarg 7f109b0abe Corrected compile errors. 2011-08-19 17:40:29 +00:00
skarg 0fe647a678 removed Reader_Mutex, IOMutex, rs485_read_task and placed select inside of getting characters call to reduce CPU usage. 2011-08-19 16:33:07 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg ef80e662b3 Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet. 2011-07-26 22:11:20 +00:00
skarg c14837ae73 Added Renesas RX62N port of Ethernet datalink from Renesas Rulz contest. 2011-07-26 04:23:09 +00:00
skarg 3c9c235d28 Using timeGetTime to get the elapsed milliseconds after a baseline GetSystemTimeAsFileTime to emulate the Unix gettimeofday function at millisecond resolution on Windows. 2011-07-25 22:12:28 +00:00
skarg 059a9e8471 Fixed compile error in module. 2011-07-25 03:27:26 +00:00
skarg aac4bb5dd4 Changed gettimeofday unix function for win32 to use a higher resolution timer. 2011-07-25 02:47:25 +00:00
skarg c1d7633a8d Attempting to get better timestamp resolution on Win32. Added some functional tests for determining accuracy. The existing gettimeofday emulations only give 15ms to 16ms of resolution, so that needs fixed. 2011-07-22 22:36:12 +00:00
skarg ff393a665a Fixing DOS/Unix/MAC EOL and line endings using fixup.sh script. 2011-07-09 17:25:42 +00:00
skarg b863996349 Added yield to lower CPU usage when no characters are arriving. 2011-05-10 22:00:32 +00:00