英语翻译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 desig

问题描述:

英语翻译
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.

终端控制软件包括通讯协议堆和应用程序。其中通讯协议堆是由物理层,连接层和网络层三部分构成,其作用分别为:物理层管理数据传输与接收;连接层提供可靠地数据传输服务并管理连接层;网络层负责网络建设和网络成员管理[8][9]。应用程序是按照CodeWarrior集成开发程序设计,其与通讯协议堆之间的接口是RS232总线。以下对应用程序进行了讨论:第一,微处理器启动所有寄存器及功能模块,例如监视器,计时器,中止程序,SPI模块,I/O端口等;第二,它转向大周期去搜集道路照明系统的状态,并等待来自ZigBee网路的有效数据;之后对搜集到的数据进行处理分析;最后,根据接收到的有效信息,执行相关命令,并把命令执行结果传到控制中心。图6为应用程序流程图。

软件的终端控制器包含有协定堆叠和应用程序.协定堆叠由物理层、连接层和网络层组成.物理层的功能是管理数据的发射和接收;连接层提供可靠的数据数据输送服务和管理连接层;网络层功能是创建网络和管理网络链接.应用...