skarg
4612e503d1
Unfactored the device object read-property common since it made error handling more difficult, and also required an additional characterstring when optional characterstrings were needed in the objects.
2012-08-16 18:53:52 +00:00
skarg
288a47edea
Added checks for DeviceCommunicationControl that were in src/apdu.c but are missing from this port. Thanks, Vu!
2012-08-14 16:27:50 +00:00
netp
a7243993ac
Updated & additional Visual Studio 2010 Projects
2012-08-08 01:09:20 +00:00
skarg
609234a3bf
Fixed compiler warning.
2012-07-11 19:14:06 +00:00
skarg
b6b852ef08
Removed wildcard match for Device Instance since it is only done for ReadProperty and ReadPropertyMultiple services, and the match is done by substitution in those service handlers.
2012-07-09 21:52:19 +00:00
skarg
7578b4ef06
Added check in each example object WriteProperty handler to pass test:
...
9.22.2.1 Writing Non-Array Properties with an Array Index
Thank you Kamalathas!
2012-07-09 19:49:27 +00:00
skarg
f12db96ab3
Changed prefix for ARM compiler when using later Yagarto tools.
2012-06-01 16:39:59 +00:00
skarg
c6e954b39d
Fixed compiler warning due to duplicate macro.
2012-06-01 16:39:21 +00:00
skarg
2455774afd
changed characterstring and octetstring default capacity in microcontroller ports to be 64 bytes to prevent C-Stack overflow.
2012-05-27 02:14:21 +00:00
skarg
a51298876f
changed public function from static in Linux port of BACnet/IP.
2012-05-22 19:29:00 +00:00
skarg
5111b9fb4e
Modified code to clean up some compiler warnings.
2012-05-18 23:34:45 +00:00
skarg
48e2c60ce2
indented to standard from script
2012-05-13 15:07:12 +00:00
skarg
e9098c2cfa
Added Database_Revision property to PIC port.
2012-05-11 15:04:51 +00:00
skarg
54c4ce342c
Exposed utf8_valid as a public function to reduce duplicity. Allow utf-8 string length of 0 to be valid.
2012-05-11 15:03:35 +00:00
skarg
35e953ba8b
Changed bacnet name duplicate check to allow to rewrite with the same name to the same object without duplicate name error.
2012-05-05 03:28:34 +00:00
petermcs
44055ff37f
I had a weird timing glitch when running mstpcap which I think was caused by a truncation error in timer.c so I've made some slight changes to try stop it happening again.
2012-04-30 08:31:41 +00:00
skarg
972afaa974
Updated AVR port projects to build with IAR and AVR Studio.
2012-04-25 19:05:59 +00:00
skarg
e65ec668e5
Corrected BDK port compile errors due to missing defines.
2012-04-21 11:47:13 +00:00
skarg
95c3ffd20b
Converted note references in comments to text from http://www.nongnu.org/avr-libc/user-manual/group__twi__demo.html website.
2012-04-20 20:08:24 +00:00
skarg
600626c21a
Fix comment in Makefile.
2012-04-18 16:36:49 +00:00
skarg
f6096f6a4d
Unified the licenses on header files since we don't have any inline functions or macros with substantial bodies. Per RMS: "Our view is that just using structure definitions, typedefs, enumeration constants, macros with simple bodies, etc., is NOT enough to make a derivative work. It would take a substantial amount of code (coming from inline functions or macros with substantial bodies) to do that."
2012-04-18 16:15:59 +00:00
skarg
9e96fdb62e
Updated PIC port MS/TP to not always Reply-Postponed frame when sent Data-Expecting-Reply frame.
2012-04-17 22:02:34 +00:00
skarg
fcb01f353e
Added comments. Moved MS/TP properties into optional. Initialized character string. Added database-revision link to device object id change. Removed malignant code.
2012-04-16 14:47:49 +00:00
skarg
b80039cf9b
aligned max-info-frames with PDU queue
2012-04-16 14:44:34 +00:00
skarg
d1f4e78cba
fixed svn EOL and MIME settings.
2012-04-06 23:24:43 +00:00
skarg
6b544c0ec4
Changed service error ERROR_CODE_UNSUPPORTED_OBJECT_TYPE to ERROR_CODE_UNKNOWN_OBJECT to since ERROR_CODE_UNSUPPORTED_OBJECT_TYPE seems to only be acceptable to return from CreateObject service.
2012-03-16 20:09:20 +00:00
skarg
2a51a1db7c
Added MS/TP tweak to improve byte reception and processing at higher baud rates and larger packet sizes. Thank you Peter Mc Shane!
2012-03-12 21:26:53 +00:00
skarg
fdf387ed1d
Changed MS/TP receive to read more bytes from UART queue if they are available during each cycle. This fixes high baud rate issues on slower processors if the main loop cycle time is not fast enough.
2012-03-10 20:18:14 +00:00
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