Internet control system communication protocol, method and computer program

Abstract
A control system, method and computer program are provided for communicating control information in a control system. The control system includes a master controller and a plurality of devices. Each of the plurality of devices have a number of channels. Each channel has an identifying number and a plurality of channel states. The method includes at least initially directing one or more messages sent to and from each device to the master controller, sending a first type of control message from the master controller to respective devices, and sending a second type of control message and a third type of control message from the master controller to respective devices. A control message of the first type directs the respective device to place one of its channels in a specified channel state. A control message of the second type directs the respective device to set the level of a specified parameter to a certain value, and a control message of the third type comprises a character string of variable length.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


This invention is related in general to the field of network control systems. More particularly, the invention is related to an Internet control system communication protocol, method and computer program.


2. Discussion of the Background


In a fully automated environment, appliances that change the various parameters of the environment can be inked to a control area network (CAN) and a controller. The appliances may include heating, ventilation and air conditioning (HVAC) systems, lighting systems, audio-visual systems, telecommunications systems, security systems, surveillance systems, and fire protection systems, for example. One or more easy-to-use user interface, such as a touch panel, may be electronically linked to the control area network to accept user input and display current system status. AMX Corporation of Dallas, Tex. designs and manufactures such networked appliance control systems.


SUMMARY OF THE INVENTION

In accordance with the present invention, a system and method of Internet control network is provided which eliminates or substantially reduces the disadvantages associated with prior control systems.


In one aspect of the invention, the boundaries between the Internet and the control area network are made transparent and the Internet becomes a device on the control area network. The Internet is controllable by user input entered on the user interface, such as touch panel. The Internet is further capable of receiving commands from the master controller in the control area network.


In another aspect of the invention, Internet applications such as web browsers and applications executing on web servers of information content providers become devices on the control area network. The Internet applications are capable of sending commands to and receiving commands from the control area network.


In yet another aspect of the present in invention, a communication protocol is provided. The communication protocol comprises a packet protocol. The packet protocol has a protocol field for indicating the type of protocol, a length of data field for listing the length in bytes of the data field, a data field containing sub protocol data, and, a checksum for determining the integrity of the packet.


In yet another aspect of the invention, a dynamic message protocol generator is provided to enable a scripting language such as VBScript or JavaScript capable of directly communicating on any TCP/IP network connection.




BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the present invention, reference may be made to the accompanying drawings, in which:



FIG. 1 is a simplified top-level block diagram of a system and method of coupling one or more control systems to the Internet constructed according to an embodiment of the present invention;



FIG. 2 is a more detailed block diagram of a system and method of coupling one or more control systems to the Internet constructed according to an embodiment of the present invention;



FIG. 3 is a more detailed block diagram of the processes and communications between a web server and an Internet appliance server for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention;



FIG. 4 is a more detailed block diagram of the Internet appliance server processes for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention;



FIG. 5 is a more detailed block diagram of the Internet appliance server software device emulator processes for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention;



FIG. 6 is a flowchart of a process in which a content provider is a control area network device according to an embodiment of the present invention;



FIG. 7 is a flowchart of a process in which an Internet application is a control area network user interface according to an embodiment of the present invention;



FIG. 8 illustrates a block diagram of a control system in accordance with the teachings of the present invention;



FIG. 9 is a block diagram of a control area network device in accordance with the teachings of the present invention;



FIG. 10 is a block diagram of routing components of a control area network master;



FIG. 11 is an exemplary packet for messages in accordance to teaching the present invention;



FIG. 12 is an exemplary message structure in accordance to teaching the present invention; and



FIG. 13 is an exemplary message structure in accordance to teaching the present invention.




DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS


FIG. 1 is a simplified top-level block diagram of a system and method 10 of Internet control system which couple one or more control systems to the Internet constructed according to the teachings of the present invention. The implications of employing system and method 10 of the present invention are the ability to communicate with, control, and be controlled by one or more Internet nodes or Internet applications that act as one or more devices in a control system connected by a control area network (CAN). These Internet applications may include web browsers, web server applications of information content providers, and email applications. In other words, the geographical and communication protocol boundaries are transparent between a local control area network and the Internet, so that the Internet, web information content providers and web browser applications become devices in the control system. By definition, a device in the control system can send control commands to and/or receive control messages from a master controller on the control area network. Hereinafter, the word Internet may be also used to refer to an Intranet or the World Wide Web and vice versa.


System 10 includes a control network portal 12 coupled between the Internet 22 and one or more control area networks 30 and 31. Control area networks 30 and 31 are local area networks operating under transport protocols such as Ethernet, and AXLink and PhastLink of AMX Corporation (Dallas, Tex.), the assignee of the present invention, that interconnect a variety of devices, appliances and/or equipment. The underlying network connectivity 34 may be wired, wireless, power line carriers, or any suitable transmission medium. Coupled to control area networks 30 and 31 are a plurality of devices, appliances and/or equipment, including control area network user interfaces (CAN UI/F) 35, master controllers 36, and Internet appliances 37-39. Some devices may be coupled to control area networks 30 and 31 via additional intermediate communications devices, such as an RS 232 controller (not shown).


Control area network user interface device 35 is any device that is capable of receiving user input and displaying or indicating control network status. For example, a touch panel, a computer terminal with a monitor, keyboard and pointing device, and any device with similar functionalities may serve as control area network user interface 35. As described in detail below, with the use of control area network portal 12 of the present invention, Internet applications are also capable of functioning as control area network user interface devices without the use of custom and dedicated applications on the user's end.


Master controller 36 is generally a CPU-based controller that controls the communications among user interface 35 and Internet appliances 37-39. It is operable to receive user inputs received by user interface devices, such as commands, and instruct the appropriate Internet appliance to act according to the command. Master controller 36 may also poll each device in control area network 30 periodically to monitor its status. The system status and/or the status of each device may be sent to control area network user interface devices for display.


Internet appliances 37-39 are devices that can receive commands from master controller 36 and operate or act according to the command. Internet appliances 37-39 may include equipment that affect or monitor the various parameters of the premises. For example, Internet appliances 37-39 may include heating and air conditioning, lighting, video equipment, audio equipment, sprinklers, security cameras, infrared sensors, smoke detectors, etc. in a residential or commercial control area network. Household appliances, such as a hot tub, fireplace, microwave oven, coffee maker, etc. may also be Internet appliances coupled to the network. Internet appliances 37-39 may also be capable of providing a current status of its operational state to master controller 36, such as on/off, temperature settings, current ambient temperature, light intensity settings, volume settings, threshold settings, and predetermined alphanumeric strings reflective of operational states.


Master controller 36 is also operable to receive user input from nodes of the Internet 22 via control network portal 12. Connected to Internet 22 are content providers 25 and 26, which may also function as control area network user interface devices. Content providers 25 and 26 are typically web servers that generate and provide static and/or dynamic information and content in the form of web pages. Content provider applications executing on the web server are able to mine data stored in databases (not shown). The web pages are typically developed with hypertext markup language (HTML), and various other scripting languages and programming environments such as Microsoft® Active Server Pages (ASP), Common Gateway Interface (CGI), Internet Server Application Programming Interface (ISAPI), JAVA, ActiveX, Cold Fusion, etc. that make the web pages more dynamic and interactive.


Also connected to the Internet 22 are web browsers 23 and 24 that may also serve as control area network user interfaces. Web browsers 23 and 24 are application programs that can be used to request web pages from content providers 25 and 26 and decode the web pages. Web browser applications include NETSCAPE NAVIGATOR® and MICROSOFT INTERNET EXPLORER®, for example. Typically, a user executes a web browser application on her personal computer and accesses the World Wide Web via a dial-up connection to an Internet service provider. The Internet or World Wide Web may also be accessed via other means such as cable modems and digital subscriber lines (DSL). The user makes a request for a particular web page or particular web site by entering or specifying a uniform resource locator (URL). The URL is associated with an Internet protocol (IP) address of the specified web site. Every computer connected to the World Wide Web and Internet has a unique IP address. This address is used to route message packets to specific computers and users. Internet protocol or IP is the message transport and communications protocol of the Internet and World Wide Web.


When the web browser requests a certain URL, a connection is first established with a web server of a content provider that is addressed by the URL. A hypertext transport protocol (HTTP) request is then issued to the web server to download an HTML file. The web server receives the request and sends a web page file to the web browser, which decodes the file to display information in specified format on the screen. Web pages with dynamic content provided by gateway interfaces such as CGI and ISAPI are executable applications that are run by the web server upon user request. The executing gateway application is able to read parameter information associated with the request and generate an output in the form of an HTML file in response to the parameter values. Another way to add dynamic and interactive content to web pages uses ASP. ASP scripts are server-side executable scripts that are directly incorporated in the HTML web pages. Upon request for the page, the web server executes the ASP script in response to input parameter values and generates the web page with dynamic content.


Using control network portal 12, users may access control area networks 30 and 31 via web browsers 23 and 24 accessing web pages provided by control network portal 12 or value-added web pages provided by content providers 25 and 26. For example, a user who has a control area network deployed in her luxury residence to control various aspects of the home environment may use a web browser application to remotely monitor her home. She may change the temperature setting to decrease energy use, for example, because she will be leaving on a business trip straight from work. She may also use the surveillance cameras to visually ensure security has not been breached. She may even be able to remotely program her VCR to record certain favorite programs that will be broadcast while she is away.


An example of value-added web pages provided by content providers is the provision of an interactive version of the television programming web page, www.tvguide.com. A user may request this web page, determine available program choices, and click on a certain program. Options may be provided to enable the user to turn on the television and tune to a particular channel scheduled to broadcast the selected program or to program the VCR to record the selected program.


Another example of value-added web pages provided by content providers is the provision of a secured web page that an electric company may access to slightly raise the temperature settings of the air conditioning systems of its participating customers in anticipation of high demand brown out conditions. Yet another example is a web page that a security company may use to access, monitor and control the security, surveillance and fire protection systems of its customers.



FIG. 2 is a more detailed block diagram of a system and method 10 of coupling one or more control system to the Internet constructed according to an embodiment of the present invention. Control area network portal 12 may include a web server 13 coupled to the Internet 22. Web server 13 is also coupled to an Internet appliance (IA) server 14, which may also be coupled to a control network server 40. Control network server 40 is coupled to control area network 30 that links several appliances and systems, such as fire protection systems 50, heating, ventilation and air conditioning (HVAC) systems 51, lighting systems 52, audio and visual systems 53, and security systems 54. Control area network 30 is also coupled to user interface devices 55 and master controller 36.


It may be noted that control network portal 12 may be implemented by a single stand-alone system that has sufficient memory and processing power or several separate systems with distinct functions as shown in FIG. 2. Web server 13 is operable to receive requests of web pages from web browser 23 and to respond by generating and providing the requested web pages. The information content of the web pages may be dynamically obtained by communicating with IA server 14, which is operable to communicate with master controller 36 via control network server 40 to obtain status and other information. Control network server 40 is used only if there is protocol conversion or other control issues needed to operate the control area network. It may be thought of, logically, that IA server 14 is directly coupled to the network and functions as a device on the network. Commands entered at a web browser are sent to web server 13, which relays the commands to master controller 36 via IA server 14 and control network server 40. Master controller 36 then instructs appropriate appliances and/or systems in the control network to act according to the received command.



FIG. 3 is a more detailed block diagram of the processes and communications between a web server 13 and an Internet appliance server 14 for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention. Web server 13 may include one or more CGI processes 70 for responding to CGI requests from the Internet and one or more ASP processes 76 for responding to ASP requests form the Internet. It is contemplated by the present invention that other processes able to handle other extensions to HTML or other types of requests may also be provided. It is also contemplated by the present invention that web server 13 may merely pass through the received IP message if extension processing is not required. Further, a special protocol process, such as an Internet control system protocol (ICSP) process, which takes the IP message from the Internet and forms a message of the type and protocol understood by IA server 14. The ICSP protocol is designed by AMX Corporation. The CGI, ASP and other processes may be dynamically spawned when there is a request of the corresponding type received by web server 13. ASP process 76 may include a dynamic protocol generator 82, which enables web pages provided by web server 13 to generate, send and receive TCP/IP messages to IA server 14 and the Internet. In other words, dynamic protocol generator 82 enables a scripting language such as VBScript or JavaScript to be capable of directly communicating on any TCP/IP network connection. Details of dynamic protocol generator 82 are described below.


IA server 14 includes a CGI handler 72, which communicates with CGI process 70, and an ASP handler 78, which communicates with ASP process 76. Handlers 72 and 78 are operable to provide a translation function from IP to a protocol used in the control area networks, such as PhastLink or AXLink in AMX Corporation control area networks. IA server 14 is operable to spawn a software logical or virtual device that is representative of or associated with a physical device directly connected to a control area network or a content provider coupled to the Internet. Multiple software logical devices may be connected to a single control area network or content provider, if needed. Devices, whether physical or logical, are assigned a system identifier (system ID) and a unique device identification number (device ID) used to indicate the destination or origination of messages. One or more protocol converters 92 may be provided to translate from the protocol used internally in IA server, such as ICSP, to other protocols used in the control area networks, such as AxLink or PhastLink. A protocol converter is not necessary if the protocols employed in IA server 14 and a control area network 30 are the same.



FIG. 4 is a more detailed block diagram of the Internet appliance server processes for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention. Coupled to CGI handler 72 and ASP handler 78 is a software device emulator 90 that is operable to spawn one or more software logical devices 86, which are software representations of devices connected to the control area networks or content providers connected to the Internet. Software device emulator 90 communicates with a protocol converter layer 92 which provides a protocol translation function between the IA server protocol and the control area network protocol, if they are different. A CAN transport protocol client 94 is also provided to communicate with the control area network coupled to IA server 14.


By the use of software logical devices, Internet applications such as web content providers appear to IA server 14 no different than devices connected to a control area network. Therefore, it appears that Internet applications like content providers on the web are able to directly communicate with the master controllers of the control area networks to issue commands to devices in the control area networks. Similarly, Internet applications appear to be devices on the control area network that can be controlled by the master controller. The master controller is able to issue commands to the Internet applications.



