(The zigbee protocol stack structure consists of several layers, each layer has a set of specific service methods and the connection to the upper layer. The data entity (dataentity) provides data transfer services, and the management entity (managemententity) provides all types of services. The service entity of each layer is connected through the service)