|
|
This page contains some instruction to set up the environment for devloping and testing the zigbee4java library.
|
|
|
This page contains some instruction to set up the environment for devloping and testing the zigbee4java library.
|
|
|
Look below for a quick install command list.
|
|
|
|
|
|
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.
|
|
|
git clone the zigbee4java repository (https://github.com/tlaukkan/zigbee4java.git) 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.
|
|
|
|
... | ... | @@ -33,4 +34,13 @@ modify ${user.home}/.m2/settings.xml with the following: |
|
|
```
|
|
|
|
|
|
To setup the linux kernel to enable usbmon (the module to sniff on serial port through wireshark) use the command
|
|
|
`# modprobe usbmon` and to allow common user to use it (so you don't have to use wireshark as superuser) run `# setfacl -m u:$USER:r /dev/usbmon*` |
|
|
\ No newline at end of file |
|
|
`# modprobe usbmon` and to allow common user to use it (so you don't have to use wireshark as superuser) run `# setfacl -m u:$USER:r /dev/usbmon*`
|
|
|
|
|
|
**Quick Start**
|
|
|
0. set-up git and maven
|
|
|
1. git clone https://github.com/tlaukkan/zigbee4java.git
|
|
|
2. cd zigbee4java
|
|
|
3. git clone git.pertforge.ismb.it:ggarrisi/zigbee-dongle-k22x.git
|
|
|
4. nano zigbee-getaway-server/pom.xml
|
|
|
5. change the lines
|
|
|
6. mvn clean install |