-
Notifications
You must be signed in to change notification settings - Fork 6
Java PC GUI Setup
Java PC GUI is used to provide user sign-up, sign-in feature and register the board to the user account. User need to input the same account credentials when enable Alexa skill to control the registed device.
Apache Maven need to be installed to compile the Java PC application.
https://maven.apache.org/download.cgi
Java SE Development Kit (JDK) 8 need to be installed to run the Java PC application.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Java PC GUI source code can be found in folder secure-wifi-board-java-desktop-app\
Open config.properties and input the AWS Cloud related setting:
POOL_ID=<Cognito_User_Pool_ID>
CLIENTAPP_ID=<Cognito_User_Pool_App_Client_ID>
FED_POOL_ID=<Cognito_User_Identity_ID>
CUSTOMDOMAIN=<Cognito_User_Pool_Domain_Name>
REGION=<Cognito_User_Pool_Region>
- Go to folder secure-wifi-board-java-desktop-app\
- Execute build.bat
- Java execution file will be generate to target/Secure-WiFi-Board-CognitoUI-1.0-jar-with-dependencies.jar and copy to folder ProvisionScripts\
- To run the Java execution file, go to folder ProvisionScripts\ and input command "java -jar Secure-WiFi-Board-CognitoUI-1.0-jar-with-dependencies.jar"
- Below screen is shown: