Is there a way to read the driver's "Controller Type" ("ZWV" or "ZGB") field from within a driver? I don't think it is read as a "state" or "attribute", but I assume there is some way to read it.
I'm writing some code libraries that are "almost" the same between Zigbee and Zwave. If I could read the controller type, it would be easy to have one library file usable for both types of devices.