Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Z zigbee-dongle-kw2x
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Gianmarco Garrisi
  • zigbee-dongle-kw2x
  • Wiki
  • setup

setup · Changes

Page history
Correctons authored May 16, 2017 by Gianmarco Garrisi's avatar Gianmarco Garrisi
Hide whitespace changes
Inline Side-by-side
setup.md
View page @ cfdfa35c
......@@ -5,7 +5,22 @@ You will need Maven and Java Development Kit. git and wireshark are useful.
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:
To use kw2x in the zigbee4java directory change the pom.xml adding the following line:
```
<modules>
<module>zigbee-common</module>
<module>zigbee-dongle-cc2531</module>
----> <module>zigbee-dongle-kw2x</module> <----
<module>zigbee-gateway-client</module>
<module>zigbee-gateway-server</module>
<module>legacy-modules/zigbee-api</module>
<module>zigbee-serial-javase</module>
<module>zigbee-serial-android</module>
<module>legacy-modules/zigbee-console-javase</module>
<module>legacy-modules/zigbee-console-common</module>
</modules>
```
than, in the zigbee-getaway-server change the pom.xml:
```
<dependency>
<groupId>org.bubblecloud.zigbee4java</groupId>
......@@ -21,6 +36,10 @@ to
<version>3.1.0-SNAPSHOT</version>
</dependency>
```
finally, in the ZigBeeGetawayMain.java,
`final ZigBeeDongle dongle = new ZigBeeDongleTiCc2531Impl(serialPort, pan, channel, networkKey, resetNetwork);`
to
`final ZigBeeDongle dongle = new ZigBeeDongleNxpKw2xImpl(serialPort, pan, channel, networkKey, resetNetwork);`
To set up git proxy:
`git config --global http.proxy http://proxy.server.it:8080`;
......@@ -56,6 +75,10 @@ To setup the linux kernel to enable usbmon (the module to sniff on serial port t
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
4. nano pom.xml
5. add the module line `<module>zigbee-dongle-kw2x</module>`
6. nano zigbee-getaway-server/pom.xml
7. change the line `<artifactId>zigbee-dongle-cc2531</artifactId>` with `<artifactId>zigbee-dongle-kw2x</artifactId>`
8. nano zigbee-gateway-server/src/main/java/org/bubblecloud/zigbee/v3/ZigBeeGatewayMain.java
9. change the line `final ZigBeeDongle dongle = new ZigBeeDongleTiCc2531Impl(serialPort, pan, channel, networkKey, resetNetwork);` to `final ZigBeeDongle dongle = new ZigBeeDongleNxpKw2xImpl(serialPort, pan, channel, networkKey, resetNetwork);`
10. mvn clean install
Clone repository
  • bug dongle ti
  • clusters and endpoins
  • differences nxp ti
  • Home
  • long term plan
  • setup
  • short term plan
  • start
  • state of impl