Commit Graph

2685 Commits

Author SHA1 Message Date
Steve Karg 956acac299 removed unmaintainable project files from IDE 2019-12-17 17:24:22 -06:00
Steve Karg bc612221b6 Bug #68: added fix for compiler warning.
Thank you, Michael Francis!
2019-12-17 15:56:04 -06:00
Steve Karg d50c190957 Issue 2 move folders and use deep path include file names to prevent collisions (#4)
* moving folders and files and adjust server demo build

* Fix Makefile for apps/server on Linux

* fix unit test source file folders

* fix datetime convert UTC functions. Add Code::Blocks project for datetime testing

* added some ignore extensions

* disable parallel make option

* fix build for abort, dcc, and epics apps

* fix build for dcc, epics, error, and getevent apps.

* Fixed building of all apps

* fix the ipv4 to ipv6 router app build

* Change indent style from Google to Webkit

* make pretty to re-format style

* removed common Makefile since we already had one and two was too many

* remove scripts from root folder that are no longer maintained or used

* remove mercurial EOL and ignore files for git repo

* remove .vscodeconfig files from repo

* tweak clang-format style

* clang-format src and apps with tweaked style

* added clang-tidy to fix readability if braces in src

* result of make tidy for src and apps

* fix clang-tidy mangling

* Added code::blocks project for BACnet server simulation

* added code::blocks linux project for WhoIs app

* update text files for EOL

* fix EOL in some files

* fixed make win32 apps for older gcc

* Removed Borland C++ Makefile in apps. Unable to maintain support for Borland C++ compiler.

* created codeblocks project for apps/epics for Windows

* fixing ports/xplained to work with new data structure.

* fix ports/xplained example for Atmel Studio compile

* fix ports/stm32f10x example for gcc Makefile compile

* fix ports/stm32f10x example for IAR EWARM compile

* fix ports/xplained timer callback

* fix ports/bdk_atxx_mspt build with subdirs

* fix ports/bdk_atxx_mspt build with subdirs

* updated git ignore for IAR build artifacts

* updated gitignore for non-tracked files and folders

* fixed bdk-atxx4-mstp port for Rowley Crossworks project file

* fixed bdk-atxx4-mstp port for GCC AVR Makefile

* fixed atmega168 port for IAR AVR and GCC AVR Makefile

* fixed at91sam7s port for IAR ARM and GCC ARM Makefile

* removed unmaintainable DOS, RTOS32, and atmega8 ports.  Updated rx62n (untested).

* changed arm7 to uip port
2019-12-13 15:19:10 -06:00
Steve Karg 8a38dbe2cf Merge pull request #3 from bacnet-stack/issue-1-Indent_and_style_for_source_code
Issue 1 indent and style for source code
2019-10-24 16:46:46 -05:00
Steve Karg 710173d6e0 added clang format C and H files. 2019-10-24 16:23:10 -05:00
Steve Karg da91a11454 added clang-format file and make pretty. Removed previous indent tools. 2019-10-24 16:22:16 -05:00
Steve Karg 1879d4c76f fix EOL in .s files 2019-10-23 14:55:14 -05:00
Steve Karg f4dac4acb2 adjusting EOL for specific files 2019-10-20 13:46:21 -05:00
Steve Karg 846bfb7c21 fix EOL on specific file types 2019-10-20 13:45:01 -05:00
Steve Karg 798091f51b add gcc and clang to test 2019-10-20 13:44:41 -05:00
Steve Karg 870f2960cb add travis C project compiler test 2019-10-19 20:25:44 -05:00
Steve Karg 1abc4d93b8 Fix make test. Undo CI change for parallel. 2019-10-19 15:27:12 -05:00
Steve Karg 6bb702f488 Attempt to parallel CI jobs 2019-10-19 15:17:43 -05:00
Steve Karg 4c132011fb Move lint to end of CI. Narrow lint to server demo 2019-10-19 14:59:34 -05:00
Steve Karg 8427f15da7 Move lint to end of CI. Narrow lint to server demo 2019-10-19 14:57:21 -05:00
Steve Karg d465e9409b cleanup Makefile for test. Cleanup CI stages. 2019-10-19 14:52:31 -05:00
Steve Karg 944362801f re-save line endings to LF for git 2019-10-19 14:20:19 -05:00
Steve Karg 4600e386e4 Added attributes file to handle EOL 2019-10-19 10:32:01 -05:00
Steve Karg 12ebc38930 Changed readme to embed CI status 2019-10-09 08:18:28 -05:00
Steve Karg 8d109a51ba Encapsulate unit test Makefile for CI 2019-10-09 08:11:06 -05:00
Steve Karg 0338e9e0f9 fix travis CI rules 2019-10-08 23:52:20 -05:00
Steve Karg a42e8f507c adjust root folder 2019-10-08 23:47:53 -05:00
Steve Karg b6fc50ddea added gitignore 2019-10-08 21:13:51 -05:00
skarg 8a7f93fed2 Added more debug info for BBMD6 handling. 2019-09-12 16:25:40 +00:00
skarg a76dca8d5c Added missing function prototype for BACnet/IPv6 2019-09-12 16:23:11 +00:00
skarg 0010acf59b Fix network port datalink init warnings for IPv6 demo builds 2019-09-12 13:00:10 +00:00
skarg 27402e31e0 Fix router-ipv6 demo when building stack for IPv6 2019-09-12 12:58:54 +00:00
skarg 693616eb5a Fix CharacterString Value object name and description. 2019-09-11 20:58:08 +00:00
skarg 3f8cdd05f0 Added concurrent Network Port object example for Ethernet, MSTP, BACnet/IP and BACnet/IPv6.
Enhanced the IPv6 API and data for Network Port object.
Enhanced network port object unit testing and added to unit test Makefile.
Incremented default protocol-revision from 14 to 19 to enable default testing with Network Port object.
2019-09-11 19:39:27 +00:00
skarg 7e0dbb7bf7 Fix javadoc header 2019-06-22 13:27:08 +00:00
skarg 09a2614359 Added property list membership test 2019-06-02 14:48:52 +00:00
skarg d7ad240f05 The patch is to change the timeout from 10us to 0 so that we just do a poll for more receive data when there is already data queued. With this patch, the code seems to work just fine with 100Hz timer tick. Thank you, David Mosberger 2019-03-17 22:15:27 +00:00
skarg f028874041 Linux make fixes for router-bip6 2019-03-17 22:09:55 +00:00
skarg 2c7d5ea4aa Here is a patch for ports/linux/dlmstp.c that switches it to use CLOCK_MONOTONIC rather than real time for the condition variable. This makes the code robust against changes to real time (say, operator adjust time and moves it back by one year, now the timeout wont fire for a year...). Thank you, David Mosberger 2019-03-17 22:08:25 +00:00
skarg 65e602bd3c 1. readme.txt
- Build instructions modified. 
- Added valid example of cmd line 
2. main.c 
- Return false if no args passed. Fixes segmentation fault
2019-03-17 13:16:59 +00:00
skarg 585b0bae5b Add common functions for initializing the BACnet Application Value lists. Fixes problems with receiving Unconfirmed COV Notifications with more values to store than the stack has reserved in its value list. 2019-01-31 14:51:46 +00:00
skarg b3c9affd49 Use numeric constants for win32 port defines for MinGW using gcc version 4.8.1 2018-12-18 03:53:12 +00:00
skarg 4b3db4416e Fix network port object for-loop to not depend on C99 features. 2018-12-18 03:36:45 +00:00
skarg c05245c6ff Removed baud-rate from network port object example since the property is called link-speed. 2018-12-17 18:19:22 +00:00
skarg f4984dd8d6 Updated stm32f10x port example to work with IAR EWARM 8.11 2018-12-15 16:52:21 +00:00
skarg 37beed9f70 Corrected network port link speed datatype. 2018-12-14 14:35:25 +00:00
skarg 0386af099f Merged revision(s) 3206 from branches/releases/bacnet-stack-0-8-0:
Removed case in MS/TP data expecting reply to not expect a ConfirmedRequest PDU reply. Bug #59. Thank you, Govind!
........
2018-12-13 17:50:25 +00:00
skarg 56290fe877 Add COV handling example for Multi-state Value 2018-12-11 02:40:47 +00:00
skarg 0d53e59369 Fixed BACNET_REINITIALIZED_STATE enum broken in merge 2018-12-11 02:39:31 +00:00
skarg 55794f7f54 Merged revision(s) 3172 from branches/releases/bacnet-stack-0-8-0:
Fixed ReinitializeDevice service error handling of states for demos and ports.
........
2018-12-06 04:11:01 +00:00
skarg 755f5087ef Merged revision(s) 3160 from branches/releases/bacnet-stack-0-8-0:
Added BACDL_NONE for testing without a physical datalink.
........
2018-12-05 23:58:23 +00:00
skarg 212dca46da The WritePropertyMultiple does not sends the priority. In the function wpmencodeapduobjectproperty located in wpm.c, the apdulen variable is not increased after calling encodecontextunsigned for the priority property. Bug #58. 2018-12-04 16:13:15 +00:00
skarg 33a812a922 Rename NPDU local variables to be clearer. 2018-10-09 22:38:42 +00:00
skarg d1f0b020f0 [bacnet:bugs] #57 fix to increase filename buffer to avoid compile warning. Thank you, Joe Burmeister! 2018-10-09 14:42:18 +00:00
skarg 77360ad46f Added example Network Port object 2018-08-30 01:19:31 +00:00