tlaukkan / zigbee4java

Zigbee API for Java provides simple Java interface to ZigBee network.
Apache License 2.0
143 stars 68 forks source link

Remove serialisation from library #100

Open cdjackson opened 8 years ago

cdjackson commented 8 years ago

I guess we will have a similar discussion as we had with the SerialPort, but I would suggest to remove the serialisation from the main library and put it in the gateway server as an example for others.

The problem is it has a very large dependancy and IMHO this serialisation should be left to the main software and not covered in the library. In my project, the framework already provides libraries for serialising this sort of data, and for embedded systems adding dependancies like this isn't so nice...

What do you think? Is there a better way to handle this? Some sort of callback, or just let the framework populate the devices itself...

Edit: Migrated to https://github.com/zsmartsystems/com.zsmartsystems.zigbee