User:Alisonken1/Pjlink: Difference between revisions
Alisonken1 (talk | contribs) m →Communication: Added ASCII and UTF-8 notes |
Alisonken1 (talk | contribs) |
||
Line 67: | Line 67: | ||
! 0x20 |
! 0x20 |
||
! Space |
! Space |
||
! Separator in command packet |
! Separator byte in command packet |
||
|- |
|- |
||
! = |
! = |
||
! 0x3d |
! 0x3d |
||
! Equal sign |
! Equal sign |
||
! Separator in reply packet |
! Separator byte in reply packet |
||
|} |
|} |
||
Revision as of 21:14, 27 September 2018
This is not a Wikipedia article: It is an individual user's work-in-progress page, and may be incomplete and/or unreliable. For guidance on developing this draft, see Wikipedia:So you made a userspace draft. Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
PJLink is a standard for basic control and configuring of a Projector over a network interface. It was developed by the Data Projector Group within the Japan Business Machine and Information System Industries Association (JBMIA). [1] The aim of the standard is to define a manufacturer and model-independent interface for the configuration and monitoring of video displays. [2] [3]
Definitions
Terminology
Term | Description |
---|---|
Command | Data sent from Controller to Terminal |
Controller | Device/software used to send commands to remote projector/display |
Class | Version of applicable PJLink standard |
Header | Start byte indicating a PJLink data packet |
Packet | Network data byte(s) sent in one communication transfer |
Parameter | Variable-length portion of packet that contains control setting or reply status Controller: Query or setting value Terminal: Status information or error code |
Query | Packet requesting status or information from terminal |
Reply | Data sent from Terminal to Controller |
Separator | Byte in the packet that separates the command from the parameter |
Terminal | Remote projector/display being controlled |
Special characters
Mnemonic | Hex Code | Meaning | Description |
---|---|---|---|
% | 0x25 | Header | Start byte of PJLink packet |
<cr> | 0x0d | Terminator | End byte of PJLink packet |
<sp> | 0x20 | Space | Separator byte in command packet |
= | 0x3d | Equal sign | Separator byte in reply packet |
Communication
Communication is via the TCP protocol. A command packet is sent from the controller, and a reply is returned by the terminal. The header, class, command, separator, and terminator will all be in the ASCII character set. The parameter may be either ASCII or UTF-8 character set.
A PJLink packet has the following characteristics:
Header | Class | Command | Separator | Parameter | Terminator |
---|---|---|---|---|---|
1 byte | 1 Byte | 4 bytes | 1 byte | 0-128 bytes | 1 byte |
Example query to request PJLink class terminal supports:
"%1CLSS<sp>?<cr>"
Example reply for PJLink class terminal supports:
"%1CLSS=1<cr>"
Notes
References
- ^ http://pjlink.jbmia.or.jp/english/
- ^ Specification of PJLink Class1 (PDF; 580 kB)
- ^ Specification of PJLink Class2 (PDF; 887 kB)