FIG. 5 is a more detailed block diagram of the Internet appliance server software device emulator processes 90 for coupling one or more control systems to the Internet constructed according to an embodiment of the present invention. Emulator 90 includes an Internet control system protocol (ICSP) software device core 100. Software device core 100 communicates with the web server via a device application program interface (API) 110. Software device core 100 also communicates with the control area networks via control area network I/O queues 112. Emulator 90 also includes a CAN input message processor 102, a device state maintenance process 104 and a device state storage process 106. CAN input message processor 102 is operable to receive input messages and parse the fields of the message to determine a message destination. The message destination specifies a software logical device to receive the message. Recall that software logical device may represent a device on a control area network or an Internet application on the Internet. Device state maintenance process 104 is operable to determine a current state of a software logical device and to determine a next state in response to the processed message. Device state storage 106 is operable to store state transition logic of each software logical device for use by device state maintenance process 104.


Referring to FIG. 6, which shows a flowchart of an embodiment of a process 150 in which a command entered at a CAN user interface is delivered to a content provider on the Internet according to the present invention. A user enters data on a user interface device coupled to a control area network, as shown in block 152. The user interface device may be a touch panel or a computer terminal with a monitor, keyboard and mouse, for example. The user may enter an alphanumeric string, click on a button icon on the screen, push a button on the touch panel, or effect any other suitable input. The data entry may require the user to also submit the entered data, such as pushing a Submit or Enter button, as shown in block 154. The user interface device then forms a control system message incorporating the entered data and the sender and recipient of the message, as shown in block 156. The master controller then sends the message onto the control area network, as shown in block 158. The sender and recipient are specified by a unique combination of system ID and device ID. The recipient may be determined by the data entered by the user. For example, the user may have pushed a button associated with updating the web page of the content provider. The content provider is previously assigned a unique combination of system ID and a device ID.


The master controller on that network receives the message and processes the message, as shown in block 160. An output channel state associated with the submit button of the user interface device is turned ON by the master controller to indicate that the data is being sent. The ON state of the output channel of the submit button is conveyed to the user interface, which may highlight the submit button or display a predetermined character string as a means of feedback to the user. In block 164, the master controller then forwards the message to the protocol converter associated with the recipient software logical device in the IA server. The protocol converter then translates the message from the sender protocol to the recipient protocol, as shown in block 166. Note that protocol conversion is not necessary or is null if the sender protocol is the same as the recipient protocol.


In block 168, the translated message is then sent or otherwise conveyed to the software logical device that represents the recipient convent provider. The recipient software logical device receives the message and stores the message content in a data structure at a specific location specified by an index value, such as a number, which corresponds to the channel number of the recipient software logical device, as shown in block 170. The stored message is accessible by specifying the index number. The software logical device then changes the state of an output channel of the same channel number to ON, as shown in block 172. It may be noted that each device, whether physical or logical, may have one or more channels, each indicative of a specific function, parameter or property. Further, each channel may have an input and an output channel state.


Periodically or at its discretion, the recipient Internet application checks the output channel states of the software logical device associated therewith, as shown in block 174. The Internet application recognizes that an output channel state is ON and therefore the data associated with that channel has been changed. In block 176, the Internet application queries the software logical device for the data by specifying the index value. In response, the software logical device sends the message to the Internet application, as shown in block 178. The Internet application receives the message and uses and acts according to the data in an appropriate manner. The software logical device turns OFF the input channel state, as shown in block 182, and turns ON the output channel state of the same index value, as shown in block 184.


The master controller recognizes a change in the input channel state of the software logical device representing the Internet application, as shown in block 186. In response, the master controller turns OFF the output channel of the user interface device, which is used to notify the user that the requested action has been completed, as shown in block 188. A change in the color or shade of the displayed button or the display of a predetermined string may be used to inform the user, as shown in block 190. The process ends in block 192.



FIG. 7 is a flowchart of an embodiment of a process 200 in which an Internet application functions as a user interface in the control system according to the teachings of the present invention. In block 202, a user enters and submits data on an Internet application. The Internet application may be an application executing on a web server of a web content provider, a web browser, or any other suitable Internet-based application program. The Internet application may be operable to receive an alphanumeric string entered by the user, the activation of a displayed image or icon, or a combination of keystrokes entered by the user. The Internet application then requests connection to the control system by specifying an IP address and port number of the recipient software logical device, as shown in block 204. The web server is connected with the Internet application and receives the IP message containing the entered data, as shown in block 206. The web server then instantiates one or more processes to handle the received message, as shown in block 208. For example, a CGI process may be provided to handle CGI scripts or an ASP process may be provided to handle ASP scripts. In the case of a web browser connecting to the web server, the instantiated process extracts data from the IP message received from the Internet application and forms a message of a protocol used by IA server 14, such as ICSP. In the case of a content provider connecting to the web server, the message is preferably already in the form of a ICSP message transported by IP, which does not require protocol conversion. The spawned process then sends the ICSP message to the software logical device associated with the recipient device in the control system, as shown in block 210. The recipient is identified by a system ID and a device ID.


The software logical device then stores the message content in an indexed position in a data structure, as shown in block 212. The software logical device turns ON the input channel associated with the index number, as shown in block 214. The master controller becomes aware of the input channel state change by periodically polling the channel states, as shown in block 216. The master controller may alternatively be triggered to query the channel states by some mechanism other than time. The master controller then requests the message content at the specified index number be sent to it, as shown in block 218. The software logical device then sends the message content to the master controller, which forwards the message content to the physical device in the control system, as shown in block 220. The device receives the data and acts accordingly, as shown in block 222. The master controller may also send the same data to a user interface in the control area network to update the display, as shown in block 224. The software logical device then turns OFF the input and output channels, as shown in block 226. The OFF states of the input and output channels notifies the Internet application, which may periodically poll the software logical device to determine the input and output channel states, that appropriate action has been taken in response to the entered data, as shown in block 228. The process ends in block 230.


It may be noted that the use of input and output channel states to notify the recipient that data is available and the sender that an action has been completed is merely provided herein as an example. Other means may be used for this function.



FIG. 8 illustrates a block diagram of a control system 310 in accordance with the teachings of the present invention. FIG. 8 shows an Internet web servers 312 coupled to a plurality of databases 314. Web servers 312 are coupled to the Internet 316 via communication lines 313. While the Internet is used as a network, the web servers could be connected to any systems or wide array networks, local area networks or Intranets. Communication lines 313 can be any direct or wireless connection.


Internet 316 is coupled to an Internet appliance server 320. Internet appliance server 320 is coupled to a plurality of control area networks 322. Each control area network has one master 324 and a variety of control area network devices 326 which can include touch panels, audio/visual equipment, and the like. Control area network devices 326 are equivalent to the Internet appliances described previously.


Web servers 312 are computers having a processor, such as an INTEL or Motorola processor, and memory. Web server 312 runs a web server program operable to provide web pages to a requesting user, the requesting user typically using a web browser.


Databases 314 are operable to store information that can be used by web servers 312 to provide content that may be required by a control area network device 326. This can include information such as CD lists, television listings, sports data, stock information or any other type of information that may be used by control access network device 326.


Internet 316 is the collection of networks located across the world interconnected for user and computer communication, including the part of the Internet known as the World Wide Web. While system 310 shows web server 312 connected to the Internet 312, web servers 16 can be connected to any system of wide area networks, local area networks or Intranets.


Internet appliance server 320 is a device operable to act as a gateway between devices connected to the Internet 316 and control area network 322. Internet appliance server 320 is, in one embodiment operable to translate messages generated by web server 317 to messages useable by control area network devices 326.


In system 310, devices 326 communicate with other devices on the same control area network 322 or different control area networks 322. Devices 326 also receive messages generated outside the control area network 322 or generated by the master 324. All message sent by device 326 is routed through the master 324 on the control area network 322.



FIG. 9 is a block diagram providing an exemplary control area network device 326 in accordance with the teachings of the present invention. Device 326 comprises the communication line 440 coupled to a communication jack 442, which, in one embodiment is an RJ45 jack. A message handler 444 is coupled to communication jack 442. Message handler 444 is further coupled to one or more ports 448. Each port 448 comprises one or more levels 450 and channels 452. Each port 448 may be connected to an RS-232 connection 454 which in turn connects to a nine-pin connector 460 and a RS-232 IO interface 464, for example. Each level 450 is connected to a voltage regulator 456 which in turn connects to a two-pin interface 462 and provides a voltage out 467. Each channel 452 is connected to a relay 458 which in turn connects to a two-pin connector 461 and provides a contact out 468.


In operation, messages in the first protocol, such as Phastlink+, PL+ or ICSP developed by AMX Corporation are received by a communication line 440 from a source such as a master controller 324. Message handler 444 receives the messages. Message handler 444 is responsible for receiving the message and sending the message to the appropriate port 448.


Port 448 is a control output or input on the device that is discreetly addressable. An example of a port could be an infrared generator device. There can be multiple ports in a device. Each port 448 would be numbered separately. Ports 448 can communicate with the outside world through an RS-232 interface 464, different interfaces or no interface at all.


As part of a port 448, channels 452 are provided. A channel is a part of port 448 and can take on a binary value of either on or off. In one embodiment, each port 448 can have up to 65,535 channels 452. Channels 452 are typically connected to relays 58 which can be in an on or off condition. Relay 458 is connected to a contact out 468, which allows on or off control of whatever port 448 is connected to. Channels 448 are bi-directional and can be input channels, output channels, or input/output channels.


Levels 450 are in some ways similar to channels. The main difference is that levels can take on any number of values instead of just a binary 0 or 1. Typical uses for levels include setting volume level, setting light level, etc.


Thus, the purpose of message in this protocol is to send and receive controls for devices, which are attached to control area network as well as send and receive status and routing information. For example, for the device shown above, a message could be sent to device 326, which would turn on a television, set a volume level for the television, and then perhaps scroll some information across television screen. This could be accomplished by a message sent to device 326 and interpreted by message handler 444. The message may have a command to turn the television set on and that would be sent to the channel, which would then control the relay to turn the television on. To set the volume level, the message command to set the level at a certain value is received at message handler 444. The command goes to level 450 and then to the voltage regulator 456 which in turn would then set the level by two-pin connector 462. The scrolling message might then go through the port 448 through the RS-232 port and displayed on the television connected to serial port DB-9 460.


A device can be a user interface or a controlling device, or both. User interfaces are things such as touch panels, one way wireless handheld transmitter, or custom panels. The controlling device provides the control methods for a device. For example, IR generators are controlling devices that can control a VCR, television, or other item. Each device in the system has its own unique device number, as well as port numbers and channels and levels that could be accessed.



FIG. 10 illustrates a block diagram of routing components of a master controller 324. These components comprise a connection manager 530, which provides connections between higher level managers and lower level drivers. ICSP connection manager 530 is coupled to a phastlink driver 510 via a PL to ICSP protocol conversion 522. An AXlink driver 512 is coupled to ICSP connection manager 530 via an AXlink to ICSP protocol conversion 520. Phastlink and Axlink are exemplary protocols used on control access networks.


Additionally, an RS-232 driver 514 is coupled to ICSP connection manager 530 via a PPP driver 518 coupled to a TCP/IP stack 524 and an IP port connection manager 526. ICSP connection manager 530 is coupled to ethernet driver 516 via TCP/IP stack 524 and IP port connection manager 526. RS-232 driver 514 provides connectivity to RS-232 devices and Ethernet driver 516 provides connectivity to devices attached to an Ethernet connection.


ICSP connection manager 530 is coupled to ICSP message dispatcher 532. ICSP message dispatcher 532 can send messages to different managers including a diagnostic manager 534, a device manager 536 or a configuration manager 538.


PL to ICSP protocol conversion 522 converts from phastlink (PL) to ICSP and vice versa. In some embodiments PL to ICSP protocol conversion 522 is operable to de-multiplex incoming multiple messages into multiple messages destined for ICSP connection managers and multiple outgoing messages into a single packet for PL devices. AXlink to ICSP protocol conversion 520 converts messages between devices that use the AXlink protocol to ICSP protocol and vice versa.


ICSP connection manager 530 is operable to provide routing functionality. ICSP connection manager can route to local masters, local devices, remote masters and remote devices. Routing is accomplished by first routing a message to the appropriate system master and then to the correct device. The destination will be contained in the header of the packet as discussed below.


IP port connection manager 526 is operable to manage all IP connections, except standard Internet protocols. Standard Internet protocol 528 provides for standard protocols such as HTTP, FTP, SMNP and SMTP.


ICSP message dispatcher 532 determines the category of the message, such as diagnostic message, device specific messages and configuration messages and routes them to their specific message managers. These include the diagnostic manager 534, the device manager 536, and the configuration manager 538 and any other managers.



FIG. 11 is a diagram of an exemplary packet for messages in accordance to teaching the present invention. The first field is a protocol field 670, and in one embodiment, one byte size. Protocol field identifies the format of the data section of the packet with some protocol. Length of data field 672 indicates the total number of bytes in the data portion of the packet. Flag field 674 can be one of two types of flags. One is a broadcast flag. The broadcast flag will send a broadcast message to all devices on a network. A newbie flag is placed in flag field 674 when a device is added to the network. This will then cause a response from the master indicating that it received the message from the newbie device.


Destination system field 676 allows for the addressing of the message to reach a specific system. A system is, in one embodiment, a complete control area network with a single master. Thus, message can be directed to one of many different control area networks. In one embodiment control system field is two bytes in size. Destination device field 678 lists the number the device that the message is being sent. The device range can be anywhere between 0 and 65,535. Destination port field 680 lists the specific port of the device that the message is destined for. In one embodiment the protocol supports up to 65,535 ports on the device.


Source system field 682 is the number of a system where the message originates. Source device field 684 lists the device that the message originated from. If the device number is 0, this indicates that the master of that control area network is the enunciator of the communication. Source port field 686 lists the port where the message originated.


An important aspect of addressing is the sequencing of messages. There are certain messages and circumstances under which messages must be delivered in the order intended. This requires that each device be guaranteed the correct order for delivery. However, while messages destined for a certain device must be delivered in the order intended, out of order messages are possible when destined for different devices.


Allowed hop count field 688 indicates how many hops can occur before the message is purged from the system. Each time a message passes through a master, the allowed hop count field is decremented by one and checked to see if it reaches zero. Once the count reaches zero, the master generates an error message indicating that the message has not reached the sender with an air. Message I.D. field 690 contains the unique identification number for a message. This message I.D. is used by low level communication algorithms to correlate in the original message with its acknowledge and response.


