Closed cdealti closed 8 years ago
Nice work and looks good to me.
Thanks for reviewing this. About your first comment, I don't really like the overall configuration, a mix of system properties, constructor parameters and setters. I understand this was also the situation of zb4o but something is needed. We should consider a startup configuration object.
Merge at will cdealti, you have the commit rights.
Note that this commit reverts RESET_TIMEOUT_DEFAULT to 5s. First an attempt is made to reset the dongle. If timeout occurs we assume that the bootloader is running and we send the magic byte waiting for a SYS_RESET_RESPONSE. The magic byte is 0xef by default and configurable through a new zigbee.driver.cc2530.bl.magic.byte system property.