Claims
- 1. A computer-readable medium encoded with a data structure for use in a pendant bus communications system, the data structure comprising:
a first data field including a device identifier having a current value, the current value being modified each time the data structure is evaluated by a pendant peripheral device in the pendant bus communications system, wherein the current value matches a predetermined value if the data structure reaches a pendant peripheral device with which the data structure is associated; a second data field including a packet type identifier, wherein the packet type identifier includes information that describes actions to be taken by the associated pendant peripheral device in response to receiving the data structure; and a third data field including data bits, wherein a format of the data bits is defined by the packet type identifier in the second data field.
- 2. The computer-readable medium of claim 1, wherein the predetermined value is zero.
- 3. The computer-readable medium of claim 1, wherein the current value is incremented by the evaluating pendant peripheral device as the data structure is communicated upstream in the pendant bus communication system.
- 4. The computer-readable medium of claim 1, wherein the current value is decremented by the evaluating pendant peripheral device as the data structure is communicated upstream in the pendant bus communication system.
- 5. The computer-readable medium of claim 1, wherein the packet type identifier is a selected one from a group comprising a control message packet type, a data message packet type, a command message packet type, an indicator message packet type, a character text message packet type, a bitmap text message packet type, a smart keyboard message type, a graphics message packet type, a test message packet type, and a Need Driver message packet type.
- 6. The computer-readable medium of claim 5, wherein the control message packet type identifier is selected from a group consisting of an error control packet type, a plug/unplug control packet type, a soft reset control packet type, a hard reset control packet types a get device capabilities control packet type, and device Globally Unique Identifier (GUID) control packet type.
- 7. The computer-readable medium of claim 1, wherein the data structure further comprises a bus version that identifies a version of the pendant bus communications system.
- 8. The computer-readable medium of claim 1, wherein the data structure comprises a message packet.
- 9. A computer-readable medium encoded with a message packet, comprising a message packet means for communicating information between a pendant peripheral device and a host device over a serial pendant bus communications system.
- 10. The computer-readable medium of claim 9, wherein the message packet means comprises one of a control type, a data type, a command type, an indicator type, a character text type, a bitmap text type, a smart keyboard type, a graphics type, a test type, and a Need Driver type.
- 11. A computer-implemented method for determining whether a message packet received by a pendant peripheral device in a bus communications system is intended for the pendant peripheral device, comprising:
evaluating a device identifier field associated with the message packet, wherein the device identifier field includes a value associated with an intended pendant peripheral device; if the value corresponds to a predetermined value, then operating on the message packet; and if the value is other than the predetermined value, modifying the value of the device identifier field and communicating the message packet to another device in the bus communications system.
- 12. The computer-implemented method of claim 11, wherein modifying the value comprises incrementing the value of the device identifier field if the message packet is communicated upstream to another device in the bus communications system.
- 13. The computer-implemented method of claim 11, wherein modifying the value comprises decrementing the value of the device identifier field if the message packet is communicated downstream to a pendant peripheral device in the bus communications system.
- 14. The computer-implemented method of claim 11, wherein modifying the value comprises incrementing the value of the device identifier field if the message packet is communicated upstream to a host-computing device in the bus communications system.
- 15. The computer-implemented method of claim 11, wherein modifying the value comprises decrementing the value of the device identifier field if the message packet is communicated downstream to another device in the bus communications system.
- 16. A method for communicating a message to a pendant peripheral device in a bus communications system, comprising:
computing a value which if modified in a predictable manner by intervening pendant peripheral devices between a host-computing device and an intended pendant peripheral device results in a predetermined value associated with the intended pendant peripheral device; and issuing the message including the computed value over the bus communications system.
- 17. The method of claim 16, wherein the modification comprises decrementing the value if the intended pendant peripheral device is downstream from the intervening pendant peripheral devices in the bus communications system.
- 18. The method of claim 16, wherein the modification comprises incrementing the value if the intended pendant peripheral device is upstream from the intervening pendant peripheral devices in the bus communications system.
- 19. A method for indicating that a device has been plugged into a bus communications system, comprising:
issuing a first control packet indicating that the device has been plugged into the bus communications system, the control packet describing features supported by the plugged-in device in a first level of detail; receiving a second control packet requesting further detail of the supported features of the plugged in device; and issuing a first data packet describing supported features of the plugged-in device in a second level of detail.
- 20. The method of claim 19, wherein the method further comprising:
receiving a third control packet requesting further detail of the supported features; and issuing a second data packet describing supported features of the plugged in device in a third level of detail.
- 21. A method of communicating that a pendant peripheral device has been unplugged from a bus communications system, comprising:
receiving a message packet indicating an occurrence of an unplug event resulting from a pendant peripheral device being unplugged from the bus communications system; and evaluating the message packet to determine a value that indicates a number of intervening pendant peripheral devices between a host-computing device and the unplugged pendant peripheral device.
- 22. The method of claim 21, wherein a device identifier associated with the unplugged pendant peripheral device differs from the number of intervening pendant peripheral devices by a single device identifier.
RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. 60/349787 filed on Jan. 16, 2002, which is hereby claimed under 35 U.S.C. §119(e).
[0002] This application hereby incorporates by reference co-pending U.S. application Ser. No. YYY entitled “System and Method for a Pendant Bus,” filed on MMDDYY.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60349787 |
Jan 2002 |
US |