From b14d3a12ef20ba2e01339fc85641f739ba2030e6 Mon Sep 17 00:00:00 2001 From: Ben Hughes Date: Wed, 14 Nov 2018 11:24:14 -0800 Subject: [PATCH 1/2] Add license to start of source --- src/main/java/HelloJavaMesh.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/java/HelloJavaMesh.java b/src/main/java/HelloJavaMesh.java index 47893d9..3f3c983 100644 --- a/src/main/java/HelloJavaMesh.java +++ b/src/main/java/HelloJavaMesh.java @@ -1,3 +1,20 @@ +/** HelloMesh: A sample RightMesh app for Java platforms. + Copyright (C) 2018 RightMesh AG + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + */ + import io.left.rightmesh.id.MeshId; import io.left.rightmesh.mesh.JavaMeshManager; import io.left.rightmesh.mesh.MeshManager; From 422e6f24989de3792d910d84e1b1b46ec93cf567 Mon Sep 17 00:00:00 2001 From: Ben Hughes Date: Wed, 14 Nov 2018 14:17:02 -0800 Subject: [PATCH 2/2] Add Frazer's readme wording --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c8f54d1..b668ff7 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,14 @@ RightMesh into your own application. `./gradlew run` or `./build/install/HelloJavaMesh/bin/HelloJavaMesh` ## Notes on running +If you have an Internet connection, HelloJavaMesh will connect to a RightMesh +Superpeer and discover peers around the world who are also connected +to a superpeer. -If you have an Internet connection, HelloJavaMesh will connect to a RightMesh Superpeer and discover peers around the world who are also connected to a superpeer. - -At this time, the java library does not automatically join the RM network -so it is up to the developer to manually join the network with the device -the java code is running on. For testing purposes you should be able to -join any mobile phone network starting with RM-XXXXXX with the password +At this time, the Java library does not automatically join the local mesh +network so it is up to the developer to manually join the network with the +device the Java code is running on. For testing purposes you should be able to +join any WiFi network being broadcast by a phone running RightMesh with an +SSID following the pattern RM-XXXXXX using the password `m3sht3st`. BT connectivity is not supported at this time.