Commit Graph

651 Commits

Author SHA1 Message Date
petermcs 6a693d1fb8 Added MSTPCAP and EPICS to VS2008 build.
Added net.h to timer.c includes.
2011-04-02 10:01:46 +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 b0acccb580 Added an MS/TP port for the stm32f10x that I did for the STM32 Design Challenge. I didn't add the CMSIS or stm32f10x peripheral driver library, which are available for download from st.com website. I used the IAR EWARM 6.10 compiler. 2011-03-22 20:56:27 +00:00
skarg e095715cec Moved include files for demo objects into demo/object, and updated makefiles to accommodate the move. This allows developers to create and maintain their own objects and the interfaces to them. 2011-03-22 20:53:13 +00:00
skarg 1baab58598 Removed LED control from FIQ handler in assembler file. 2011-03-13 02:26:28 +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 00050f70ed removed C++ comments. 2011-02-25 15:25:13 +00:00
rhoeye ab62b37814 Add build folders and files (projects and solution) for MS Visual Studio 2005 to ports/win32. 2011-01-27 16:41:11 +00:00
rhoeye 4591c00feb Added static Object_Table[], moved device_init() from main to Init_Service_Handlers() and added call to Device_Initialize_Object_Functions(). Modeled after revision 1890 of demo/server/main.c. 2011-01-26 20:32:06 +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 3f22c7e5ff Increased the default values for Tusage_timeout and Treply_timeout for testing on Linux. 2011-01-18 19:45:52 +00:00
skarg d6e74ba51b Fixed compiler warnings when compiled MS/TP datalink on Linux. 2011-01-14 15:34:28 +00:00
skarg 624de45fc8 Cleaned up compiler warnings when compiled with Win32 MS/TP datalink. 2011-01-14 15:23:03 +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
petermcs d1db062db8 Updated project files so release build works 2010-12-11 15:30:18 +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
petermcs dbb8997b4d Added routing support for virtual network to more of the handlers and fixed up a couple of typos from the previous changes.
Added ReadRange service handler so that trendlogs can be read.
2010-11-18 21:29:11 +00:00
petermcs f0fc277650 Added gateway demo project 2010-11-17 23:09:29 +00:00
bacpack a639864cc8 In bip.c getter and setter functions of IP address and Port number expect and return values in the network byte order. All ntoh and hton were eliminated from bip.c.
All other modules changed to be consistent.
arm7 port left unchanged.
2010-11-04 13:30:26 +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 6826688777 Fixed merge problem. 2010-09-24 19:37:43 +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
skarg 8098100483 removed timeout code 2010-09-23 00:52:41 +00:00
skarg 6cb6200f39 Reverted seeprom timeout for now. Lowered APDU size in Makefile. Changed stack based text to static buffer. 2010-09-23 00:34:26 +00:00
skarg 80c27fd0b5 Added timeout to SEEPROM wait for transmit. 2010-09-22 18:33:18 +00:00
skarg 430f068305 Updated makefile for v2 hardware. 2010-09-22 18:32:53 +00:00
skarg ea3e9db07d Fixed compiler warnings. 2010-09-22 18:31:57 +00:00
skarg 4f464820eb Added baud rate set/view to serial terminal. 2010-09-22 18:31:24 +00:00
skarg b1c9870989 Refactoring some BDK code. Updating Skip Data state for AT91 port. 2010-09-22 01:13:42 +00:00
skarg 64c28c32ad corrected MS/TP new Skip Data states 2010-09-22 01:12:14 +00:00
skarg 2fc159cea2 Changed ADC reading to be 10-bit. 2010-09-21 19:50:43 +00:00