The four basic frame types defined in 802.15.4: Data, ACK, MAC command, and beacon
The data frame provides a payload of up to 104 bytes. The frame is numbered to ensure that all packets are tracked. A frame-check sequence ensures that packets are received without error. This frame structure improves reliability in difficult conditions.
Another important structure for 802.15.4 is the acknowledgment (ACK) frame. It provides feedback from the receiver to the sender confirming that the packet was received without error. The device takes advantage of specified "quiet time" between frames to send a short packet immediately after the data-packet transmission.
A MAC command frameprovides the mechanism for remote control and configuration of client nodes. A centralized network manager uses MAC to configure individual clients' command frames no matter how large the network.
Finally, thebeacon frame wakes up client devices, which listen for their address and go back to sleep if they don't receive it. Beacons are important for mesh and cluster-tree networks to keep all the nodes synchronized without requiring those nodes to consume precious battery energy by listening for long periods of time.
参考链接:http://www.embedded.com/design/connectivity/4006430/Home-networking-with-Zigbee
本文深入探讨了Zigbee网络的基础知识,特别是802.15.4协议中定义的四种基本帧类型:数据帧、确认帧、MAC命令帧和信标帧。数据帧提供最多104字节的有效载荷,并通过编号确保所有包的跟踪。确认帧用于接收端向发送端反馈,确认数据包无误接收。MAC命令帧为客户端节点远程控制和配置提供了机制。信标帧唤醒客户端设备并维持节点同步,避免消耗大量电池电量。
1747

被折叠的 条评论
为什么被折叠?