Message command field 692 and message data 694 represent the actual message being sent in the packet. Each packet is decoded by reading the message field 692 and performing the appropriate functions. Some commands are designed for communication between a device manager located in the master and other ones are intended for communication with the connection manager located in the master. TABLE A below lists exemplary messages that are valid between a device manager and the device or master. First column lists the command, the second column lists the value of the command, the third column lists the valid response from the device for that command, and the fourth column lists the valid response for the master of that command and the fifth column lists the description of the command. For example, command input channel OFF status is sent from a device to a master, which sends the input channel off status to the master. The value of the command sent in the command value of the command field 692 is 0x0085. Because the device is sending the message there is no response for the device. The master response is 0x0001, which is the command for acknowledge and the description of the command indicates that the input channel is in the off status. Thus, this command would be sent by a device after being queried by the master to say that its input channel is in the off status, or it can be sent unsolicited. The master would then send back an acknowledgment.

TABLE AValid ResponseMessages FromCommandValueDEVICEMASTERDescriptionAcknowledge0x0001NoneNoneConfirmation of messagereceipt.Nak0x0002NoneNoneIndicates failed deliveryof a message.Input Channel ON Status0x0084Error0x0001Input channel turned ON(PUSH)status message (PUSH).(Device->Master)Input Channel OFF Status0x0085Error0x0001Input channel turned(RELEASE)OFF status message(Device->Master)(RELEASE)Output Channel ON0x00060x0086,0x0086Output turn ON message.(Master->Device)0x0088,If device does notorsupport channels, then0x0001message is only ACKed.Output Channel ON Status0x0086Error0x0001Output turned ON status(Device->Master)message.Output Channel OFF0x00070x0087,0x0087Output turn OFF(Master->Device)0x0089,message. If device doesornot support channels,0x0001then message is onlyACKed.Output Channel OFF Status0x0087Error0x0001Output turned OFF status(Device->Master)message.Input/Output Channel ON0x0088Error0x0001Input and Output channelStatus (Device->Master)turned ON message.Input/Output Channel OFF0x0089Error0x0001Input and Output channelStatus (Device->Master)turned OFF statusmessage.Feedback Channel ON0x0018N/AN/AIndicates the feedbackstate the master ismaintaining. Onlygenerated for Diagnosticpurposes.Feedback Channel OFF0x0019N/AN/AIndicates the feedbackstate the master ismaintaining. Onlygenerated for Diagnosticpurposes.Level Value0x000A0x008A0x008AA level value changed.(Master->Device)orIf device does not0x0001support levels, thenmessage is only ACKed.Level Value0x008AError0x0001A level value changed.(Device->Master)String0x000B0x00010x0001Used to transfer a(Master->Device)“String”.String0x008BError0x0001Used to transfer a(Master->Device)“String”.Command0x000C0x00010x0001Used to transfer a(Master->Device)“Command”.Command0x008CError0x0001Used to transfer a(Device->Master)“Command”.Request Level Value0x000EError0x008ARequests the status of(Master->Master)orspecified level value. If0x0001the level does not exist,the response message isACK.Request Output Channel0x000FError0x0086,Requests the status ofStatus0x0087,specified Output channel(Master->Master)oror ALL Output channels0x0001that are ON (if channel = 0).If the request is for allchannels and none are onthen response is ACK.Request Port Count0x0010Error0x0090Request number of ports(Master->Master)used by device.Assumed 1 if noresponse.Port Count by0x0090Error0x0001Number of ports used(Device->Master)device. Sent upon(Master->Master)reporting by a device if ithas more than one Port.Sent by a master as aresponse to Request PortCount.Request Output Channel0x0011Error0x0091Request number ofCountoutput channels used by(Master->Master)specified port on device.Assumes 256/port if noresponse.Output Channel Count0x0091Error0x0001Number of channels used(Device->Master)by specified port. Sent(Master->Master)upon reporting by adevice/port if it hasmore than 256 channels.Sent by a master as aresponse to RequestOutput Channel Count.Request Level Count0x0012Error0x0092Request number of(Master->Master)levels used by specifiedport. Assumes 8/port ifno response.Level Count0x0092Error0x0001Number of levels used(Device->Master)by specified port. Sent(Master->Master)upon reporting by adevice/port if it has morethan 8 levels. Sent by amaster as a response toRequest Level Count.Request String Size0x0013Error0x0093Request number of bytes(Master->Master)supported by device/portfor a singleSEND_STRING.Assume 64 bytes if noresponse.String Size0x0093Error0x0001Number of bytes/string(Device->Master)supported by device.(Master->Master)Sent upon reporting by adevice/port if it supportsthan 64 byte strings. Sentby a master as aresponse to RequestString Size.Request Command Size0x0014Error0x0094Request number of bytes(Master->Master)supported by device/portfor a singleSEND_COMMAND.Assume 64 bytes if noresponse.Command Size0x0094Error0x0001Number of(Device->Master)bytes/command(Master->Master)supported by device.Sent upon reporting by adevice/port if it supportsthan 64 byte commands.Sent by a master as aresponse to RequestCommand Size.Request Level Size0x0015Error0x0095Requests the datatypes(Master->Master)supported by a level.Assume BYTE (Type0x10) if no response.Level Size0x0095Error0x0001Highest data type(Device->Master)supported for a level.(Master->Master)Sent upon reporting by adevice if it supports morethan BYTE (Type 0x10)data types. Sent by amaster as a response toRequest Level Size.Request Status0x0016Error0x0096Request status of the(Master->Master)device and or Port.Status0x0096Error0x0001Sent by device to update(Device->Master)master of Status. Sent by(Master->Master)master as a response toRequest Status.Request Device Info0x00170x00970x0097Type of device, version,(Master->Device)etc including sub-devices.Device Info0x0097Error0x0001Response to above.(Device->Master)Device Info EOT0x0098NoneNoneIndicates that all(Master->Device)previously requestedDevice Info has beentransferred.Request Master Status0x00A1Error0x0021Request the status of a(Device->Master)system master.(Master->Master)Master Status0x00210x00010x0001Master status. Used to(Master->Device)indicate various states of(Master->Master)a Master.


The “Value” field from TABLE A is placed in the “MC” (MessageCommand) field of the packet. Any Message Data required is placed in the variable length “MD” (MessageData) field.


The following is a more detailed description of exemplary commands.


Acknowledge


This message is generated by the master or device to confirm receipt of a message sent. The MessageID field must match the original message's MessageID and the Response bit should be set.


Message and Parameters:

FieldValue(s)DescriptionMC0x0001Acknowledge ValueMD<None>Nothing


Nak


This message is generated by the master when the destination system/device for the message does not exist. This message indicates that a previous message was not routable by the master. The MessageID field must match the original message's MessageID and the Response bit should be set.


Message and Parameters:

FieldValue(s)DescriptionMC0x0002Nak ValueMD<None>Nothing


Input Channel ON Status (Device->Master)


The Input Channel ON message is generated when a button is PUSHed or Input channel is turned ON from a device/port or a master.


Message and Parameters:

FieldValue(s)DescriptionMC0x0084Input Channel ON ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Input Channel OFF Status (Device->Master)


The Input Channel OFF message is generated when a button is RELEASEd or Input channel is turned OFF from a device/port or a master.


Message and Parameters:

FieldValue(s)DescriptionMC0x0085Input Channel OFF ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Output Channel ON (Master->Device)


The Output Channel ON message is generated when an Output channel is turned ON from a master.


Message and Parameters:

FieldValue(s)DescriptionMC0x0006Output Channel ON ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Output Channel ON Status (Device->Master)


The Output Channel ON Status message is generated when an Output channel is turned ON from a device/port. Note that when the master turns a channel ON, it assumes the channel is ON. Therefore, the device should not send this message in response to the channel being turned ON by the master.


Internally, this triggers an output event to occur in the Axcess language.


Message and Parameters:

FieldValue(s)DescriptionMC0x0086Output Channel ON Status ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Output Channel OFF (Master->Device)


The Output Channel OFF message is generated when an Output channel is turned OFF from a master.


Message and Parameters:

FieldValue(s)DescriptionMC0x0007Output Channel OFF ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Output Channel OFF Status (Device->Master)


The Output Channel OFF Status message is generated when an Output channel is turned OFF from a device/port. Note that when the master turns a channel OFF, it assumes the channel is OFF. Therefore, the device should not send this message in response to the channel being turned OFF by the master.


Internally, this triggers an output event to occur in the Axcess language.


Message and Parameters:

FieldValue(s)DescriptionMC0x0087Output Channel OFF Status ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Input/Output Channel ON Status (Device->Master)


The Input/Output Channel ON Status message is generated when an Input/Output channel is turned ON from a device/port.


Message and Parameters:

FieldValue(s)DescriptionMC0x0088Input/Output Channel ON Status ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Input/Output Channel OFF Status (Device->Master)


The Input/Output Channel OFF Status message is generated when an Input/Output channel is turned OFF from a device/port.


Message and Parameters:

FieldValue(s)DescriptionMC0x0089Input/Output Channel OFF Status ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Feedback Channel ON


The Feedback Channel ON message is generated for diagnostic purposes only. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValue(s)DescriptionMC0x0018Feedback Channel ONMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Feedback Channel OFF


The Feedback Channel OFF message is generated for diagnostic purposes only. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValue(s)DescriptionMC0x0019Feedback Channel OFFMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value.


Level Value (Master->Device)


This message is used to force a level value change from the master.


Message and Parameters:

FieldValue(s)DescriptionMC0x000ALevel Value ChangeMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]LevelUnsigned 16-bit value.MD[9]ValueTypeUnsigned 8-bit value.SpecifierMD[10 . . . n]ValueDynamically sized. Sizeindicated by MD[9].


The Value Type Specifier field specifies how the following data (MD[10 . . . n]) is interpreted. The table below indicates the values of MD[9] as they correlate to data types.


ValueType Specifiers:

TypeSpecifier# of BytesBYTE0x101CHAR0x111WIDECHAR0x202INTEGER0x202SINTEGER0x212ULONG0x404LONG0x414FLOAT0x4F4DOUBLE0x8F8


The LevelType command is used to query a device to determine the dynamic range supported by the device. This information is then used to generate messages appropriate to the device.


Level Value (Device->Master)


This message is used to indicate, to the master, that a device/port/level value has changed.


Message and Parameters:

FieldValue(s)DescriptionMC0x008ALevel Value ChangeMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]LevelUnsigned 16-bit value.MD[9]ValueTypeUnsigned 8-bit value.SpecifierReference 2.2.5.3.13Level Value (Master->Device) for anexplanation of this and the next field.MD[10 . . . n]ValueDynamically sized.Size indicated by MD[9].


String (Master->Device)


The String message is generated by the master to communicate a String. The format of a String is similar to a “C Language” string, however, the semantics are different. A String in a control system context is used to generate a “control” message. This “control” message could cause a laser disc player to begin playing a disc, display a message to the user of the system, or any number of any other uses. The string will be converted, as necessary, to any format that the device supports as determined by the StringSize message.


Message and Parameters:

FieldValue(s)DescriptionMC0x000BString ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value.SpecifierMD[8 . . . 9]LengthUnsigned 16-bit value. Number ofcharacters in string (i.e. numberof elements, this is notthe number of bytes)MD[10 . . . n]StringLength characters. (n or n*2 bytes)


String ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR“Normal”0x01 8-bitVariable length stringsArraysString(i.e. an array of characters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters)


String (Device->Master)


The String message is generated by a device, sent to the master, to communicate a String.


Message and Parameters:

FieldValue(s)DescriptionMC0x008BString ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value.SpecifierMD[8 . . . 9]LengthUnsigned 16-bit value. Number ofcharacters in string (i.e. number ofelements, this is not the numberof bytes)MD[10 . . . n]StringLength characters. (n or n*2 bytes)


String ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR“Normal”0x01 8-bitVariable length stringsArraysString(i.e. an array of characters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters)


Command (Master->Device)


The Command message is generated by the master to communicate a command string. The format of a Command is similar to a “C Language” string, however, the semantics are different. A Command in a control system context is used to generate a “control” message. This “control” message is generally intended to “command” the controlling device, not the controlled device. For example, a command to an RS232 port might enable XON/XOFF flow control. This command affected the controlling device, but not the controlled device.


Message and Parameters:

FieldValue(s)DescriptionMC0x000CCommand ValueMD[1 . . .2]DeviceUnsigned 16-bit value.MD[3 . . .4]PortUnsigned 16-bit value.MD[5 . . .6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value.SpecifierMD[8 . . .9]LengthUnsigned 16-bit value. Number ofcharacters in string (i.e. number ofelements, this is not the number of bytes)MD[10 . . .n]CommandLength characters. (n or n * 2 bytes)


Command ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR Arrays“Normal”0x01 8-bitVariable length stringsString(i.e. an array ofcharacters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters


Command (Device->Master)


The Command message is generated by a device, sent to the master, to communicate a Command string.


Message and Parameters:

FieldValue(s)DescriptionMC0x008CCommand ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value.SpecifierMD[8 . . . 9]LengthUnsigned 16-bit value. Number ofcharacters in string (i.e. number ofelements, this is not the number of bytes)MD[10 . . . n]CommandLength characters. (n or n * 2 bytes)


Command ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR“Normal”0x01 8-bitVariable length strings (i.e.ArraysStringan array of characters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters)


Request Level Value (Master->Master)


The Request Level Value message is generated by the master to request the level value of a level.


Message and Parameters:

FieldValue(s)DescriptionMC0x000ERequest Level ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]LevelUnsigned 16-bit value.


Request Output Channel Status (Master->Master)


The Request Output Channel Status message is generated by the master to request the status of a single Output Channel or status of all Output Channels.


Message and Parameters:

FieldValue(s)DescriptionMC0x000FRequest Output Channel Status ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]ChannelUnsigned 16-bit value. If zero then therequest is for a status update for all channelson the specified port.


Request Port Count (Master.->.Master)


This message requests, from the destination device, the number of ports supported by the device. The initial assumption that the master makes is that each device in the system has one port. If the device does not respond, the master assumes that it has one port.


Message and Parameters:

FieldValue(s)DescriptionMC0x0010Request Port Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.


Port Count (Device->Master, Master->Master)


This message is the response from a master to the Request Port Count message above. It is sent by a device upon reporting if the device has more than one port.


Message and Parameters:

