英语翻译
英语翻译
The software of the terminal controller include
ZigBee protocol stack and application program.The ZigBee protocol stack consists of physical layer,link layer and network layer.The duty of physical layer is management of data transmitting and receiving; Link layer provide reliable data transmission service and manage the link layer; Network layer have the duty to construction network and manage the network members[8][9].Application program is designed by CodeWarrior environment and the application program’s interface to ZigBee protocol stack is RS232
bus.Below,application program is discussed.First,the microprocessor initializes all register and function module,such as watchdog,timer,interrupt,SPI module,I/O port etc.Second,it moves to the main cycle to collect the status of the road lighting system and wait for valid data from the ZigBee network.And then,the received data is processed and analyzed.Last,
according to the received valid data,the corresponding command is implemented and then the executive result is delivered to the controlling centre.The application program flow chart is shown in Fig.6.
软件的终端控制器包含有协定堆叠和应用程序.协定堆叠由物理层、连接层和网络层组成.物理层的功能是管理数据的发射和接收;连接层提供可靠的数据数据输送服务和管理连接层;网络层功能是创建网络和管理网络链接.应用...