Commit Graph

1934 Commits

Author SHA1 Message Date
skarg 2f008a9a2b No need for sched_yield in master_fsm_task due to select in getting the byte. No need for Timer_Mutex since only one task ever uses timer functions. Thank you, Nikola Jelic! 2011-08-19 18:05:45 +00:00
skarg be0e538ce5 updated release script to include readme.txt file. 2011-08-19 17:40:56 +00:00
skarg 7f109b0abe Corrected compile errors. 2011-08-19 17:40:29 +00:00
skarg 9da1ab453a Added some encoding functions for WPM. Thank you, Nikola Jelic! 2011-08-19 17:21:39 +00:00
skarg 0fe647a678 removed Reader_Mutex, IOMutex, rs485_read_task and placed select inside of getting characters call to reduce CPU usage. 2011-08-19 16:33:07 +00:00
skarg bcd1c2c101 Incremented version to 0.7.0 for next phase of development. 2011-08-17 19:09:10 +00:00
skarg 61f0a0211d Splinted files and corrected splint errors. 2011-08-17 03:59:31 +00:00
skarg 8d9b987064 Corrected unit tests for iam, event, ai, and bacdevobjpropref. Removed device from unit test since it needs reworked for unit testing due to object dependencies. Noted that lc object fails test and needs fixed. 2011-08-17 03:47:43 +00:00
skarg 3e1cb1847f Indented project. 2011-08-17 02:27:11 +00:00
skarg 7e503510c7 Updated documentation for mstpcap utility. 2011-08-15 17:15:20 +00:00
k001a b3a8eff164 Cosmetic changes. 2011-08-15 10:20:28 +00:00
k001a 7ccbb406b4 WritePropertyMultiple: if an attempt is made to write to a commandable property without specifying the priority then the writing is at the lowest priority (number 16). 2011-08-15 09:35:14 +00:00
k001a 08028dd819 Fixed headers when built without Intrinsic Reporting. 2011-08-15 08:16:41 +00:00
k001a c2282c5aad Fixed headers when built without Intrinsic Reporting. 2011-08-11 20:21:18 +00:00
k001a 5f952312a8 'Last Received Object Identifier' for GetEventInformation service. 2011-08-11 19:17:27 +00:00
petermcs 75d3927d67 Added in reliability to list of optional properties 2011-08-10 05:50:13 +00:00
skarg da7fffaa9a Fixed AI header when built without Intrinsic Reporting. 2011-08-10 03:58:25 +00:00
skarg ef80e662b3 Cleaned up compile on Win32 for MS/TP datalink. Still not reliable yet. 2011-07-26 22:11:20 +00:00
skarg 813f3f0f1b Ran the fixup script on the file. 2011-07-26 04:25:35 +00:00
skarg c14837ae73 Added Renesas RX62N port of Ethernet datalink from Renesas Rulz contest. 2011-07-26 04:23:09 +00:00
skarg 3c9c235d28 Using timeGetTime to get the elapsed milliseconds after a baseline GetSystemTimeAsFileTime to emulate the Unix gettimeofday function at millisecond resolution on Windows. 2011-07-25 22:12:28 +00:00
skarg 059a9e8471 Fixed compile error in module. 2011-07-25 03:27:26 +00:00
skarg aac4bb5dd4 Changed gettimeofday unix function for win32 to use a higher resolution timer. 2011-07-25 02:47:25 +00:00
k001a c37aa9ea90 After acknowledgment an alarm is sent AckNotification. 2011-07-23 17:18:25 +00:00
skarg c1d7633a8d Attempting to get better timestamp resolution on Win32. Added some functional tests for determining accuracy. The existing gettimeofday emulations only give 15ms to 16ms of resolution, so that needs fixed. 2011-07-22 22:36:12 +00:00
skarg dc209f7ffb Enhanced the statistics and usage reporting of mstpcap utility. Now counts each frame type emitted by a node, calculates Npoll, checks for tokens sent to self, and still all the existing timing statistics. 2011-07-22 22:34:23 +00:00
k001a 8199008092 Acknowledge Alarm for Analog-Input and Analog-Value objects.
Moved initialization of handlers to GetEventInformations to specific init object.
2011-07-21 20:44:57 +00:00
skarg 52e0d00f4f Moved the exit until after the Ack or Error has returned for AtomicReadFile and AtomicWriteFile demo client applications. Thank you, Sergei! 2011-07-20 15:47:13 +00:00
k001a acbfe10349 Acked_Transitions for Analog-Input and Analog-Value objects. 2011-07-19 20:40:25 +00:00
k001a e5496d3d11 GetEventInformations returns messages whose maximum length does not exceed max_resp.
More_Events for GetEventInformations works fine.
2011-07-18 20:00:53 +00:00
k001a 2364561f19 Event_Priorities in Get_Event_Information is read form associated notification-class object. 2011-07-13 21:14:52 +00:00
k001a 536438d23e Get_Event_Informations returns analog-input and analog-value objects when Event_stane is not equal to NORMAL. 2011-07-13 20:36:21 +00:00
k001a c61c096dc7 Intrinsic reporting for analog-input objects.
Print on output details of WritePropertyMultiple.
2011-07-11 21:29:51 +00:00
k001a 7f291e3041 Cosmetic changes to comments.
Print on output every change of Event_State for analog-value objects.
Added write_property_function for analog-input objects.
Created descriptor for analog-input objects.
Possible to write Present_Value for analog-inputs when Out_Of_Service is true.
2011-07-11 19:48:21 +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 51c6134e15 Converted comments to C style using convert.sh script. 2011-07-09 17:23:41 +00:00
skarg b976577684 Updated the demo binary utilities readme to include a brief tutorial example. 2011-07-09 17:14:14 +00:00
k001a 774ef7a564 Status_Flags for analog-value object changes after Out_Of_Service or Event_State property change. 2011-07-08 20:37:58 +00:00
skarg 97e70a55b7 Changed Hop Count NPDU encoding to encode the actual hop count, not one less. 2011-07-07 20:53:27 +00:00
k001a 90fcf9706d Ability to compile the project without INTRINSIC_REPORTING. 2011-07-07 20:06:43 +00:00
skarg ad27b84949 Changed Hop Count default to 255. BTL NPDU tests expect Hop Count to start at 255. Added ability of Hop Count default to be overridden in Makefile or project file if you need to make it smaller in your implementation. 2011-07-07 16:43:43 +00:00
k001a ea05c15ce2 Implemented Time_Delay and Event_Time_Stamp for analog-value object. 2011-07-06 20:55:45 +00:00
skarg 75bfee00d4 Moved demo configuration option to Makefile. 2011-07-05 20:00:23 +00:00
skarg 32096fe226 Added step-by-step to mstpcap for handling 76800 baud on FTDI chip devices. 2011-07-05 19:59:46 +00:00
skarg 17def5b2ac Fixed compiler warning for timer size. 2011-07-05 19:58:42 +00:00
k001a 19a77ba46e Created descriptor for analog-value objects,
- writable Relinquish_Default and Units
- added properties required for intrinsic reporting.

Intrinsic reporting for analog-value. First commit. 
Not everything finished (inter alia Time_Delay, Event_Time_Stamps, ACK_Required doesn't work now).

Initialize all objects in Device_Init function.
Added function to read current time.
Defined enum BACNET_LIMIT_ENABLE.
Started cache address.
2011-07-05 19:44:36 +00:00
k001a ccf1335979 Added Notification Class object. I will use it to intrinsic reporting.
Notification Class objects can be disabled when define INTRINSIC_REPORTING (bacdef.h) will be removed.
2011-06-17 16:23:47 +00:00
k001a 52c745cd06 Removed encode_tagged_enumerated function, because it was identical like encode_application_enumerated (I didn't see this before). 2011-06-14 21:25:32 +00:00
k001a ad22144fab Missing file h_wpm.c. 2011-06-08 21:53:35 +00:00
k001a a16a8f041b - Added handling to WritePropertyMultiple.
- Added encode_tagged_enumerated function.
2011-06-08 21:51:15 +00:00