FieldValue(s)DescriptionMC0x0090Port Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.MD[5 . . . 6]Port CountUnsigned 16-bit value.


Request Output Channel Count (Master->Master)


This message requests from the destination device, the number of output channel supported by the specified device/port. The initial assumption that the master makes is that each device/port in the system has 256 channels.


Message and Parameters:

FieldValue(s)DescriptionMC0x0011Request Output Channel Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Output Channel Count (Device->Master, Master->Master)


This message is the response from a master to the Request Output Channel Count message above. It is sent by a device/port upon reporting if the device has more than 256 channels.


Message and Parameters:

FieldValue(s)DescriptionMC0x0091Output Channel Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]OutputUnsigned 16-bit value.ChannelCount


Request Level Count (Master->Master)


This message requests, from the destination device, the number of levels supported by the specified device/port. The initial assumption that the master makes is that each device/port in the system has eight levels.


Message and Parameters:

FieldValue(s)DescriptionMC0x0012Request Level Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Level Count (Device->Master,Master->Master)


This message is the response from a master to the Request Level Count message above. It is sent by a device/port upon reporting if the device has more than eight levels.


Message and Parameters:

FieldValue(s)DescriptionMC0x0092Level Count ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]Level CountUnsigned 16-bit value.


Request String Size (Master->Master)


This message requests the number of elements per string and the string types supported by the device/port. The initial assumption that the master makes is that each device/port in the system supports 64 elements/string and only supports 8-bit character strings.


Message and Parameters:

FieldValue(s)DescriptionMC0x0013Request String Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


String Size (Device->Master,Master->Master)


This message is the response from a master to the Request String Size message above. It is sent by a device/port upon reporting if the device/port supports more than 64 byte strings or more than 8-bit character strings. It returns the maximum number of elements/string the device supports and the types of strings supported.


Note that when transferring messages, the size of the message will be determined by the smaller of the maximum string size supported by the device and maximum packet size supported by the low-level bus protocol.


Message and Parameters:

FieldValue(s)DescriptionMC0x0093String Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value. The String ValueTypeSpecifierSpecifiers supported are ORed together intothis field.MD[8 . . . 9]LengthUnsigned 16-bit value.


String ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR Arrays“Normal”0x01 8-bitVariable length stringsString(i.e. an array ofcharacters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters


Request Command Size (Master->Master)


This message requests the number of elements per command and the string types supported by the device/port. The initial assumption that the master makes is that each device/port in the system supports 64 elements/command and only supports 8-bit character arrays.


Message and Parameters:

FieldValue(s)DescriptionMC0x0014Request Command Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Command Size (Device->Master)


This message is the response, from a device, to the Request Command Size message above. It is sent by a device/port upon reporting if the device/port supports more than 64 byte commands or more than 8-bit character commands. It returns the maximum number of elements/command the device supports and the types of strings supported.


Note that when transferring messages, the size of the message will be determined by the smaller of the maximum command size supported by the device and maximum packet size supported by the low-level bus protocol.


Message and Parameters:

FieldValue(s)DescriptionMC0x0094String Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7]ValueTypeUnsigned 8-bit value. The String ValueTypeSpecifierSpecifiers supported are ORed together intothis field.MD[8 . . . 9]LengthUnsigned 16-bit value.


String ValueType Specifiers:

KeywordTypeTypeData TypeSpecifierSizeRangeCHAR“Normal”0x01 8-bitVariable length stringsArraysString(i.e. an array ofcharacters)WIDECHAR“Unicode”0x0216-bitVariable length stringsArraysString(i.e. an array of WIDEcharacters)


Request Level Size (Master->Master)


This message requests a list of data types supported for the specified level. The initial assumption that the master makes is that each device/port/level only supports 8-bit unsigned values (BYTE Type 0x10).


Message and Parameters:

FieldValue(s)DescriptionMC0x0015Request Level Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]LevelUnsigned 16-bit value.


Level Size (Device->Master,Master->Master)


This message is the response from a master to the Request Level Size message above. It is sent by a device/port upon reporting if the device/port/level supports more BYTE (Type 0x10) levels. It returns a list of data types supported by Level.


Note that when transferring levels, the master will typecast from larger sized types to the largest type supported by the device. For example, if the users Axcess2 program sends a FLOAT to a device that supports only BYTE,CHAR, and INTEGER types, the master typecasts the FLOAT to an INTEGER before sending to the device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0095Level Size ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]LevelUnsigned 16-bit value.MD[9]Count ofUnsigned 8-bit value. This is the count ofValueTypesbytes to follow where each byte representsa supported level type.MD[10 . . . n]List ofUnsigned 8-bit array of ValueTypes.ValueTypes


ValueType Specifiers:

TypeSpecifier# of BytesBYTE0x101CHAR0x111WIDECHAR0x202INTEGER0x202SINTEGER0x212ULONG0x404LONG0x414FLOAT0x4F4DOUBLE0x8F8


Request Status (Master->Master)


This message requests, from the destination device, the status of the device or port.


Message and Parameters:

FieldValue(s)DescriptionMC0x0016Request Status Code ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value. If port = 0 thenrequesting status of device.MD[5 . . . 6]SystemUnsigned 16-bit value.


Status (Device->Master,Master->Master)


This message is the response from a master to the Request Status Code message above. It is sent by a device/port if the device/port needs to update the master of a status change.


Message and Parameters:

FieldValue(s)DescriptionMC0x0096Status Code ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 8]StatusCodeUnsigned 16-bit value. If port = 0 thenstatus of device instead of port.MD[9]ValueTypeUnsigned 8-bit value. Type ofSpecifierStatusString.MD[10 . . . 11]LengthUnsigned 16-bit value. Number ofcharacters in string (i.e. number ofelements, this is not the number of bytes)MD[12 . . . n]StatusStringLength characters. (n or n * 2 bytes)


Request Device Info (Master->Device)


This message requests device specific information from the specified device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0017Request Device Info ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.


Device Info (Device->Master)


This message is the response to the Request Device Info message above.


Flag—A 16-bit bit field. Each bit indicates a unique aspect of functionality.


For each device and sub-device that contains re-programmable electronic components within the device, the following information is replied:


ObjectID—An 8-bit unique (within the device) identifier that identifies this structure of information. This is used to construct an internal device hierarchy for display to the user.


ParentID—An 8-bit value that references an existing ObjectID. If 0, then this object has no parent.


ManufactureID—A 16-bit value that uniquely identifies the manufacture of the device.


DeviceID—A 16-bit value that uniquely identifies the device type.


Serial number—A fixed length field 16 bytes long.


FWID (Firmware ID)—A 16-bit value that uniquely identifies the object code that the device requires.


Version—A NULL terminated text string that indicates the revision level of the re-programmable component.


DeviceID String—A NULL terminated text string that indicates the name or model number of the device.


Manufacturer String—A NULL terminated text string that indicates the name of the device manufacturer.


Extended Address Format—An 8-bit value that indicates the type of device specific addressing information to follow.


Extended Address Length—An 8-bit value that indicates the length of device specific addressing information to follow.


Extended Address—Extended Address as indicated by Extended Address Type and Length.


Message and Parameters:

FieldValue(s)DescriptionMC0x0097Device Info ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.MD[5 . . . 6]Flag16-bit bit field.Bit 0 - If set, this message was generated inresponse to a button press while Identify mode isactive.MD[7]ObjectIDUnsigned 8-bit value.MD[8]ParentIDUnsigned 8-bit value.MD[9 . . . 10]MfgIDUnsigned 16-bit value.MD[11 . . . 12]DeviceIDUnsigned 16-bit value.MD[13 . . . 28]SerialNumber16 bytes of data. Format not defined yet.MD[29 . . . 30]FWIDUnsigned 16-bit value.MD[31 . . . n]VersionCHAR array, NULL terminated, containing a versionstring. Generally, in this format:“v1.00\0”MD[n + 1 . . . p]DeviceIDCHAR array, NULL terminated, containing aStringmodel number. Generally, in this format:“NXC-232\0”(NetLinx Card-RS232)MD[p + 1 . . . q]ManufactureCHAR array, NULL terminated, containingStringthe mfg.'s name. Generally, in this format:“AMX Corp/0”MD[q + 1]Extended8-bit value. Used to indicate type of extendedAddress Typeaddress to follow.MD[q + 2]Extended8-bit value. Used to indicate length in bytes ofAddressextended address to followLengthMD[q + 3 . . . r]ExtendedExtended Address as indicated by Address Type andAddressLength.


Extended Address Type

TypeDescription0x01Neuron ID. Length will be 6 and address will be the 48-bitNeuron ID of the device.0x02IP4 Address. Length will be 4 and address will be the 4-byteIP address of the device0x03AXLink Connection. Length must be 0.0x13RS232 Connection. Length must be 0.All othersReserved.


Device Info EOT (Master->Device)


This message indicates that all data (Device Info messages) have been sent as a result of a Request Device Info message. This message indicates to the requesting device that all Device Info information has been provided.


Message and Parameters:

FieldValue(s)DescriptionMC0x0098Device Info EOT ValueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.


Request Master Status (Device->Master,Master->Master)


This message requests that the master respond with its status. Generally, Master Status message will be unsolicited, this message is included for completeness.


Message and Parameters:

FieldValue(s)DescriptionMC0x00A1Request Master Status ValueMD[1 . . . 2]SystemUnsigned 16-bit value.


Master Status (Master->Device,Master->Master)


This message is the response to the Request Master Status message above, but more commonly will be sent by the master unsolicited.


Message and Parameters:

FieldValue(s)DescriptionMC0x0021Master Status ValueMD[1 . . . 2]SystemUnsigned 16-bit value.MD[3 . . . 4]StatusUnsigned 16-bit value treated as bit fields.See below.MD[5 . . . n]StatusStringCHAR array, NULL terminated, containing atext description of the status. For example,“Master Reset”


Master Status is defined as follows:


Bits 1 & 0 are encoded as shown in the table below.

Bit 1 StateBit 0 StateMeaning00ResetWhen a device receives this status of themaster all channels on the device should beturned off, all levels should be set to zero, andthe device shall enter the “unconnected” state(see the Device & Master CommunicationSpecification)01ReloadWhen a device receives this status of themaster, it must stop sending messages to themaster until the master's status becomesNormal. No channels are turned off.10Undefined11NormalUpon entry in to the Normal state, the devicemust report that it is on-line and any channelsthat are ON, or non-zero levels must bereported to the master.


Bits 15-2: Undefined should be zero.


Diagnostic Manager


The following messages originate from or are destined for the Diagnostic Manager:


The Diagnostic Messages will be better specified during/after the Diagnostic Manager specification is complete.

CommandValueDescriptionInternal Diagnostic String0x0101Used to display/convey a diagnostic message.It includes a severity level, module ID, and astring. These messages are generatedinternally within the master.Request Diagnostic0x0102Registers the sending device with theInformationdiagnostic manager such that diagnosticinformation be sent the source device.Request Devices On-line0x0103Master responds with Device Info message(s)for each device currently on-line and thenumber of ports for each device.Request Devices On-line0x0109Indicates that all on-line device informationEOThas been sent.Request Device0x0104Master responds with a variety of messagesStatusthat indicate the current state of the device.Request Device Status0x010AIndicates that all Device Status informationEOThas been sent.Request Asynchronous0x0105Requests the entire list of device/portsNotification Listcurrently in the Master's asynchronousnotification list.Asynchronous0x0106Contains a single entry from the Master'sNotification Listasynchronous notification list.Add/modify0x0107Adds or modifies an entry in the Master'sasynchronousasynchronous notification list.Notification ListDelete asynchronous0x0108Delete one or all entries in the Master'sNotification Listasynchronous notification list.


Internal Diagnostic String


This message is used by tasks within the master to log/display error or diagnostic messages.


Message and Parameters:

FieldValue(s)DescriptionMC0x0101Internal Diagnostic StringMD[1 . . . 2]Object IDUnsigned 16-bit value. Values defined in theConstants & IDs specification document.MD[3 . . . 4]SeverityUnsigned 16-bit value.MD[5 . . . n]DiagnosticCHAR array, NULL terminated, containingStringtext description of the error. For example,“Self-test failed #2”


Request Diagnostic Information


This message is used by the IDE to request that diagnostic information be sent to the requesting device. If any flag bits are set, unsolicited diagnostic messages of the specified type(s) will be sent to the device. If all bits are zero, then no diagnostic message will be sent to the device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0102Request Diagnostic InformationMD[1 . . . 2]FlagBit Field:0 - Enable Internal Diagnostic Strings1-15 - Undefined (must be 0)


Request Devices Online


This message is used by the IDE to request a list of online devices for the receiving NetLinx master. The master will respond with Device Info message(s) for each device currently online. In addition, it will generate a Port Count message for each device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0103Request Devices Online


Request Devices Online EOT


This message indicates that all requested devices from the Request Devices Online message have been sent. This message is used by the IDE to determine when all online device information has been received.


Message and Parameters:

FieldValue(s)DescriptionMC0x0109Request Devices Online


Request Device Status


This message is used by the IDE to request the status of the specified device. The master responds with Output ON messages for each output channel that is on, Feedback ON messages for each feedback channel that is on, etc. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValue(s)DescriptionMC0x0104Request Device StatusMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Request Device Status EOT


This message indicates that all of the Request Device Status information has been sent. This message is used by the IDE to determine when all device status information has been received.


Message and Parameters:

FieldValue(s)DescriptionMC0x010ARequest Device StatusMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value


Request Asynchronous Notification List


This message is used by the IDE to request the current asynchronous notification list from the master. The master generates a series of Asynchronous Notification List messages, one for each entry in the list, to the requesting device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0105Request Asynchronous Notification List


Asynchronous Notification List


This message is generated by the master in response to the Request Asynchronous Notification List message. For each entry in the master's list, one of these messages will be generated. If there are no entries, then the number of entries field will be zero. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValue(s)DescriptionMC0x0106Asynchronous Notification ListMD[1 . . . 2]Total CountUnsigned 16-bit value containing the totalnumber of entries in the list.MD[3 . . . 4]This IndexUnsigned 16-bit value containing the itemnumber beginning with 1. This will beincremented for each item until it equalsTotal Count.MD[5 . . . 6]DeviceUnsigned 16-bit value.MD[7 . . . 8]PortUnsigned 16-bit value.MD[9 . . . 10]SystemUnsigned 16-bit value.MD[11 . . . 14]Flag32 Bit field (if the bit is set, the messagesare enabled):Bit - 0: Online/offline messagesBit - 1: Configuration messagesBit - 2: Input channel changesBit - 3: Output channel changesBit - 4: Feedback channel changesBit - 5: Level changes from deviceBit - 6: Level changes to deviceBit - 7: Strings from deviceBit - 8: Strings to deviceBit - 9: Commands from deviceBit - 10: Commands to deviceBit - 11: Status messagesBit 12-31: Undefined. Should be zero.


