-
The Zigbee protocol stack is hierarchical, and if you want to know which layer's contents, look at the files of the corresponding layer. However, it generally depends on the application layer. The key is to keep track of how the stack runs, so you can add your own tasks based on your application.
Take a look here, with an explanation of the Z-stack stack and examples of adding your own tasks.
If you have any specific questions, ask me again
-
Although the Z-stack protocol stack is not completely open source, the project files are also quite complex, and it is impossible to read them function by function, so we can only grasp them as a whole. First understand the right thing from the application layer, run the routine, and modify the program according to your own ideas. In addition, before understanding the protocol stack, it is very important to understand the framework of the OSAL system, and there are some related articles that you can refer to to learn under the search in .
Once you know the operating system, it's much easier to read about the application and the protocol stack. Also, you can go to some zigbee forums more. Everyone can learn together.
-
All you need to do is open the IAR project file called SampleApp in C: Texas Instruments, and all the other files are included in this project file, and you start with the main function and call that function to see which one.
-
Relationship between Zigbee and the Z-Stack stack.
Zigbee is a wireless communication protocol based on IEEE standards, which is widely used in the field of Internet of Things. Z-Stack is a protocol stack provided by Texas Instruments for the Zigbee wireless communication protocol. The Zigbee standard specifies the physical and MAC layers of the communication protocol, but does not specify the implementation of other aspects such as the network layer and the application layer.
Therefore, each manufacturer needs to implement these parts on their own to meet different application scenarios and business needs. Z-stack is a protocol stack implemented by Texas Instruments based on the Zigbee standard, including multiple sub-layers such as network layer, application layer and security layer, providing a complete set of Zigbee protocol stack solutions. When using Zigbee for wireless communication, if you need to use Texas Instruments' hardware equipment, or use the development tools provided by Texas Instruments, you can choose to use the Z-Stack protocol stack provided by Texas Instruments.
The use of the Z-stack protocol stack can simplify the development process, reduce the difficulty of development, and improve efficiency in development. At the same time, because the quality and reliability of the Z-stack protocol stack has been verified by Texas Instruments, communication quality and data security can be guaranteed. However, it should be noted that Z-stack is not the only way to implement the Zigbee protocol, and manufacturers can also choose to implement the protocol stack by themselves and provide communication protocol solutions suitable for their own hardware devices.
-
Relationship between Zigbee and the Z-Stack stack.
Zigbee is a wireless communication protocol for low-power, short-range wireless transmission and communication. Z-Stack is a protocol stack specially developed for Zigbee, including the physical layer, MAC layer, network layer, application layer and other layers of protocol implementation, and provides a standard application programming interface (API) to facilitate the development of upper-layer applications. To put it simply, the Z-Stack protocol stack is an implementation of the Zigbee protocol, which provides a comprehensive set of protocol architecture and software frameworks to make the communication between Zigbee devices more reliable, efficient, and flexible.
When using Zigbee for wireless communication, it needs to be achieved through a hardware platform and an open hair environment. For different hardware platforms and system environments, rapid development and implementation can be carried out by using the Z-stack protocol stack. This allows developers to implement their own applications based on the standard Zigbee protocol without having to worry about the underlying protocol details and implementation.
In short, the relationship between Zigbee and Z-Stack protocol stack is: Zigbee is a wireless communication protocol, and Z-Stack is a software framework and development environment that provides a unified protocol implementation for Zigbee, so that Zigbee can be widely used in different hardware platforms and system environments.
-
Zigbee, like other wireless communication protocols, is constantly evolving. From the initial mesh to the development of an operational layer for different types of products, to the latest Zigbee3 0, which strongly supports the interoperability of 35 different types of products.
Based on the standard regulations, Zigbee is used in wireless network data monitoring and control applications, with a special emphasis on concise and clear ease of use, short distance, low transmission rate, low power consumption (long battery cycle times) and extremely low cost product market positioning, which can be widely used in industrial Internet of Things, home automation, medical care, smart agriculture, consumer electronics and remote operation and other industries, with broad application prospects.
The significance of Zigbee communication protocol standardization is huge, in the past, enterprises went their own way, each enterprise will have its own technical process and standard regulations, but the wireless communication modules between each other have not been formed to maintain good communication, resulting in interconnection has become an empty word, the positive significance of Zigbee standardization is here, through mutual communication links, so that everything is interconnected, promote the rapid and healthy development trend of the industrial Internet of Things, and make our work and life more intelligent and convenient.
-
Zigbee's software architecture is divided into four main layers.
1.Application layer: As can be seen from the following packet capture data, the application layer first controls some peripherals such as temperature sensors, humidity sensors, switches, etc., converts these data into digital data and then corresponds to Zigbee's cluster and device type, and then outputs these data by calling relevant functions.
2.Network layer: The network layer is mainly responsible for the operation of Zigbee's network, such as creating a network, allowing devices to join the network, assigning addresses, network keys, routing, and next hopping operations, in fact, the network layer is the interface between the application layer and the Mac layer It mainly handles network addressing and routing by calling operations in the Mac layer.
3.MAC Data Link Layer: The data link layer is provided by the standard, it is mainly responsible for addressing the output data, it determines where the data goes, and determines where the data comes from, and it is also responsible for assembling packets and frames.
4.Physical layer: The physical layer is provided by the IEEE standard and is related to the interface of the physical transmission medium (in this case, the radio), with which data bits are exchanged, and with which data bits are exchanged.
above (data link layer). In the IEEE standard, the physical layer is referred to as the IEEE physical layer.
-
Zigbee is a standards-based, low-power LAN protocol. According to international standards, Zigbee technology is a short-range, low-power wireless communication technology. The advantage of its wide range of industrial applications is that it can be freely networked without incurring operating costs.
However, due to the use of high-frequency transmission, its penetration and transmission distance are limited. The actual transmission distance is tens to hundreds of meters.
Xiamen, for, the company's WBEE products, using the same Zigbee technology principle, but it uses 433M frequency for networking, so its penetration and transmission distance have been greatly improved, and the actual transmission distance can reach 4=6km.
Its main functions are:
Support point-to-point data transfer.
Supports point-to-multipoint data transmission.
Support multi-point-to-point data transmission.
Support a variety of working modes.
Supports a variety of communication protocols.
You can configure parameters in multiple ways.
Custom debugging information output is supported to facilitate troubleshooting.
The RF frequency and transmit power level can be self-configured.
Comes with AD acquisition function.
Built-in network mode for IO control function.
Built-in network mode for IO alarm function.
-
1 Zigbee protocol refers to the communication specification of Zigbee technology. Released by the Zigbee Alliance, it has now been iterated to the standard.
2 At present, the mainstream of Zigbee is 2004 2007 Pro, which is currently the main smart home.
A computer protocol, also known as a network protocol, is a set of agreements that both parties to a communication computer must follow. >>>More
Most people will say that this is dark blue, in our textile industry terminology is "color", the color code is "ny", how do you come up with a purple, you are color blind.
The characteristics of the stack are:
1. First in and last out (like a tall steamer layer by layer, the buns placed in the bottom steamer can be taken out at the end), such as into 123, out of 321 >>>More
The feeling of smoking, in addition to being refreshing, varies from person to person and from time to time. But the only thing that is certain is that our own views on this matter must be clear. Slowly talk to yourself, take out the words in your heart, what makes sense or not, we are all our biggest knots. >>>More
"UFO" is a boring chat partner. It is what you want it to be.