Commit Graph

97 Commits

Author SHA1 Message Date
skarg 476a347da7 Updated pic18f6720 project on Windows. 2012-09-14 20:35:57 +00:00
skarg eb636a7810 fixed case sensative file names to allow this project to compile on Linux 2012-09-14 18:47:59 +00:00
skarg 8f88d5d45d Updated pic18f6720 port project to compile with MPLAB X and MCC18 v3.43 LITE. 2012-09-13 20:27:38 +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
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 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 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 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 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 3e1cb1847f Indented project. 2011-08-17 02:27:11 +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 2a0bf4926a Performed standard indent script indent.sh on project files. 2010-12-15 19:02:40 +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 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 9569f2c536 Fixed EOL and performed standard indentation. 2010-09-16 22:00:47 +00:00
skarg 7832ba11db Changed Object List in various ports to return Segementation Not Supported abort when it is too large to return in a single APDU. 2010-09-11 13:38:16 +00:00
skarg b769dcbe1d Indented. 2010-08-18 00:11:35 +00:00
skarg 6c9ef7211d Fixed indent script, and indented files. 2010-07-19 23:19:54 +00:00
skarg 0b5efa5be5 Changed -L=lib to -Llib in all GNU Make makefiles since it was wrong and causing problems on cross compilers. Thank you, Magno! 2010-07-14 12:55:37 +00:00
skarg 8a96963e8b Removed deprecated property. 2010-06-26 03:53:17 +00:00
skarg 710cfccfef Indented using indent script. 2010-05-04 21:06:26 +00:00
skarg f5bc326061 Merged duplicate and different BACnet Renitialized Device State enumerations. 2010-02-18 17:25:58 +00:00
skarg edc7c6c577 Added test for array options on RP and RPM to all object properties that are not arrays. 2009-11-05 15:39:46 +00:00
skarg c04e69da8c Fixed EOL, indent. 2009-10-24 17:02:59 +00:00
skarg 69fad0502a Changed MS/TP idle state: when no-token timeout occurs, clear the receive frame flags in case a message was received and timeout occurred, which may cause MS/TP to stop working in optimized dlmstp loops which don't check for new events when either of those flags are set. Thank you, Jason! 2009-09-17 03:38:20 +00:00
skarg c304b8b330 Added a parameter to Device_Encode_Property_APDU so that it matched all the ther objects, which required all the demo and ports to modify their device and h_rp files. 2009-08-23 03:48:27 +00:00
skarg 4b422d6c1c Changed modulo and division operations on 256 to bit shift using include/bytes.h macro to improve code size on architectures that don't do division natively. 2009-08-20 14:38:25 +00:00
skarg d9fea88227 Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations! 2009-07-17 15:41:37 +00:00
skarg e70dd3c7ba Added more objects to BDK port, and connected AI to ADC7, and BI0..BI4 to PINB0..PINB4. Fixed up some other objects and object API (header files). 2009-06-18 03:58:54 +00:00
skarg 0c4edb33d9 Fixed up file indent, comments, and eol-type. 2009-05-13 03:46:02 +00:00
skarg b194e2cd70 SourceForge.net bug ID: 2785704. Added case in demo device object to return the Location property. Corrected comment and value of UTC Offset. Thank you piotrek ( bacpack )! 2009-05-03 11:55:50 +00:00
skarg b85c4355d0 Indented according to standard indent rules for this project. 2009-04-18 20:50:04 +00:00
skarg 75bd715bd4 corrected possible overflow in dlmstp.c for PIC and RTOS-32. Thank you Martin! 2009-03-06 11:04:51 +00:00
skarg 93826be9e5 Fixed MS/TP state MSTP_MASTER_STATE_WAIT_FOR_REPLY in ports/pic18f6720/mstp.c that prevented receiving the responses of your command to the peer. Thank you, Sungjune Lee! 2009-01-22 05:19:14 +00:00
skarg bb39b745f3 Corrected compiler warning. 2008-12-05 21:50:14 +00:00
skarg 980f0145be Fixed line endings, and set EOL properties. 2008-12-05 21:26:24 +00:00
skarg 16ce2b615f updated (apparently). 2008-12-01 15:27:08 +00:00
skarg 0b490d5440 Updated the PIC port for MS/TP. Tested on my hardware. 2008-11-30 04:39:53 +00:00
skarg 1ad2da7895 Corrected compile errors in PIC port for MS/TP. Untested. 2008-11-28 22:05:46 +00:00
skarg 63f3f77552 Modified the PIC port MS/TP RS-485 handling to use an interrupt safe FIFO library (untested). 2008-11-28 13:37:42 +00:00
skarg cee436eb45 Cleaned up PIC18F6720 project to enable mostly clean compile and build with latest MPLab (8.x) and MCC18 compiler (3.x). 2008-11-26 13:57:38 +00:00
skarg c7a5c05ac7 Moved send I-Am to a send module and out of iam.c. 2008-11-12 15:38:43 +00:00
skarg 3a0f109d66 Added h_npdu to demo lib and example projects. 2008-09-07 04:23:44 +00:00
skarg 0ffbb64c13 Indented with standard indent rules. 2008-08-23 12:38:26 +00:00
skarg 9c316a65dc Moved APDU Timeout and Retries to apdu module. 2008-08-17 02:12:58 +00:00
skarg eb7196668c Corrected the MS/TP TEST REQUEST state such that it now returns the data from the request per BACnet 9.3.5 which says "The data, if present, shall be that which was present in the initiating Test_Request." Thank you to Martin Labbe! 2008-03-09 13:52:48 +00:00
skarg d1ad21a4cc updated max header based on the 8 bytes that are used by MS/TP. 2007-12-27 02:55:00 +00:00