Add/Modify Asynchronous Notification List


This message is used to add an entry into the Asynchronous Notification List or modify an existing entry. The master will generate a Completion Code (Configuration Manager message 0x0213) message indicating success or failure of this command. A special sentinel value of Device=0, Port=0, and System=0 indicates that the flags should be applied to the global filter.


Message and Parameters:

FieldValue(s)DescriptionMC0x0107Add/Modify Asynchronous Notification ListMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 10]Flag32 Bit field (if the bit is set, the messages areenabled):Bit 0: Online/offline messagesBit - 1: Configuration messagesBit - 2: Input channel changesBit - 3: Output channel changesBit - 4: Feedback channel changesBit - 5: Level changes from deviceBit - 6: Level changes to deviceBit - 7: Strings from deviceBit - 8: Strings to deviceBit - 9: Commands from deviceBit - 10: Commands to deviceBit - 11: Status messagesBit 12-31: Undefined. Should be zero.


Delete Asynchronous Notification List


This message is used to delete an/all entr(y)/(ies) from the Asynchronous Notification List. The master will generate a Completion Code (Configuration Manager message 0x0213) message indicating success or failure of this command. A special sentinel value of Device=0, Port=0, and System=0 indicates that the global filter should be deleted. Another special sentinel value of Device=65535, Port=65535, and System=65535 indicates that all entries should be deleted.


Message and Parameters:

FieldValue(s)DescriptionMC0x0108Add/Modify Asynchronous Notification ListMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Connection Manager Messages


Table B lists commands between connection manager and devices. Again, the first column is the name of the command, the second column is the value of the command, the third column is the device response, the fourth column is the master response and the last column is the description of the command. For example, on the second row, if the blink command sent by a master to a device, the value of the command is 0x0502 and in response to that command the device says nothing nor does the master. The description of the command is given to all devices to make the LED blink. As this occurs, the master determines whether the device is online and sends back a visual indication.

TABLE BValid ResponseMessages FromCommandValueDEVICEMASTERDescriptionPing Request0x05010x05810x0581Requests a ping response(Master->Device)from the destinationdevice.Ping Response0x0581NoneNoneReply to the Ping(Device->Master)Request. The master usesthe response to confirmthat the device is activein the system.Blink0x0502NoneNonePeriodically broadcast to(Master->Device)all devices. IncludesLED blink and otherinformation.Request Blink0x0582Error0x0502Requests a Blink(Device->Master)message. Intended to begenerated by one masterto another.Dynamic Device Address0x05030x00010x0001Assigned address(Master->Device)response.Request Dynamic Device0x0583Error0x0503Request a dynamicAddress (Device->Master)address . . . use theNewbee flag.Pass Through0x0584Error0x0001Requests that strings(Device->Master)from the specified deviceget sent to anotherspecified device.Request Notification0x0507Error0x0001Requests notification of(Master->Master)specific messages from adevice.


Ping Request (Master->Device)


This message is sent by a master to request determine the presence of the specified device in the system.

FieldValue(s)DescriptionMC0x0501PingRequest valueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value


Ping Response (Device->Master)


This message is the response to the Ping Request message above. The device responds with this message to inform the requester that the device is still on-line.

FieldValue(s)DescriptionMC0x0581PingResponse valueMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]SystemUnsigned 16-bit value.MD[5 . . . 6]MfgIDUnsigned 16-bit value. The Manufacture IDas reported in the Device Info message forParentID = 0 and ObjectID = 0MD[7 . . . 8]DeviceIDUnsigned 16-bit value. The Device ID asreported in the Device Info message forParentID = 0 and ObjectID = 0MD[9]Extended8-bit value. Used to indicate type of extendedAddressaddress to follow.TypeMD[10]Extended8-bit value. Used to indicate length in bytes ofAddressextended address to followLengthMD[11 . . . ]ExtendedExtended address as indicated by ExtendedAddressAddress Type and Length.


Extended Address Type

TypeDescription0x01Neuron ID. Length will be 6 and address willbe the 48-bit Neuron ID of the device.0x02IP4 Address. Length will be 4 and addresswill be the 4-byte IP address of the device0x03AXLink Connection. Length must be 0.0x13RS232 Connection. Length must be 0.All othersReserved.


Blink (Master->Device)


The blink message is a broadcast message that is transmitted to every device periodically. The time period of the message may be dependent upon the medium in which the message will be sent.


Message and Parameters:

FieldValue(s)DescriptionMC0x0502Blink ValueMD[0]HeartbeatTenths of seconds between heartbeats.TimingMD[1]LEDState of Bus LED and other Status.Bit 0 - Bus LED 0 = OFF, 1 = ON.Bits 1-6 Reserved.Bit 7 - Forced Device Unconfigure/ResetMD[2]MonthCurrent Date: Month 1-12MD[3]DayDay 1-31MD[4 . . . 5]YearYear 1999-65535 (Type: unsigned 16-bit)MD[6]HourCurrent Time: Hour 0-23MD[7]MinuteMinute 0-59MD[8]SecondSeconds 0-59MD[9]Day of0 = Mon, 1 = Tues, . . .WeekMD[10 . . . 11]OutsideOutside Temperature (if available). [Type:Tempsigned 16-bit) If 0x8000, then temperature isnot valid.MD[12 . . . n]Text DateCHAR array, NULL terminated, FormattedStringas: “Thursday, Jun. 10, 1999”


The time period for Blink messages is not determined at this time. Each device implementation may not require that the Blink message be periodically sent at any anticipated rate. The ideal rate will be determined based upon the quantity of bus traffic. It may, someday, even be determined dynamically.


The LED byte is a bit field. The LSB (bit 0) indicates the current status of the bus LED.


The MSB (Bit 7) is set when the master initially powers-up/on-line. In response to bit 7 being set, the receiving device should place itself in the off-line state, turn all channels off, and set all levels to zero (or prepare itself to send status updates as necessary to the master). The master shall send 3 consecutive blink messages with bit 7 set.


Request Blink (Device->Master)


This message requests from the destination master, a Blink message response. The response will not be a global response, it will be destined only to the requester.


Message and Parameters:

FieldValue(s)DescriptionMC0x0582ReqBlink ValueMD[1 . . . 2]SystemUnsigned 16-bit value.


Dynamic Device Address (Master->Device)


This message is the response to the Request Dynamic Device Address message below. It returns a device number for “temporary” use by the requesting device.


The device can use this device number for as long as it has communication with the master. The returned device number may the one suggested by the device in the Request Dynamic Device Address message or may be different.


Message and Parameters:

FieldValue(s)DescriptionMC0x0503DynDevAddress ValueMD[1 . . . 2]DeviceUnsigned 16-bit value. Newly assigned orRequested device number for the device'suse.MD[3 . . . 4]SystemUnsigned 16-bit value. The appropriatesystem number.


Request Dynamic Device Address (Device->Master)


This message requests a device number from a master. The Newbee flag must be set in the message header.


Message and Parameters:

FieldValue(s)DescriptionMC0x0583Request Dynamic Device AddressValueMD[1 . . . 2]ProposedDeviceUnsigned 16-bit value. If possiblefor the device, is the last device numberthat this device used.MD[3]Extended Address8-bit value. Used to indicate type ofTypeextended address to follow.MD[4]Extended Address8-bit value. Used to indicate length inLengthbytes of extended address to followMD[5 . . . ]Extended AddressExtended address as indicated byExtended Address Type and Length.


Extended Address Type

TypeDescription0x01Neuron ID. Length will be 6 and address will be the 48-bitNeuron ID of the device.0x02IP4 Address. Length will be 4 and address will be the4-byte IP address of the device.0x03AXLink Connection. Length must be 0.0x13RS232 Connection. Length must be 0.All othersReserved.


Pass Through


This message requests that the Connection manager redirect strings coming from the specified source device to the specified destination device. This will also prohibit strings from the source device getting sent to the interpreter until the PassThrough is disabled. This message will cause an ‘RXON’ message to be sent to the source AXLink device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0584Pass Through ValueMD[1 . . . 2]SrcDeviceUnsigned 16-bit value. Source AXLinkdevice.MD[3 . . . 4]DstDeviceUnsigned 16-bit value. Destination deviceaddress.MD[5 . . . 6]DstPortUnsigned 16-bit value. DestinationDevice Port address.MD[7 . . . 8]DstSystemUnsigned 16-bit value. DestinationSystem Address.MD[9]EnableUnsigned 8-bit value. Bit field: Bit 0-1 =Enable pass through. 0 = disable.


Request Notification


This message is sent by a master to request notification of specific messages that are received from OR sent to the specified device. Typically, the notification messages are Device Manager messages (specified above).

FieldValue(s)DescriptionMC0x0507RequestNotification valueMD[1 . . . 2]DstSystemUnsigned 16-bit value. The destinationsystem of this (RequestNotification)message.MD[3 . . . 4]DstDeviceUnsigned 16-bit value. The specificsource device of interest.MD[5 . . . 6]SrcSystemUnsigned 16-bit value. The systemrequesting the notification messages.MD[7 . . . 8]SrcDeviceUnsigned 16-bit value. The devicerequesting the notification messages.MD[9 . . . 10)MessageCountUnsigned 16-bit value. Number ofmessages in following list.MD[11 . . . n]MessagesArray of unsigned 16-bit values. Eachvalue identifies a specific message. Forexample, 0x000A indicates that anyLevel Value messages to or fromDevice should be sent to SrcSystem.


The following message command values are not actual messages, but rather virtual “commands” to the Notification Manager that function as follows:


0xFFFF—deletes all existing notification requests for the device from this master.


Diagnostic Manager


The following messages originate from or are destined for the Diagnostic Manager:

CommandValueDescriptionInternal Diagnostic0x0101Used to display/convey a diagnostic message. ItStringincludes a severity level, module ID, and a string.These messages are generated internally withinthe master.Request Diagnostic0x0102Registers the sending device with the diagnosticInformationmanager such that diagnostic information be sentthe source device.Request Devices On-line0x0103Master responds with Device Info message(s) foreach device currently on-line and the number ofports for each device.Request Devices On-line0x0109Indicates that all on-line device information hasEOTbeen sent.Request Device Status0x0104Master responds with a variety of messages thatindicate the current state of the device.Request Device Status0x010AIndicates that all Device Status information hasEOTbeen sent.Request Asynchronous0x0105Requests the entire list of device/ports currentlyNotification Listin the Master's asynchronous notification list.Asynchronous0x0106Contains a single entry from the Master'sNotification Listasynchronous notification list.Add/modify0x0107Adds or modifies an entry in the Master'sasynchronousasynchronous notification list.Notification ListDelete asynchronous0x0108Delete one or all entries in the Master'sNotification Listasynchronous notification list.


Internal Diagnostic String


This message is used by tasks within the master to log/display error or diagnostic messages.


Message and Parameters:

FieldValue(s)DescriptionMC0x0101Internal Diagnostic StringMD[1 . . . 2]Object IDUnsigned 16-bit value. Values defined inthe Constants & IDs specificationdocument.MD[3 . . . 4]SeverityUnsigned 16-bit value.MD[5 . . . n]DiagnosticCHAR array, NULL terminated,Stringcontaining a text description of the error.For example, “Self-test failed #2”


Request Diagnostic Information


This message is used by the IDE to request that diagnostic information be sent to the requesting device. If any flag bits are set, unsolicited diagnostic messages of the specified type(s) will be sent to the device. If all bits are zero, then no diagnostic message will be sent to the device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0102Request Diagnostic InformationMD[1 . . . 2]FlagBit Field:0 - Enable Internal Diagnostic Strings1-15 - Undefined (must be 0)


Request Devices Online


This message is used by the IDE to request a list of online devices for the receiving NetLinx master. The master will respond with Device Info message(s) for each device currently online. In addition, it will generate a Port Count message for each device.


Message and Parameters:

FieldValue(s)DescriptionMC0x0103Request Devices Online


Request Devices Online EOT


This message indicates that all requested devices from the Request Devices Online message have been sent. This message is used by the IDE to determine when all online device information has been received.


Message and Parameters:

FieldValue(s)DescriptionMC0x0109Request Devices Online


Request Device Status


This message is used by the IDE to request the status of the specified device. The master responds with Output ON messages for each output channel that is on, Feedback ON messages for each feedback channel that is on, etc. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValue(s)DescriptionMC0x0104Request Device StatusMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Request Device Status EOT


This message indicates that all of the Request Device Status information has been sent. This message is used by the IDE to determine when all device status information has been received.


Message and Parameters:

FieldValue(s)DescriptionMC0x010ARequest Device StatusMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value


Request Asynchronous Notification List


This message is used by the IDE to request the current asynchronous notification list from the master. The master generates a series of Asynchronous Notification List messages, one for each entry in the list, to the requesting device.


Message and Parameters:

FieldValues(s)DescriptionMC0x0105Request Asynchronous Notification List


Asynchronous Notification List


This message is generated by the master in response to the Request Asynchronous Notification List message. For each entry in the master's list, one of these messages will be generated. If there are no entries, then the number of entries field will be zero. See the Diagnostic Manager specification for more information.


Message and Parameters:

FieldValues(s)DescriptionMC0x0106Asynchronous Notification ListMD[1 . . . 2]Total CountUnsigned 16-bit value containing the totalnumber of entries in the list.MD[3 . . . 4]ThisIndexUnsigned 16-bit value containing the itemnumber beginning with 1. This will beincremented for each item until it equalsTotal Count.MD[5 . . . 6]DeviceUnsigned 16-bit value.MD[7 . . . 8]PortUnsigned 16-bit value.MD[9 . . . 10]SystemUnsigned 16-bit value.MD[11 . . . 14]Flag32 Bit field (if the bit is set, the messagesare enabled):Bit-0: Online/offline messagesBit-1: Configuration messagesBit-2: Input channel changesBit-3: Output channel changesBit-4: Feedback channel changesBit-5: Level changes from deviceBit-6: Level changes to deviceBit-7: Strings from deviceBit-8: Strings to deviceBit-9: Commands from deviceBit-10: Commands to deviceBit-11: Status messagesBit 12-31: Undefined. Should be zero


