Show Intu dashboard on Pepper's tablet #2
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since Pepper's panel is an Android tablet running a web browser on it, and has different IP address from the Pepper's one, accessing http://localhost:9443/www/dashboard#/ on the tablet can't reach the dashboard server of the Intu process on the Pepper. This patch simply maps "localhost" in the URL into "198.18.0.1" which is Pepper's end-point address of the point-to-point network on USB connection between Pepper and Android tablet.
Please note that this patch enables only showing of dashboard on the Pepper. To configure Intu through dashboard, you would need to access the dashboard from remote web browser running on PC/Mac.
Signed-off-by: Takao Moriyama moriyama@jp.ibm.com