Before using OpenDevice you will need as a minimum a Java Development Kit (JDK) installed version 1.8 or above. Download the appropriate JDK for your operating system, run the installer, and then set up an environment variable called JAVA_HOME pointing to the location of this installation.
Download and install: Setting-up the Server
You can install the arduino library through the IDE's Library Manager
Or using Platform.IO : pio lib --global install OpenDevice
If you are developing an application that uses the OpenDevice modules.
Most components in OpenDevice is developed in JAVA and is published to Maven Central.
Replace ${opendevice-version} to last version found in: repository |
<repositories> <repository> <id>oss.sonatype.org</id> <url>https://oss.sonatype.org/content/repositories/releases</url> </repository> <repository> <id>oss.sonatype.org-snapshot</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </repository> </repositories> <dependencies> <dependency> <groupId>io.opendevice</groupId> <artifactId>opendevice-connection-stream</artifactId> <version>${opendevice-version}</version> </dependency> <dependency> <groupId>io.opendevice</groupId> <artifactId>opendevice-core</artifactId> <version>${opendevice-version}</version> </dependency> <dependency> <groupId>io.opendevice</groupId> <artifactId>opendevice-rest-ws-server</artifactId> <version>${opendevice-version}</version> </dependency> </dependencies> |