Add/Modify Asynchronous Notification List


This message is used to add an entry into the Asynchronous Notification List or modify an existing entry. The master will generate a Completion Code (Configuration Manager message 0x0213) message indicating success or failure of this command. A special sentinel value of Device=0, Port=0, and System=0 indicates that the flags should be applied to the global filter.


Message and Parameters:

FieldValues(s)DescriptionMC0x0107Add/Modify Asynchronous NotificationListMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.MD[7 . . . 10]Flag32 Bit field (if the bit is set, the messagesare enabled):Bit-0: Online/offline messagesBit-1: Configuration messagesBit-2: Input channel changesBit-3: Output channel changesBit-4: Feedback channel changesBit-5: Level changes from deviceBit-6: Level changes to deviceBit-7: Strings from deviceBit-8: Strings to deviceBit-9: Commands from deviceBit-10: Commands to deviceBit-11: Status messagesBit 12-31: Undefined. Should be zero.


Delete Asynchronous Notification List


This message is used to delete an/all entr(y)/(ies) from the Asynchronous Notification List. The master will generate a Completion Code (Configuration Manager message 0x0213) message indicating success or failure of this command. A special sentinel value of Device=0, Port=0, and System=0 indicates that the global filter should be deleted. Another special sentinel value of Device=65535, Port=65535, and System=65535 indicates that all entries should be deleted.


Message and Parameters:

FieldValue(s)DescriptionMC0x0108Add/Modify Asynchronous NotificationListMD[1 . . . 2]DeviceUnsigned 16-bit value.MD[3 . . . 4]PortUnsigned 16-bit value.MD[5 . . . 6]SystemUnsigned 16-bit value.


Configuration Manager


The following messages originate from or are destined for the Configuration Manager:

Valid ResponseMessages FromCommandValueDEVICEMASTERDescriptionSet Device Number0x02010x02130x0213Sets the device/system(Master->Device,number of the receivingMaster->Master)device.Set Identify0x0202NoneNoneEnables/Disables identifyMode/Addressmode for the device and(Master->Device)establishes the new devicenumber.Set Serial Number0x02030x02130x0213Sets the 16-byte serialnumber of the device.File Transfer0x02040x02040x0204Contains file transferinformationRequest IP Address List0x02050x02060x0206Requests the list of IPaddress the device willattempt to contact list.IP Address List0x0206NoneNoneList of IP addressAdd IP Address0x02070x02130x0213Add the specified IP addressto the contact list.Delete IP Address0x02080x02130x0213Delete an specified IPaddress from the contact list.Set DNS IP Addresses0x02090x02130x0213Sets the DNS IP address listand domain name.Request DNS IP0x020A0x020B0x020BRequests the DNS IPAddressesaddress list and domainname.Get DNS IP Addresses0x020BNoneNoneGets the DNS IP address listand domain name.Set Ethernet IP Address0x020C0x02130x0213Sets the IP address, subnetmask, and gateway.Request Ethernet IP0x020D0x020D0x020DRequests the EthernetAddressinterface's IP address,subnet mask, and gateway.Get Ethernet IP Address0x020ENoneNoneResponse to RequestEthernet IP Address.Set Time & Date0x020F0x02130x0213Sets the Time and Date.Request Time & Date0x02100x02110x0211Requests the current Timeand Date.Get Time & Date0x0211NoneNoneGets the current Time andDate.Identify Mode/Address0x0282NoneNoneResponse to Identify Mode/ResponseAddress.Restart0x02120x02130x0213Restart device or subset ofdevice.Completion Code0x0213NoneNoneFor some messages,confirms successfulcompletion or failure of amessage.Reserved Messages0x02E0-0x02FFReserved message range.


Set Device Number


Used to set the Device number of un-configured devices.

FieldValue(s)DescriptionMC0x0201Set Device number.MD[1]ConfigurationUsed to indicate the type of configurationFlagsand the validity of the following data.MD[2 . . . 3]Device NumberUnsigned 16-bit value. The specific devicenumber to become.MD[4 . . . 5]SystemUnsigned 16-bit value. The specificsystem number to set.


Configuration Flags

Bit ValueTypeDescription0x01Device FieldDevice Number in data is valid and shouldValidbe stored.0x02System FieldSystem Number in data is valid and shouldValidbe stored.0x04Future0x08Future0x10Future0x20Future0x40Future0x80Erase allErase current setting and return to default.CurrentSystem/DeviceSettings


Set Identify Mode/Address


Places/removes the device into/from the Identify state. While the device is in the identify state, a press of the identify button causes the device to take on the specified Device/System. The device should respond with the Identify Mode/Address Response, report its old device as off-line, then report the new device as on-line.

FieldValue(s)DescriptionMC0x0202Set Identify modeMD[1]FlagsUnsigned 8-bit value.Bit 0:0 - Disable Identify Mode1 - Enable Identify ModeMD[2 . . . 3]NewDeviceUnsigned 16-bit value. New device number.MD[4 . . . 5]NewSystemUnsigned 16-bit value. New systemnumber.


Set Serial Number


Used to set the serial number of the specified device.

FieldValue(s)DescriptionMC0x0203Set Serial Number.MD[1 . . . 16]Serial NumberThe devices 16-byte serial number. Thisserial number is reported via the DeviceInfo message.


File Transfer


This command initiates the transfer of data for a device or master. It is intended that this transfer mechanism be common to all types of file transfers including firmware upgrades, IR data, touch panel design files.

FieldValue(s)DescriptionMC0x0204File TransferMD[1 . . . 2]FileTypeUnsigned 16-bit value:0 = Unused1 = IR Data2 = Firmware3 = Touch Panel File4 = Axcess2 TokensMD[3 . . . 4]FunctionThe function to execute, such as receive,send, etc. Values 0-255 are predefined. Allother values are based upon the FileType.MD[5 . . . n]DataIt any, contains Function specific data.


Request IP Address List


Requests for the device to respond with the list of IP addresses the device or master attempts to contact.

IP Address ListFieldValue(s)DescriptionMC0x0205Request IP Address List


IP Address List


The response to the request above, one IP Address List message will be generated for each IP address in the list.

FieldValue(s)DescriptionMC0x0206IP Address ListMD[1 . . . 2]TotalUnsigned 16-bit value containing the totalCountnumber of addresses.MD[3 . . . 4]ThisIndexUnsigned 16-bit value containing the itemnumber beginning with 1. This will beincremented for each address until itequals Total Count.MD[5]FlagBit field:Bit-0: Connection Mode.0 = UDP connection1 = TCP connectionBit-1: UnusedBit-2: UnusedBit-3: UnusedBit-4: UnusedBit-5: Source of Entry0 = IDE generated1 = NetLinx Language generatedBits-6 & 7: Encoded connection state00 = (0x00) Looking up URL01 = (0x40) Attempting connection10 = (0x80) Waiting for connection valid11 = (0xC0) ConnectedMD[6 . . . 7]PortUnsigned 16-bit value containing the portNumbernumber to connect.MD[8 . . . n]URLNull terminated address string. Either aURL, or IP address in the form of“192.168.26.148”MD[n + 1 . . . p]IPNull terminated IP address string. If theAddressURL has been lookup up, Contains the IPaddress of the URL.


Add IP Address


Add a URL or IP address to the device's IP address list.

FieldValue(s)DescriptionMC0x0207Add IP AddressMD[1]FlagBit field:Bit-0: Connection Mode.0 = UDP connection1 = TCP connectionBit-1: UnusedBit-2: UnusedBit-3: UnusedBit-4: UnusedBit-5: Source of Entry0 = IDE generated1 = NetLinx Language generatedBit-6: UnusedBit-7: UnusedMD[2 . . . 3]Port NumberUnsigned 16-bit value containing the portnumber to connect (normally 1319).MD[4 . . . n]URLNull terminated address string. Either aURL, or IP address in the form of“192.168.26.148”


Delete IP Address


Delete one or all URLs or IP addresses from the device's IP address list.

FieldValue(s)DescriptionMC0x0208Delete IP AddressMD[1]DeleteFlagBit field:Bit 0 - It set, delete all URLs.Bit 1 - Unused.Bit 2 - Unused.Bit 3 - Unused.Bit 4 - Unused.Bit 5 - Unused.Bit 6 - Unused.Bit 7 - Unused.MD[2]FlagBit field:Bit-0: Connection Mode.0 = UDP connection1 = TCP connectionBit-1: UnusedBit-2: UnusedBit-3: UnusedBit-4: UnusedBit-5: Source of Entry0 = IDE generated1 = NetLinx Language generatedBit-6: UnusedBit-7: UnusedMD[3 . . . 4]Port NumberUnsigned 16-bit value containing the portnumber to connect (normally 1319).MD[5 . . . n]URLNull terminated address string. Either aURL, or IP address in the form of“192.168.26.148”


Set DNS IP Addresses


Set the IP address(es) of the DNS servers and the domain name. A maximum of three (3) IP addresses may be specified. The search order is same as the order provided. A NULL must be provided for empty entries.

FieldValue(s)DescriptionMC0x0209Set DNS IP AddressMD[1 . . . n]DomainNull terminated name string. This nameNamegets appended to names without a dot.Example, “amx.com”MD[n + 1 . . . p]DNS IPNull terminated address string. MustAddress1be the IP address in dot notation form (e.g.“192.168.25.5”)MD[p + 1 . . . q]DNS IPNull terminated address string. MustAddress2be the IP address in dot notation form (e.g.“12.5.138.7”)MD[q + 1 . . . r]DNS IPNull terminated address string. MustAddress3be the IP address in dot notation form.


Request DNS IP Addresses


Request the IP address(es) of the DNS servers and the domain name of a device.

FieldValue(s)DescriptionMC0x020ARequests the device's DNS IP Address List


Get DNS IP Addresses


Get the IP address(es) of the DNS servers and the domain name.

FieldValue(s)DescriptionMC0x020BGet DNS IP AddressMD[1 . . . n]DomainNull terminated name string. This nameNamegets appended to names without a dot.Example, “amx.com”MD[n + 1 . . . p]DNS IPNull terminated address string. MustAddress1be the IP address in dot notation form (e.g.“192.168.25.5”)MD[p + 1 . . . q]DNS IPNull terminated address string. MustAddress2be the IP address in dot notation form (e.g.“12.5.138.7”)MD[q + 1 . . . r]DNS IPNull terminated address string. MustAddress3be the IP address in dot notation form.


Set Ethernet IP Address


Set the IP address, subnet mask, and gateway of the unit's Ethernet interface. A NULL must be provided for empty entries.

FieldValue(s)DescriptionMC0x020CSet Ethernet IP AddressMD[1]FlagsBit field:Bit 0 - If set, use DHCP for IPaddress and subnet mask. The IPaddress and subnet mask fields mustbe supplied, but are ignored.Bit 1 - Unused.Bit 2 - Unused.Bit 3 - Unused.Bit 4 - Unused.Bit 5 - Unused.Bit 6 - Unused.Bit 7 - Unused.MD[2 . . . n]HostNull terminated host name string. (e.g.Name“NetLinx1”)MD[n + 1 . . . p]IPNull terminated address string. MustAddressbe the IP address in dot notation form (e.g.“192.168.26.26”)MD[p + 1 . . . q]SubnetNull terminated address string. MustMaskbe the IP address in dot notation form (e.g.“255.255.255.0”)MD[q + 1 . . . r]GatewayNull terminated address string. Mustbe the IP address in dot notation form (e.g.“192.168.26.2”).


Request Ethernet IP Address


Request the device's Ethernet interface IP address, subnet mask, and gateway of the unit's Ethernet interface. The response to this message is the Get Ethernet IP Address message.

FieldValue(s)DescriptionMC0x020DRequest Ethernet IP Address


Get Ethernet IP Address


Get the IP address, subnet mask, and gateway of the unit's Ethernet interface.

FieldValue(s)DescriptionMC0x020EGet Ethernet IP AddressMD[1]FlagsBit field:Bit 0 - It set, use DHCP for IP addressand subnet mask. The IP address andsubnet mask fields must be supplied,but are ignored.Bit 1 - Unused.Bit 2 - Unused.Bit 3 - Unused.Bit 4 - Unused.Bit 5 - Unused.Bit 6 - Unused.Bit 7 - Unused.MD[2 . . . n]HostNull terminated host name string. (e.g.Name“NetLinx1”)MD[n + 1 . . . p]IPNull terminated address string. MustAddressbe the IP address in dot notation form(e.g.“192.168.25.5”)MD[p + 1 . . . q]SubnetNull terminated address string. MustMaskbe the IP address in dot notation form (e.g.“255.255.255.0”)MD[q + 1 . . . r]GatewayNull terminated address string. Mustbe the IP address in dot notation form (e.g.“192.168.26.2”).


Set Time and Date


Sets the Time and Date of the unit.

FieldValue(s)DescriptionMC0x020FSet Time & DateMD[1 . . . 2]MonthMonth (1-12)MD[3 . . . 4]Day of MonthDay of Month (1-31)MD[5 . . . 6]YearYear (1999-2099)MD[7 . . . 8]HoursHour (0-23)MD[9 . . . 10]MinutesMinute (0-59)MD[11 . . . 12]SecondsSeconds (0-59)MD[13 . . . 14]Day of WeekDay of week (0-6) 0 = Sunday


Request Current Time and Date


Request the device's current time and date. The response to this message is the Get Time and Date message.

FieldValue(s)DescriptionMC0x0210Request Current Time and Date


Get Time and Date


Gets the devices time and date.

FieldValue(s)DescriptionMC0x0211Get Time & DateMD[1 . . . 2]MonthMonth (1-12)MD[3 . . . 4]Day of MonthDay of Month (1-31)MD[5 . . . 6]YearYear (1999-2099)MD[7 . . . 8]HoursHour (0-23)MD[9 . . . 10]MinutesMinute (0-59)MD[11 . . . 12]SecondsSeconds (0-59)MD[13 . . . 14]Day of WeekDay of week (0-6) 0 = Sunday


Restart


Restart the device or a subset of the device.

