tlaukkan / zigbee4java

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

Network address change from short to int #8

Closed cdjackson closed 9 years ago

cdjackson commented 9 years ago

Change network address from short to int. This is consistent with the rest of the library, and returning a short can cause an exception if the top bit is set. The library currently seems to treat the address as short when it first reads them then has helper methods to print them as ints, then ultimately changes them to an int anyway, so it seems like it should be an int from the beginning?

presslab-us commented 9 years ago

@cdjackson Thanks for sorting it out!