Giter VIP home page Giter VIP logo

android-opc-ua-client-using-open62541's Introduction

Android-OPC-UA-Client-using-open62541

An introduction on how to use the open62541 implementation for creating an OPC UA client with Android Studio.

Prerequisites

Use of the project

Import the project, change the IP-address in the simple_client.c to the IP-address of your OPC UA server and install the project on your Android smartphone. The client will read the DateTime of your OPC UA server, according to the Simple Client example in the open62541 documentation (https://open62541.org/doc/0.3/tutorial_client_firststeps.html). The project uses open62541 version 0.3.

If you want to create an open62541 Android-OPC-UA-Client on your own, here are some useful hints:

  • Create a new Native C++ project in Android Studio
  • Add the actual open62541.c and open62541.h to the cpp-folder of your project structure
  • Create a new C or C++ source file, which will implement OPC UA Client
  • In CMakeLists.txt add the link libraries (see https://developer.android.com/studio/projects/configure-cmake.html for further information)
  • In AndroidManifest.xml add the following permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  • Add your C or C++ code to the source file
  • Do not forget to load the libraries in the source code of your Activity, for example:
 static {
        System.loadLibrary("simple-client-lib");
        System.loadLibrary("open62541-lib");
    }

Authors & Contact

License

This project uses the open62541.c and open62541.h of the open62541 OPC UA implementation. These files are licensed under the Mozilla Public License Version 2.0, see https://github.com/open62541/open62541 for further information. The other parts of the project are licensed under the Mozilla Public License Version 2.0 as well - see the LICENSE file for details

Acknowledgments

This project is based on two User guides:

The development of an Android OPC UA Client using open62541 was supported by the research project “Recycling 4.0” (digitalizationas the key to the Advanced Circular Economy using the example of innovative vehicle systems) which is funded by the European Regional Development Fund (EFRE | ZW 6-85017297) and managed by the Project Management Agency NBank.

android-opc-ua-client-using-open62541's People

Contributors

laki95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.