FieldValue(s)DescriptionMC0x0212RestartMD[1 . . . 2]FlagThis field has the following enumeratedmeanings:0 - Device reboot. The device shouldperform the “coldest” boot possible.1 - NetLinx restart. Shutdown and restartthe NetLinx interpreter.65535 - Smart reboot. The device shouldperform the necessary steps to activate anyprevious configuration parameters.Including, but not limited to, “cold”rebooting the device. For example, if theIP address configuration has changed,and a reboot is required to begin usingthe new IP, then the device should reboot.


Completion Code


Indicates successful/unsuccessful completion of a previous message. In the case where the device settings, such as device number, are being modified, the completion code message is generate using the “old” device information before the new settings take effect.

FieldValue(s)DescriptionMC0x0213Completion CodeMD[1 . . . 2]wMessageThe message code (not Message ID) of themessage (command) that is completed. Forexample, when a Set Ethernet IP Addressmessage has been processed by a device,the device responds with a CompletionCode message with wMessage set to0x020C.MD[3]bStatusBit field indicating success or failure of thespecified message:Bit 0: 0 = Failed, 1 = successBits 1-7 must be zero.


Set Identify Mode/Address Response


Indicates that the device has received the Identify Mode/Address Enable and has had a button pressed on the device to indicate it should take on the ID Mode device and system number.

FieldValue(s)DescriptionMC0x0282Set Identify mode/address responseMD[1 . . . 2]Old DeviceUnsigned 16-bit value. Old device number.MD[3 . . . 4]Old SystemUnsigned 16-bit value. Old system number.


IP Port Connection Manager


The following messages originate from or are destined for the IP Port Connection Manager:

CommandValueDescriptionReqIPConnection0x0381Requests an IP connection.(Device->Master)Request IP0x0382Requests the status of an active orConnection Statuspending connection.(Device->Master)IP Connection Status0x0303Indicates the current status of a(Master->Device)connection or connection request.Indicates: success, failure,unexpected closing, Host terminatedconnection, etc.Authenticate0x0304This message is the challenge thatConnection(Fromis sent to the client device.Master)Authentication Response0x0385Encrypted challenge response from(To Master)the client.Connection0x0306Status back to the client regarding theGranted/Failedconnection.(From Master)


The included message protocol and its packet are designed to be sent independent of any transport protocol. Thus, this message can be sent by a TCP/IP protocol over any connection or by a lontalk protocol, which is based on the phastlink protocol developed by AMX Corporation. This protocol can also be carried over on RS232/PPP connections. This protocol supports master to master, PC to master and PC to device communication.


Communication components are usually represented using the seven-layer ISO model. Operating Systems such as Windows NT/9x provide most of these layers with a powerful object oriented abstraction at the application layer. Under Windows, at the application layer, the software developer is presented with a Berkley Sockets interface. With this interface, the developer can establish two-way communication using an object known as a “Socket”. Applications can choose to be clients or servers. Though this is a powerful abstraction, there is no facility to help the application developer formulate a protocol in terms of the packets of information sent back and forth on the wire. The services that are available deal with namespace resolution and sending and receiving of blocks of binary data. Typically, the client and server portions of the application are written to understand each other's messages on the wire. The messages consist of structures of binary information. To formulate such messages, the developer usually has to program in a low-level language such as C or C++.


The Internet has given rise to a whole new species of developers called “Web developers”. On an average, they are not low-level programmers who can code in C or C++ and instead use some combination of HTML, Java, JavaScript and VBScript. Except for the full Java language, the other languages are “scripting languages”.


They do not provide the developer with services and facilities of a full programming language.


The primary goal of the AMX Corporation dynamic messaging components invention is to make a scripting language such as VBScript or JavaScript (or even Visual Basic) capable of directly communicating on any TCP/IP network connection. This means that these dynamic messaging components have to give the script writer the ability to: (i) form binary messages and transmit them on a network connection; and (ii) receive binary messages from a network connection, understand their format and “unpack” them to extract individual fields in the message. As explained later in this document, it will be seen that apart from these two basic requirements, current communication protocols require more complex features that these components now provide.


To meet the primary goal explained above, the dynamic messaging components were chosen to be implemented using the Microsoft Component Object Model or COM. This is primarily because presently no other programming model allows a scripting language to use self-describing objects with such ease of use. COM objects are well-understood by the developer community and the model is mature and stable. However, other suitable programming models may be used if desired.


To effect the requirements enumerated above, three distinct objects or components are provided. They include a binary message descriptor/layout manager object, a message instance object that represents one network message, and a transport object that manages the buffered network transmission issues.


The message descriptor/layout manager object allows a script to define the structure of binary messages that represent packets of information sent back and forth on a network connection. The message structures are identified using unique names. Once defined, these structures can later be used to form instances of messages or define more complex structures, which contain embedded structures in them. Referring to FIG. 11 for an example of the message descriptor/layout manager object, which includes a binary message structure 700 that may be sent or received according to the communication protocol. The packet structure includes a message header structure that is an embedded structure within the message. The message header includes a packet protocol identifier (2 bytes) 702, a packet size in bytes (4 bytes) 703, a packet version (2 bytes) 704, and a packet type (2 bytes) 705. Message structure 700 further includes a message body, which contains data according to the message type. For example, the message body may include an element 1 (2 bytes) 705, an element 2 (a variable length element whose size is specified by element 1) 707, and an element 3 which is a NULL terminated string.


To further describe this message structure, two additional message structures are defined: the message header and the entire message. The entire message contains the header structure as an embedded structure within itself. The following pseudo-code shows the general format of the description:

LayoutManager = CreateObject(“LayoutManager”)LayoutManager.BeginDefineLayout(“PacketHeader”)  LayoutManager.AddPrimitive(“SHORT”, “Protocol”)  LayoutManager.AddPrimitive(“LONG”, “PacketSize”)  LayoutManager.AddPrimitive(“SHORT”, “PacketVersion”)  LayoutManager.AddPrimitive(“SHORT”, “PacketType”)LayoutManager.EndDefineLayout( )LayoutManager.BeginDefineLayout(“HelloWorldPacket”)  // message header  LayoutManager.AddStruct(“PacketHeader”, “Header”)  // message body  LayoutManager.AddPrimitive(“SHORT”, “Element1”)  LayoutManager.AddPrimitiveDynamicArray(“CHAR”,  “Element2”, “Element1”)  LayoutManager.AddSZString( “Element3”)LayoutManager.EndDefineLayout( )


The operations (methods) that the layout manager provides allow a script to define the individual components of a binary message. The operations generally take the form:

  <Object>.<Operation Name> (<Element Type>, <Element Name>,<Other Arguments ... >)


For example, to add the “PacketSize” element to the message, the “AddPrimitive” operation is used. The element type is specified as “LONG” meaning it is an integer 4 bytes in size. Adding elements to a message has to be done within a “BeginDefineLayout-EndDefineLayout” pair of operations. This indicates to the layout manager when a new message structure definition begins and ends. Once a message structure is defined completely, it may be used as an element type in further message definitions. In the example above, the “AddStruct” operation was used to make “Packet Header Structure” an element in the structure definition of message “Packet Type 1”. Embedding structures within structures allows for definition of very complex messages.


The example also illustrated yet another important concept. This is the ability to define variable length elements within a message structure. The element named “element 2” is of variable length. It is a byte (char) array whose length is specified within the message by the preceding element named “element 1”. Dynamically sized elements of this type are pretty common in many communication protocols.


Due to their very nature, some dynamically sized elements do not have to have an explicit element specify their size. An example of such an element type is a NULL terminated string. A NULL terminated string is a sequence of bytes in which the byte value of 0 is a special value indicating the end of the sequence. Since the end of the sequence is specified by this special value, its length does not have to be explicitly stored. The example shows that “element 3” is a NULL terminated string and the operation “AddSZString” is used to add it.


The following examples enumerate the operations (methods) provided by the layout manager.


Message Descriptor/Layout Manager Object Methods


BeginDefineLayout—starts definition of a new message (cannot be called while already defining a message).


EndDefineLayout—ends definition of a current message (cannot be called if not currently defining a message).


IsDefinedLayout—checks for existence of a message definition and returns TRUE/FALSE.


AddPrimitive—adds a primitive element to a message structure. Primitive elements form the basic entities of a binary message. Primitive elements includes characters (1 byte), 2 byte integers, 4 byte integers, floating point numbers (4 bytes) and double precision floating point numbers (8 bytes).


AddPrimitiveArray—adds an array of primitive elements to a message structure.


AddPrimitiveDynamicArray—adds a dynamic array of primitive elements to a message structure. The array does not have to be fixed in size, rather, the name of another (integer type) element is used to contain the actual length of this element inside a specific instance of this message structure. The size element has to have been already defined within the message structure. In other words, the length of this dynamic element is specified by an element within the message and that element should be stored in a position physically above the dynamic element.


AddStruct—adds a structure element to a message structure. The structure element must already have been defined.


AddStructArray—adds an array of structure elements to a message structure.


AddStructDynamicArray—adds a dynamic array of structure elements to a message structure. The same rules as that of AddPrimitiveDynamicArray applies to this method.


AddSZString—adds a NULL terminated string element to a message structure.


AddSZStringArray—adds an array of NULL terminated string elements to a message structure. The array does not have to be fixed in length, rather, the last string element of the array has to be terminated with two NULL characters rather than one NULL character.


AddPadding—adds padding of specified byte amount to a message structure after an element. This method is used to align individual elements of a structure to be on specific byte boundaries.


AddAlignmentPadding—adds padding to a message structure after an element to align to the specified alignment boundary. Byte alignments can be made to occur on 2, 4, 8 or 16 byte boundaries. This method is used to align individual elements on specific byte boundaries when the element sizes are not fixed. The message instance object of the dynamic messaging component allows a script to create an instance of a previously defined message in memory, fill the message with values for the individual fields of the message, and then with the help of transport object (which is described in the next section), transmit the message over a network connection. The message instance object also allows a script to receive an instance of a message over a network connection, unpack the message and access the values of the individual elements in the message.


The message structure previously defined will be used again to show how an instance of that message could be created in memory. FIG. 12 illustrates an instance of the message whose structure was described in the previous section. Message 720 includes a message header that has the following exemplary values: packet protocol identifier=1 (722); packet size in bytes=23 (723); packet version=1 (724); and packet type=3 (725). The message body may contains the following elements: element 1=5 (size of following dynamic array in bytes) (726); element 2=[hello] (array of 5 characters) (727); and element 3=“world.backslash.0” (NULL.backslash.0 terminated string) (728).


The following pseudo-code shows a typical sequence in creating the message instance:

MessageInstance = CreateObject (“LayoutInstance”)// (1) create message of type “HelloWorldPacket” - previouslydefined using Layout ManagerMessageInstance.CreateMessage(“HelloWorldpacket”, FALSE)// (2) setup length of dynamic fieldsMessageInstance.SetDynamicArraySize(“Element2”,StringLength(“Hello”))MessageInstance.SetSZStringLength(“Element3”, 0, StringLength(“World”))// (3) set values for elementsMessageInstance.BeginSetLayout( )  // setup message header fields  MessageInstance.SetInt2(“PacketHeader.Protocol”, 1)  MessageInstance.SetInt4(“PacketHeader.PacketSize”,MessageInstance.GetMessageSize( ))  MessageInstance.SetInt2(“PacketHeader.PacketVersion”, 1)  MessageInstance.SetInt2(“PacketHeader.PacketType”, 3)  // setup message body fields  MessageInstance.SetInt2(“Element1”, StringLength(“Hello”))  // set dynamic array element (Element2)  MessageInstance.SetCharArray(“Element2”, StringLength(“Hello”),  “Hello”)  // set NULL terminated element (Element3)  MessageInstance.SetSZString(“Element3”, “World”)MessageInstance.EndSetLayout( )


In the pseudo-code above, a message instance object is created which is then used to set the various values for the elements within the message. The code to actually transmit the message is described below.


The first operation performed is the “CreateMessage” operation. This operation allows a script to create a message of a given type. The message type is previously defined within this (or some other) script using the message descriptor/layout manager object. The meaning of the second boolean argument (FALSE in this case) is explained below. Following the creation of the message, two operations are performed to set the lengths of the two dynamic fields within the message. The two fields are “element 2” and “element 3”. “element 2” is a dynamic array of characters and “element 3” is a NULL terminated string. After a message is created, sizes of all dynamic elements within the message have to be specified because that is how the Message Instance object knows how much memory this message will occupy. If there are no dynamic elements in the message, this step can be completely avoided.


The third step is actually setting the values of the various fields (elements) in the message. In this message, there are two parts: header and body. The various operations supported by the Message Instance object provide scripts extreme flexibility in writing values of elements into a message. In this instance, methods like “SetInt2”, “SetInt4”, “SetCharArray” and “SetSZString” are used. Also, once all dynamic elements have been explicitly sized, the Message Instance object knows what the entire size of the message is, so the “GetMessageSize” operation can be used to get the size. This operation is used in writing the message size into the “PacketSize” element of the header. The sequence of set operations has to be enclosed within a pair of “BeginSetLayout-EndSetLayout” operations so that the Message Instance knows when a message is ready to be transmitted.


Now that a complete example of a message instance has been illustrated, the following section enumerates all the operations (methods) provided by the Message Instance.


The message/layout instance object includes the following methods:


CreateMessage—creates an instance of a message, given its type. Optionally, this method can be used to transform a message of one type to another type.


SetDynamicArraySize—sets the size of a dynamic element inside a message.


SetSZStringLength—sets the length of a NULL terminated string. The string may be by itself an element in the message or could be part of a string array.


SetSZStringArraySize—sets the size of an array of strings in a message.


BeginSetLayout—notifies the message instance object that “Set” methods are about to be called which will write values to individual elements within the message.


SetChar—sets the value of a single byte (char) element.


SetInt2—sets the value of a 2-byte integer (short) element.


SetInt4—sets the value of a 4-byte integer (long) element.


SetFloat—sets the value of a floating point (4 byte) element.


SetDouble—sets the value of a double precision floating point (8 byte) element.


SetCharArray—copies an array of characters into an element.


SetSZString—copies a string into the NULL terminated string element.


EndSetLayout—notifies the Message Instance object that the message should now readied for transmission as all the individual element values have been set.


BeginGetLayout—notifies the Message Instance object that the message should be un-packaged so that individual elements can be “read” out of it.


GetChar—returns the value of a single byte (char) element.


