Commit Graph

162 Commits

Author SHA1 Message Date
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 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 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 78fb95bb63 Created EPICS for BACnet Development Kit 2011-10-06 15:24:56 +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 548beac851 Updated device files in some ports to be more similar and correct. 2011-09-09 04:31:31 +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 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 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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +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 879d49f401 Fixed Binary Input example of BDK port. 2011-04-27 00:36:49 +00:00
skarg 68273edcb9 Fixed spelling error in comment. 2011-04-25 04:23:09 +00:00
skarg ac7d360712 Added optional array detection for common properties. 2011-04-25 04:21:51 +00:00
skarg fb70f5d77a Updated IAR project. 2011-04-11 14:36:35 +00:00
skarg deab12a5e1 Changed WhoHas and I-Have to use CharacterString instead of forcing ANSI X34 and C Strings. Affected all demos and ports object name, so I changed the object name function name to make sure it was noticed. 2011-03-24 16:53:02 +00:00
skarg 6949415d5d Updated IAR project file to latest version of EWAVR. 2011-03-01 23:09:37 +00:00
skarg db95a8d1dc Added test in MS/TP datalink for MAC Address in the Master Node range (0-127). 2011-03-01 23:06:24 +00:00
skarg 87f01dce22 Fixed EOL for subversion. 2011-02-25 15:59:40 +00:00
skarg 6b83f182a7 Added blocking ADC driver for AVR to complement the non-blocking driver. 2011-01-26 16:28:23 +00:00
skarg db686a4984 Corrected ReadPropertyAck unit test found on Big Endian architecture. Thank you,Sergei! 2010-12-23 15:11:23 +00:00
skarg 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +00:00
skarg fc9be7814e Updated IAR project files for BDK port on AVR. Added main loop I/O toggle to monitor timing. 2010-12-11 21:40:13 +00:00
skarg 4ef20d370a Fixed watchdog timer initialization value. 2010-12-11 21:38:52 +00:00
skarg 75249e0330 Added byte sized timer that can be used inside an 8-bit microcontroller ISR for up to 255mS of elapsed timing. 2010-12-10 23:16:02 +00:00
skarg f5829ea483 Added interrupt disable protection, and enable interrupts early in the ISR. 2010-12-10 23:14:43 +00:00
skarg 794e2ea9d4 Changed timers on AVR to only disable the timer interrupt, not global interrupts. 2010-12-10 23:13:50 +00:00
skarg 68a2f83638 Changed object functions to use a local name and smaller structure so it wouldn't name collide with the one defined in device.h. 2010-12-10 23:12:13 +00:00
skarg 0953c8ada6 Per the datasheet, "Beware that if doing a Read-Modify-Write on ADCSRA, a pending interrupt can be disabled." I don't know a good way to do this, but using ADIE seems to not be reliable. 2010-10-22 17:12:30 +00:00
skarg 3b49fb0271 Change global interrupt disable to timer specific interrupt disable for data protection. Added interrupt disabled around ADC API. 2010-10-22 00:11:25 +00:00
skarg df5197b89c added comments 2010-10-19 13:22:32 +00:00
skarg 57781b40cb Changed Tturnaround time in MS/TP modules to be a minimum of 2ms, or use a dummy transmit of 4 bytes while the transceiver is disabled. 1ms delay will always give smaller than 1ms of delay due to silence timer tick. 2010-10-18 20:42:26 +00:00
skarg e9249b5b5e Added test for a decoding problem where the stack is unable to decode something, and retrofitted into WriteProperty for each of the demo objects by returning an Error, Out of Range. 2010-10-12 01:17:50 +00:00
skarg 8d2560225d Updated builds for ports/atmega168 (IAR) and for ports/bdk-atxx4-mstp (AVR Studio) 2010-10-07 15:56:35 +00:00
skarg b54218939e Added extra sub-state for MS/TP from Addendum 135-2008v. Tested with ports/bdk-atxx4-mstp/ code on the BACnet Development Kit. Clean compile on src/mstp.c, ports/at91sam7s and ports/atmega168, but untested. All other changes were not compiled or tested. 2010-10-07 15:52:45 +00:00
skarg 8165d5bb09 Corrected clock frequency to 18.432MHz to correct baud rate at 115200. 2010-10-04 23:26:25 +00:00
skarg d5822ac53a Add clear of MCU status registers at initialization. 2010-09-24 19:38:32 +00:00
skarg 6dd635cdee Added clearing of MCUSR per GCC-AVR FAQ. 2010-09-23 22:35:45 +00:00
skarg 0e59eeee32 Converted project to not use external makefile for debugging. 2010-09-23 14:27:21 +00:00
skarg 0a9728ae54 Increased CStack size, and reduced APDU size since CStack was getting exceeded. 2010-09-23 14:26:11 +00:00
skarg d84243914b Added ifndef to allow overriding of default defines. 2010-09-23 14:25:23 +00:00