|
|
7 yıl önce | |
|---|---|---|
| bin | 12 yıl önce | |
| data | 8 yıl önce | |
| source | 7 yıl önce | |
| travis_scripts | 7 yıl önce | |
| .clang-format | 10 yıl önce | |
| .gitattributes | 9 yıl önce | |
| .gitignore | 7 yıl önce | |
| .travis.yml | 7 yıl önce | |
| AUTHORS | 16 yıl önce | |
| ChangeLog.txt | 14 yıl önce | |
| README.md | 7 yıl önce | |
| TODO | 14 yıl önce | |
| license.txt | 16 yıl önce | |
| sonar-project.properties | 7 yıl önce | |
| uncrustify.cfg | 8 yıl önce |
<img alt="Coverity Scan Build Status"
src="https://scan.coverity.com/projects/14200/badge.svg?flat=1"/>
OpENer is an EtherNet/IP™ stack for I/O adapter devices; supports multiple I/O and explicit connections; includes objects and services to make EtherNet/IP™- compliant products defined in THE ETHERNET/IP SPECIFICATION and published by ODVA (http://www.odva.org).
Users and developers of OpENer can join the respective Google Groups in order to exchange experience, discuss the usage of OpENer, and to suggest new features and CIP objects, which would be useful for the community.
Developers mailing list: https://groups.google.com/forum/#!forum/eip-stack-group-opener-developers
Users mailing list: https://groups.google.com/forum/#!forum/eip-stack-group-opener-users
OpENer has been developed to be highly portable. The default version targets PCs with a POSIX operating system and a BSD-socket network interface. To test this version we recommend a Linux PC or Windows with Cygwin (http://www.cygwin.com) installed. You will need to have the following installed:
for normal building. These should be installed on most Linux installations and are part of the development packages of Cygwin.
If you want to run the unit tests you will also have to download CppUTest via https://github.com/cpputest/cpputest
For the development itself we recommend the use of Eclipse with the CDT plugin (http://www.eclipse.org).
For configuring the project we recommend the use of a CMake GUI (e.g.,the cmake-gui oackage on Linux)
Directly in the shell:
For invoking opener type:
./src/ports/POSIX/OpENer interface
e.g. ./src/ports/POSIX/OpENer eth1
Within Eclipse
For invoking opener type in command line:
OpENer interface_index
e.g. OpENer 3
Run the command setup_mingw.bat in a dos command line. (Not a bash shell). If tracing is desired,
use the following (where the cmake parameter must be enclosed in quotes) or change the ./source/CMakeList.txt file.
setup_mingw.bat "-DOpENer_TRACES:BOOL=TRUE"
Run the command "make" from the same directory (./bin/mingw)
The opener.exe is now found in \bin\mingw\src\ports\MINGW
Start it like this: "opener 192.168.250.22", where the ip address is the local computer's address on the nettwork you want to use.
The documentation of the functions of OpENer is part of the source code. The source packages contain the generated documentation in the directory doc/api_doc. If you use the GIT version you will need the program Doxygen for generating the HTML documentation. You can generate the documentation by invoking doxygen from the command line in the opener main directory.
For porting OpENer to new platforms please see the porting section in the Doxygen documentation.
The easiest way is to fork the repository, then create a feature/bugfix branch. After finishing your feature/bugfix create a pull request and explain your changes. Also, please update and/or add doxygen comments to the provided code sections. Please stick to the coding conventions, as defined in source/doc/coding_rules The easiest way to conform to the indenting convertion is to set uncrustify as git filter in the OpENer repository, which can be done with the following to commands:
git config filter.uncrustify.clean "/path/to/uncrustify/uncrustify -c uncrustify.cfg --mtime --no-backup"
git config filter.uncrustify.smudge "cat"