implement a end device of zigbee by zstack