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
  • state of impl

state of impl · Changes

Page history
Updates authored May 10, 2017 by Gianmarco Garrisi's avatar Gianmarco Garrisi
Hide whitespace changes
Inline Side-by-side
state-of-impl.md
View page @ cf7ad56a
This page reports the current state of the implementation. This page reports the current state of the implementation.
There were various way to do this implementation. I chose to copy the code from the Texas Instruments dongle implementation and apply fixes to make it work. I thought that this method was faster and produced code more familiar for the zigbee4java contributors community. On the other hand there are some parts of the library that were not very clear or that could be written in a more efficient way and now may be worse. Moreover I changed the OpCodes of the packets without changing their names (to avoid having to look for names and change them all over the package) with the result that it is not so easy to find the correspondence between the name used in the ZToolCMD class and the BlackBox reference. Also in some points the documentation comments are in the wrong place. I addressed all these problems in the long term plans.
My point of reference is the zigbee-gateway-server of the zigbee4java library. This is a program given with the library as an example application that lets you test the functionality of the implementation. I modified it a little bit in order to use the NXP dongle instead of the Texas Instruments' one. By now I can start the program and register the default end-points. As for the TI dongle there are problems at shutdown: the applications stops responding but doesn't finish, so you have to terminate it, but doing so will corrupt the simple-network.json file so you have to delete it before starting the getaway again. You can also enable the permit joining. I did not test other functionalities. My point of reference is the zigbee-gateway-server of the zigbee4java library. This is a program given with the library as an example application that lets you test the functionality of the implementation. I modified it a little bit in order to use the NXP dongle instead of the Texas Instruments' one. By now I can start the program and register the default end-points. As for the TI dongle there are problems at shutdown: the applications stops responding but doesn't finish, so you have to terminate it, but doing so will corrupt the simple-network.json file so you have to delete it before starting the getaway again. You can also enable the permit joining. I did not test other functionalities.
With the Freescale dongle you will get a lot of warning messages in the console because the dongle starts in a sort of debug mode that reports a lot of messages from the lower levels that aren't recognized by the program. With the Freescale dongle you will get a lot of warning messages in the console because the dongle starts in a sort of debug mode that reports a lot of messages from the lower levels that aren't recognized by the program. You can change the mod through a packet of the ZTC.
There still some work to do to have a working network discovery. From the tests I've done with the dongle and the FlexPlug I could get the simple descriptor response, but sent the IEEEAddressRequest with no response. There still some work to do to have a working network discovery. From the tests I've done with the dongle and the FlexPlug I could get the simple descriptor response, but sent the IEEEAddressRequest with no response.
\ No newline at end of file
Clone repository
  • bug dongle ti
  • clusters and endpoins
  • differences nxp ti
  • Home
  • long term plan
  • setup
  • short term plan
  • start
  • state of impl