Commit Graph

2711 Commits

Author SHA1 Message Date
shuegr-personal e0c2a452e2 Fix [27]: calls to decode_context_enumerated() pass &uint32_t (#29) 2020-01-15 23:50:15 -06:00
shuegr-personal 7f5045ff3f zero init stack-based struct sockaddrin instances; rm refs to sin_zero padding in non-ports files (#28) 2020-01-15 23:48:55 -06:00
Geert Linders aaec7ef817 Remove Max_APDU_Length_Accepted property from Network Port demo object. (#23) 2020-01-15 23:46:34 -06:00
Steve Karg 21e998eb3b Added reject to error code conversion. Added unit test. (#21) 2020-01-15 14:50:31 -06:00
Steve Karg 0f82748413 Added abort to error code conversion. Added unit test. (#20)
* Added abort to error code conversion. Added unit test.

* add javadoc header to new function.
2020-01-15 14:50:16 -06:00
Geert Linders 6e0ebb99f4 Fix UNKNOWN_PROPERTY on Mac_Address of Network Port demo object. (#24) 2020-01-15 14:49:16 -06:00
Steve Karg a24845ba51 bypass lint check until passing initially (#25) 2020-01-15 08:39:56 -06:00
Steve Karg 63899e6606 Fix gateway app build (#22) 2020-01-15 08:02:15 -06:00
Carlos Gomes Martinho d3014c87fa build: improve cmake, add github actions (#16)
* build: install cmake config files to enable cmake find_package

fix: destination for header files

build: clean up build system

build: also install port directory header files

build: fix name of header files

ci: add github actions

build: add bsd port

chore: fix typos

build: remove not deeded mstpsnap

ci: disable ctests as not corrently

ci: disable macos for the moment

build: print compiler versions in cmake

* build: do not build apps by default

* build: add missing slash

* build: add more options to cmake (#3)

* build: add more options to cmake

* chore: disable ipv6

* build: guard around apps for options

* build: fix link lib on windows
2020-01-14 23:25:41 -06:00
Roger Light 0a414b88f6 Units fixes (#13)
* Match unit name to name used in specification.

* Add missing unit strings to bactext.
2020-01-14 23:20:16 -06:00
Geert Linders 284f009a05 Resolve AV_Descr naming conflict for Analog Value and OctetString Value. (#12) 2020-01-14 23:19:33 -06:00
Roger Light 5a7049557b apps - allow text strings for object-type and property arguments. (#8)
The existing method of calling various example apps requires the user to
know the enumeration value for the object-type and property values. This
patch enhances to allow the object-type and property arguments to be
specified as strings, using the strings as defined in the spec. It does
not remove the old behaviour.

Current:
  bacrp 1234 3 1 85

New:
  bacrp 1234 binary-input 1 present-value

This change does not currently apply to the property arguments of the
readm and writem applications.
2020-01-14 23:18:30 -06:00
Steve Karg ed3f0982a3 Bug #61: add strict decoding for TimeSynchronization 2020-01-07 08:19:02 -06:00
Steve Karg 35a8c47213 Added protocol-revion 20 support 2020-01-04 12:41:31 -06:00
Steve Karg 6c52e5ce2e Added ability to disable UTF8 validation for character strings. 2020-01-04 12:15:44 -06:00
Steve Karg f721350b3f Bug #61: add strict decoding for AtomicReadFile, AtomicWriteFile, and DeviceCommunicationControl 2020-01-04 12:06:28 -06:00
Martin Kudláček 20735f0162 Fixing STM32F10x port paths and includes according to changes in directory structure 2020-01-03 22:58:35 +01:00
Steve Karg 4ba3b72142 Merge /u/mkudlacek/bacnet/ branch master into master
https://sourceforge.net/p/bacnet/src/merge-requests/2/
2020-01-03 20:35:41 +00:00
Steve Karg 08140ac937 Merge branch 'master' of github.com:bacnet-stack/bacnet-stack 2020-01-03 14:24:11 -06:00
Martin Kudláček 038b9a4fe2 Fixing ATMEGA168 port paths and includes according to changes in directory structure 2020-01-03 20:50:59 +01:00
Martin Kudláček 52cdb5e365 Fixing paths and includes according to changes in directory structure 2020-01-03 20:29:12 +01:00
Carlos Gomes Martinho 221ff7fa3e build: install cmake config files to enable cmake find_package (#11)
* build: install cmake config files to enable cmake find_package

* fix: destination for header files
2019-12-31 12:59:29 -06:00
Yegor Yefremov ac491d4d39 CI: use cmake --build command to build a project (#9)
This way we hide the real build system and thus, can replace Makefiles
with Ninja and we won't have to change the build command.

--clean-first parameter will invoke clean target before building.
2019-12-31 12:57:06 -06:00
Roger Light b22f745c79 Match property name to name used in specification. (#7) 2019-12-19 22:12:54 -06:00
Steve Karg 830ab2d788 cleaned clang compile warnings 2019-12-18 21:14:05 -06:00
Carlos Gomes Martinho efea4a1a59 build: add basic cmake support (#6) 2019-12-18 19:48:50 -06:00
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