|
|
|
This page contains some instruction to set up the environment for devloping and testing the zigbee4java library.
|
|
|
|
|
|
|
|
You will need Maven and Java Development Kit. git and wireshark are useful.
|
|
|
|
|
|
|
|
git clone the zigbee4java repository (https://github.com/tlaukkan/zigbee4java.git) create a sub-directory and clone there the zigbee-dongle-kw2x implementation.
|
|
|
|
|
|
|
|
To use kw2x in the getaway application change the pom.xml as in state-of-impl.md.
|
|
|
|
|
|
|
|
To set up git proxy:
|
|
|
|
`git config --global http.proxy http://proxy.server.it:8080`
|
|
|
|
to setup maven proxy:
|
|
|
|
modify ${user.home}/.m2/settings.xml with the following:
|
|
|
|
```
|
|
|
|
<settings>
|
|
|
|
.
|
|
|
|
.
|
|
|
|
<proxies>
|
|
|
|
<proxy>
|
|
|
|
<id>example-proxy</id>
|
|
|
|
<active>true</active>
|
|
|
|
<protocol>http</protocol>
|
|
|
|
<host>proxy.example.com</host>
|
|
|
|
<port>8080</port>
|
|
|
|
<username>proxyuser</username>
|
|
|
|
<password>somepassword</password>
|
|
|
|
<nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
|
|
|
|
</proxy>
|
|
|
|
</proxies>
|
|
|
|
.
|
|
|
|
.
|
|
|
|
</settings>
|
|
|
|
|
|
|
|
``` |
|
|
|
\ No newline at end of file |