270ee2aec2
Added new method for getting index from text for units.
skarg
2009-09-03 15:23:26 +00:00
260438935b
Changes to remove restrictions on context tags being less than or equal to 14.
minack
2009-09-03 01:25:28 +00:00
2febfbbe56
Updated BDK device object to have minimum length. Updated other BDK objects to use sprintf since it was already in use in another object.
skarg
2009-08-30 21:05:15 +00:00
bb6bf6dc5b
added optional API for BO.
skarg
2009-08-30 21:03:14 +00:00
ff09e42443
Added optional API for objects.
skarg
2009-08-30 03:19:39 +00:00
2ee60ea8b3
Enhanced the object API with optional functions.
skarg
2009-08-29 20:26:32 +00:00
8934371821
Added function declarations for functions inside (stricmp) and added object name reverse lookup.
skarg
2009-08-25 04:11:29 +00:00
3de2b92216
Changed device object to conform to other objects RP/RPM/WP service API. Added MSI object.
skarg
2009-08-24 13:38:53 +00:00
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.
skarg
2009-08-23 03:48:27 +00:00
967b86721f
Updated some old demos for the new RP handling.
skarg
2009-08-23 03:36:11 +00:00
a28760bf56
Added init functions to object header files. Finished refactoring the demo read and write property handlers to use function tables.
skarg
2009-08-23 03:26:30 +00:00
3dc3da5735
Changing handlers to register objects so that handlers can remain unchanged. In Progress!
skarg
2009-08-22 19:27:18 +00:00
f3bc8a5baf
Cleaned up compiler errors generated on Linux.
skarg
2009-08-21 20:22:19 +00:00
1c5a011d52
Changed filename to name expected in Makefile.
skarg
2009-08-21 19:28:55 +00:00
f6fd5da66b
Changed case sensitive filename.
skarg
2009-08-21 19:25:12 +00:00
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.
skarg
2009-08-20 14:38:25 +00:00
e513ffa412
Added info about Watchdog Timer.
skarg
2009-08-19 20:45:09 +00:00
2417a843d2
updated comment in init.
skarg
2009-08-19 20:29:23 +00:00
fae41b3524
Use shifts and masking to place the length in the MSTP header. Add comments for the length and for the CRC16 to make the byte order clear.
kingdl802
2009-08-19 14:17:23 +00:00
17b532c339
Created PICS for BACnet Development Kit sample code.
skarg
2009-08-15 02:39:02 +00:00
4b09a4ed3a
Updated after some consistency checking.
skarg
2009-08-15 02:35:24 +00:00
b35bc4967f
Modified for optional fuse settings.
skarg
2009-08-15 01:56:02 +00:00
d7861f058e
updated text for readme.
skarg
2009-08-14 15:15:32 +00:00
62e58fce27
Updated fuses for BDK.
skarg
2009-08-12 17:43:12 +00:00
b8efa8deb5
Updated BACnet Development Kit fuses to use Crystal Oscillator for Fuse Bits.
skarg
2009-08-12 15:46:58 +00:00
49d6b46ac6
Updated for latest files and removed some paths in project file.
skarg
2009-08-12 14:14:37 +00:00
e3bcce50ce
Added expected max values to mstpcap statistics information.
skarg
2009-08-12 01:26:18 +00:00
a854000370
Clean up comments for bac_str init functions.
minack
2009-08-10 23:02:31 +00:00
a944510441
Fixed up bug with encode_application_double function. Added new bacapp_decode_application_data_safe function and other *_safe functions that aim to prevent buffer overruns if encoded application message is malformed. Note: bacstr unit tests currently have one failure.
minack
2009-08-10 00:06:56 +00:00
d088e19ed2
Added bitstring_same function to compare two bit strings.
minack
2009-08-09 23:37:46 +00:00
1a2241a0eb
Added ifndef to config.h latest changes to allow makefile configurations.
skarg
2009-08-07 14:11:39 +00:00
d5b455c742
Move the string type max length definition into the config header so that the user can set them independently of MAX_APDU. Also, added new define MAX_OCTET_STRING_BYTES.
minack
2009-08-06 07:11:31 +00:00
a907edbfca
Created PICS for demo server.
skarg
2009-08-04 17:46:40 +00:00
976514ba8f
Added PICS for ATmega168 port device.
skarg
2009-08-04 16:23:51 +00:00
8e3780e791
updated the version number.
skarg
2009-07-29 19:44:07 +00:00
db61a1122f
Ran indent script.
skarg
2009-07-29 18:06:33 +00:00
551f2767e0
Ran fixup script.
skarg
2009-07-29 18:05:07 +00:00
a503aca204
Added another method to monitor Tusage_delay. Changed output order.
skarg
2009-07-28 17:24:46 +00:00
f27f95c435
Added ctrl-c trap so that the statistics will print at the end.
skarg
2009-07-28 16:35:39 +00:00
502a25ba91
Improved the MS/TP statistics gathering and display.
skarg
2009-07-28 15:17:48 +00:00
c782578f9f
Added some macros to manipulate values contained within an object id value. Removed MAX_BACNET_OBJECT_ID, as it had already been defined in bacdef.h.
minack
2009-07-27 23:24:12 +00:00
53fb6ee291
Added MS/TP statistics. Work in progress.
skarg
2009-07-27 22:37:04 +00:00
adf0f282e7
Added delay and flush to correctly flush RS485 buffer.
skarg
2009-07-27 18:48:06 +00:00
f30a21a032
Converted mstpcap to use timer rather than sleep for timing.
skarg
2009-07-27 17:50:09 +00:00
f85519c9e1
Corrected unit test for src/event.c.
skarg
2009-07-24 20:49:05 +00:00
e91062cd53
The demo UTC time synchronization function 'Send_TimeSyncUTC was missing the NPDU encoding. Thank you, lopelope!
skarg
2009-07-21 14:07:38 +00:00
295977c606
Updated version number - preparation for release.
skarg
2009-07-19 17:05:46 +00:00
3e84cce6d1
Fixing makefile for ports.
skarg
2009-07-18 11:55:46 +00:00
dcd6cbed52
Updated Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations!
skarg
2009-07-17 16:02:31 +00:00
d9fea88227
Removed the unused state of MSTP_RECEIVE_STATE_HEADER_CRC. Hopefully this doesn't break too many implementations!
skarg
2009-07-17 15:41:37 +00:00
a32af783cb
Moved the MS/TP defines into mstpdef.h file.
skarg
2009-07-17 15:15:46 +00:00
91a3c7c11f
Output of bacrp command has return+line-feed dos style output. Added return+line-feed to echo statements to keep output consistent if piped to a file. It will now create a valid DOS file.
brayra
2009-07-16 19:09:52 +00:00
fb1b2a9c90
Added ability to scan muiltiple Device IDs passed on the command line Added -O parameter to supress optional property scan
brayra
2009-07-16 19:04:07 +00:00
6a811d32e1
Updated readme for address_cache info.
skarg
2009-07-15 19:24:10 +00:00
16f7508fac
Reorder items of whois addresses to be compatible with address_cache file format Also put comment (;) tag at the beginning of header lines on the report
brayra
2009-07-15 19:01:17 +00:00
fe5e9dd42b
Corrected install to write fuses.
skarg
2009-06-22 03:54:42 +00:00
4c9bd5f842
Modified for compilation under Linux.
skarg
2009-06-22 03:07:42 +00:00
85cf09aa6b
added file introducing the utilities.
skarg
2009-06-18 15:38:14 +00:00
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).
skarg
2009-06-18 03:58:54 +00:00
6e6cdf2bc0
Added the call to Multistate_Output_Property_Lists() into the switch statement in RPM_Property_List(). It was noticed because the Scada Engine BOWS chokes on this when it tries to do an RPM "all" and stops using RPM for all the other objects on the device as well. Thank you, Peter!
skarg
2009-06-17 23:24:32 +00:00
8dc12fcd98
Corrected a minor issue in the bacapp.c file on the PC side when printing strings with garbage characters with the 8th bit set. The code passed a signed char to the isprint() function which gets sign extended to an int and then caused an assert in the Microsoft library code (Visual C++ Express 2008). Thank you, Peter!
skarg
2009-06-17 23:22:48 +00:00
95b94f75fd
removed process.h which causes mingw to fail from command line build.
skarg
2009-06-05 19:34:08 +00:00
6903310da9
Added set function for AV Present Value (similar to ao.c).
skarg
2009-06-05 19:33:31 +00:00
83d9abc3e8
removed the unused function for environment variables.
skarg
2009-06-05 18:51:45 +00:00
54d1ef12ea
Corrected serial port initialization for second USART. Thanks, Jason!
skarg
2009-06-03 14:54:24 +00:00
aa4f9a88e7
Changed the delete rule to delete only one file at a time since the Borland Make (or DOS del) only takes up to 255 characters per command.
skarg
2009-06-01 13:13:32 +00:00
2bf1e66ace
Corrected demo mstpcap when building with Borland compiler. Thank you Martin!
skarg
2009-05-27 20:25:11 +00:00
a060c88896
Corrected Borland build when building for MS/TP. Thank you Martin!
skarg
2009-05-27 20:24:42 +00:00
2170374470
Modified the COM port scanner to scan from COM1 to COM99.
skarg
2009-05-27 20:15:51 +00:00
c13ece98e9
Updated serial code in AVR bootloader host application to allow Windows COM ports from COM1 to COM99.
skarg
2009-05-27 19:36:59 +00:00
911d841496
Added AVROSP application for using the bootloader.
skarg
2009-05-27 19:10:13 +00:00
f96e8b6118
Added AVR Studio project for bootloader.
skarg
2009-05-27 11:32:03 +00:00
1525de33fe
Added multimedia timer to dlmstp.c for Win32 port to try and improve performance. Thank you Cameron Crothers!
skarg
2009-05-25 13:45:52 +00:00
7032168ff5
Ran the fixup, indent, and comment scripts to standardize the source code.
skarg
2009-05-24 01:49:21 +00:00