GetInt2—returns the value of a 2-byte integer (short) element.


GetInt4—returns the value of a 4-byte integer (long) element.


GetFloat—returns the value of a floating point element.


GetDouble—returns the value of a double precision element.


GetCharArray—returns an array of chars from an char array element.


GetSZStringLength—returns the size of a NULL terminated string element in the message.


GetSZStringArraySize—returns the size of a string array in the message.


GetSZString—returns a string from the message.


EndGetLayout—notifies the Message Instance object that the script is done “reading” values out of the message.


ClearData—clears any message instance data within the object.


GetMessageSize—returns the size (in bytes) of the entire message instance.


Send—using an instance of the transport object, streams the message instance over a network connection.


Receive—using an instance of the transport object, receives a message instance from a network connection.


SetConvert—sets network to host and host to network byte swapping transformation mode. In this mode, all incoming messages are assumed to be in network format and all outgoing messages are converted to network format.


Pushback—allows for message overflow/underflow. When an incoming message is partially formed or contains more than a full message, the partial message bytes can be “pushed” back into the transport object which can be retrieved later.


Message layout and message instance creation are set forth above. The final step in network connectivity is the actual transport. Message layout and message instancing are actions that give rise to blocks of bytes in the memory of the web server (or wherever the script is being executed). To be able to communicate on a network, a live connection has to be made to be able to send and receive data. The third object inside the AMX Corporation dynamic messaging components module is a transport object implemented specifically to handle TCP/IP networks. The two previous objects do not in anyway assume what kind of a network connection they are communicating over. The transport object's interface is specified independent of the nature of the network. The transport object has a built-in asynchronous message handler that can fire scripts when messages arrive outside of a script's “Receive” method call.


Examples of the transport object methods includes:


Connect—connects to a given remote computer given its network address and end-point (port).


Close—closes an existing connection.


GetLastSocketError—returns the last error that occurred on the network connection.


SetScriptPath—Sets the path of the script that will be executed on incoming asynchronous messages.


DisableAsyncHandler—during some operations, it is desirable not to have the asynchronous message processor fire external scripts—this method allows a script to disable the asynchronous message processor, during which time all incoming messages are buffered up.


EnableAsyncHandler—enables the asynchronous message processor—from this point onward, every incoming asynchronous message will result in an external script being executed.


IsConnected—returns whether the transport object is connected to a remote computer or not.


GetHost—returns the network address of the remote computer to which the transport object is currently connected.


GetPort—returns the port on the remote computer to which the transport object is currently connected.


The sequence of operations to create and send a message instance is given in the exemplary pseudo-code below:

// Create a transport object and connect it to a remote computerTransport = CreateObject(“Transport”)Transport.Connect(“abc.com”, 10000)MessageInstance = CreateObject(“LayoutInstance”)// create message of type “HelloWorldPacket” - previously defined usingLayout ManagerMessageInstance.CreateMessage(“HelloWorldPacket”, FALSE)// setup length of dynamic fieldsMessageInstance.SetDynamicArraySize(“Element2”,StringLength(“Hello”))MessageInstance.SetSZStringLength(“Element3”, 0, StringLength(“World”))// set values for elementsMessageInstance.BeginSetLayout ( )  // setup message header fields  MessageInstance.SetInt2(“PacketHeader.Protocol”, 1)  MessageInstance.SetInt4(“PacketHeader.PacketSize”,MessageInstance.GetMessageSize( ))  MessageInstance.SetInt2(“PacketHeader.PacketVersion”, 1)  MessageInstance.SetInt2(“PacketHeader.PacketType”, 3)  // setup message body fields  MessageInstance.SetInt2(“Element1”, StringLength(“Hello”)  // set dynamic array element (Element2)  MessageInstance.SetCharArray(“Element2”, StringLength(“Hello”),  “Hello”)  // set NULL terminated element (Element3)  MessageInstance.SetSZString(“Element3”, “World”)MessageInstance.EndSetLayout( )// transmit message instance using the transport object “Transport”MessageInstance.Send(Transport)


The dynamic messaging components are used in the communication between the ASP-based web server and the Internet appliance server. The various web pages that deal with controlling and administering the Internet appliance server use these objects to create and send TCP/IP messages to the IA server.


Although several embodiments of the present invention and their advantages have been described in detail, it should be understood that mutations, changes, substitutions, transformations, modifications, variations, and alterations can be made therein without departing from the teachings of the present invention, the spirit and scope of the invention being set forth by the appended claims.

Claims
  • 1. A method for communicating control information in a control system, wherein the control system includes a master controller and a plurality of devices, each of said plurality of devices having a number of channels, each channel having an identifying number and a plurality of channel states, the method comprising: at least initially directing one or more messages sent to and from each device to said master controller; sending a first type of control message from said master controller to respective devices, wherein a control message of said first type directs the respective device to place one of its channels in a specified channel state; and sending a second type of control message and a third type of control message from said master controller to respective devices, wherein a control message of said second type directs the respective device to set the level of a specified parameter to a certain value, and a control message of said third type comprises a character string of variable length.
  • 2. The method of claim 1, wherein all messages sent to and from each device are at least initially directed to said master controller.
  • 3. The method of claim 2, further comprising sending a fourth type of control message comprising a command from said master controller to a controlling device, wherein at least one of said plurality of devices comprises said controlling device configured to regulate the operation of a controlled device.
  • 4. The method of claim 3, further comprising converting the character string of said third type of control message to a format supported by one of said plurality of devices configured to receive said character string.
  • 5. The method of claim 4, further comprising inserting control messages of one or more of said control message types as respective control message components into a packet, in accordance with a specified protocol, for transmission between said master controller and one of said plurality of devices.
  • 6. The method of claim 3, further comprising temporarily assigning a device identification number to a one of said plurality of devices, wherein said device identification number is assigned by said master controller to enable communication of information between said one of said plurality of devices and said master controller, said one of said plurality of devices does not have a permanently assigned identification number, and is transparent to operation of said control system when the device identification number is not temporarily assigned thereto.
  • 7. The method of claim 6, further comprising said master controller periodically querying respective devices to monitor availability of respective devices for communication of information.
  • 8. The method of claim 3, wherein each of said plurality of devices includes an identification number and one or more ports, each of said ports having an identification number and one or more channels.
  • 9. The method of claim 8, further comprising said master controller rendering a channel of a first device into an input state to receive an input from said first device, and said master controller rendering a channel of a second device into an output state to send said input received from said first device as an output to said second device.
  • 10. The method of claim 9, wherein each of said channels is configured to indicate a specific function, parameter or property of its corresponding device.
  • 11. The method of claim 8, wherein a message sent between said master controller and one of said plurality of devices includes an address indicating the identification number of the one of said plurality of devices, and of the port and channel thereof originating or receiving the message.
  • 12. The method of claim 3, wherein said control system comprises a control area network, and said master controller is configured to exchange messages between respective devices of said control area network and the Internet.
  • 13. The method of claim 12, wherein said master controller comprises at least one from the group consisting of a device manager, a diagnostic manager, a configuration manager and an IP port connection manager.
  • 14. A control system comprising: a master controller; a plurality of devices, wherein each of said plurality of devices is configured with a plurality of channels, each channel having an identification number and a plurality of channel states; and wherein said control system is configured to at least initially direct one or more messages sent to and from each device to said master controller, said master controller is configured to send a first type of control message, a second type of control message and a third type of control message to respective devices, each device is configured to receive the first type of control message, the second type of control message and the third type of control message such that the first type of control message directs the respective device to place one of its channels in a specified channel state, the second type of control message directs the respective device to set the level of a specified parameter to a certain value, the third type of control message directs the respective device to receive a character string of variable length.
  • 15. The control system of claim 14, wherein all messages sent to and from each device are at least initially directed to said master controller.
  • 16. The control system of claim 15, wherein at least one of said plurality of devices comprises a controlling device configured to regulate the operation of a controlled device, and said master controller is configured to generate a fourth type of control message comprising a command to said controlling device that pertains to the operation of said controlled device.
  • 17. The control system of claim 16, wherein said character string of said third type of control message is converted to a format supported by at least one of said plurality of devices configured to receive said character string.
  • 18. The control system of claim 16, wherein a device identification number is temporarily assigned to a one of said plurality of devices by said master controller to enable communication of information between said one of said plurality of devices and said master controller, said one of said plurality of devices does not have a permanently assigned identification number, and is transparent to operation of said control system when the device identification number is not temporarily assigned thereto.
  • 19. The control system of claim 16, wherein each of said plurality of devices includes an identification number and one or more ports, each of said ports having an identification number and one or more channels.
  • 20. The control system of claim 19, wherein said master controller is configured to render a channel of a first device into an input state to receive an input from said first device, and is further configured to render a channel of a second device into an output state to send said input received from said first device as an output to said second device.
  • 21. The control system of claim 16, further comprising a control area network, wherein said master controller is coupled to exchange messages between respective devices of said control area network and the Internet.
  • 22. The control system of claim 21, wherein said master controller comprises a plurality of managers.
  • 23. The control system of claim 22, wherein said managers comprise at least one from the group consisting of a device manager, a diagnostic manager, a configuration manager and an IP port connection manager.
  • 24. A control system comprising: a master controller; a plurality of devices, wherein each of said plurality of devices is configured with a plurality of channels, each channel having an identification number and a plurality of channel states; and wherein said control system is configured to at least initially direct one or more messages sent to and from at least one device to said master controller, said master controller is configured to send a control message to one of said plurality of devices, said one of said plurality of devices being configured upon receipt of said control message to perform at least one of placing one of said plurality of channels of said one of said plurality of devices in a specified channel state, setting the level of a specified parameter to a certain value, and receiving a character string of variable length.
  • 25. A computer program product for communicating control information in a control system, wherein the control system includes a master controller and a plurality of devices, each of said plurality of devices having a number of channels, each channel having an identifying number and a plurality of channel states, the computer program product comprising: a first computer code for at least initially directing one or more messages sent to and from each device to said master controller; a second computer code for sending a first type of control message from said master controller to respective devices, wherein a control message of said first type directing the respective device to place one of its channels in a specified channel state; and a third computer code for sending a second type of control message and a third type of control message from said master controller to respective devices, wherein the second type of control message directs the respective device to set the level of a specified parameter to a certain value, and the third type of control message comprises a character string of variable length.
  • 26. The computer program product of claim 25, wherein all messages sent to and from each device are at least initially directed to said master controller.
  • 27. The computer program product of claim 26, further comprising a fourth computer code for sending a fourth type of control message comprising a command from said master controller to a controlling device, wherein at least one of said plurality of devices comprises said controlling device configured to regulate operation of a controlled device.
  • 28. The computer program product of claim 27, further comprising a fifth computer code for converting said character string of said third type of control message to a format supported by at least one of said plurality of devices configured to receive said character string.
  • 29. The computer program product of claim 28, further comprising a sixth computer code for inserting control messages of one or more of said control message types as respective control message components into a packet, in accordance with a specified protocol, for transmission between said master controller and one of said plurality of devices.
  • 30. The computer program product of claim 27, further comprising a fifth computer code for temporarily assigning a device identification number to one of said plurality of devices, wherein said device identification number is assigned by said master controller to enable communication of information between said one of said plurality of devices and said master controller, said one of said plurality of devices does not have a permanently assigned identification number, and is transparent to operation of said control system when the device identification number is not temporarily assigned thereto.
  • 31. The computer program product of claim 30, further comprising a sixth computer code for said master controller periodically querying respective devices to monitor availability of respective devices for communication of information.
  • 32. The computer program product of claim 27, wherein each of said plurality of devices includes an identification number and one or more ports, each of said ports having an identification number and one or more channels.
  • 33. The computer program product of claim 32, further comprising a fifth computer code for rendering a channel of a first device into an input state to receive an input from said first device, and a sixth computer code for rendering a channel of a second device into an output state to send said input received from said first device as an output to said second device.
  • 34. The computer program product of claim 33, wherein each of said channels is configured to indicate a specific function, parameter or property of its corresponding device.
  • 35. The computer program product of claim 32, wherein a message sent between said master controller and one of said plurality of devices includes an address indicating the identification numbers of the one of said plurality of devices, and of the port and channel thereof originating or receiving the message.
  • 36. The computer program product of claim 27, wherein said control system comprises a control area network, said computer program further comprising a fifth computer code for exchanging messages between respective devices of said control area network and the Internet.
  • 37. The computer program product of claim 36, wherein said master controller comprises at least one from the group consisting of a device manager, a diagnostic manager, a configuration manager and an IP port connection manager.
  • 38. A control system comprising: a master controller; a plurality of devices, wherein each of said plurality of devices is configured with a plurality of channels, each channel having an identification number and a plurality of channel states; and means for at least initially directing all messages sent to and from each device to said master controller; means for sending a first type of control message from said master controller to respective devices, wherein the first type of control message directs the respective device to place one of its channels in a specified channel state; and means for sending a second type of control message and a third type of control message from said master controller to respective devices, wherein the second type of control message directs the respective device to set the level of a specified parameter to a certain value, and the third type of control message comprises a character string of variable length.
  • 39. A transport independent communication protocol in a control system, wherein the control system includes a master controller and a plurality of devices, the communication protocol comprising: a packet protocol having: a protocol field for indicating the type of protocol; a length of data field for listing the length of the data field; a data field containing sub protocol data; and a checksum for determining the integrity of a packet, wherein the communication protocol is configured to communicate between the master controller and the plurality of devices.
  • 40. The communication protocol of claim 39, wherein the communication protocol comprises at least one from the group consisting of an Ethernet protocol, an AXLink protocol and a PhastLink protocol.
  • 41. The communication protocol of claim 39, wherein the control system includes a means for dynamically providing a translation from an Internet protocol to the communication protocol.
CROSS REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of and claims priority to co-pending U.S. patent application Ser. No. 09/561,105, entitled “Internet Control System and Method,” filed in the U.S. Patent and Trademark Office on Apr. 28, 2000 and having a common inventor as the present document, which claims priority to U.S. provisional application Ser. No. 60/131,605 filed in the U.S. Patent and Trademark Office on Apr. 29, 1999. All of the above provisional and non-provisional patent applications are hereby incorporated by reference.

Provisional Applications (1)
Number Date Country
60131605 Apr 1999 US
Continuations (1)
Number Date Country
Parent 09561105 Apr 2000 US
Child 11601041 Nov 2006 US