hardware:hp2101nw_wlan_printserver
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
hardware:hp2101nw_wlan_printserver [2011/12/14 00:42] – reinhold | hardware:hp2101nw_wlan_printserver [2012/02/26 15:18] – [section 28] reinhold | ||
---|---|---|---|
Zeile 574: | Zeile 574: | ||
===== Network communication protocol (USB port forwarding over WLAN) ===== | ===== Network communication protocol (USB port forwarding over WLAN) ===== | ||
+ | |||
+ | |||
+ | There are three different types of communications: | ||
+ | - Device information requests: UDP port 34444 (data format: " | ||
+ | - Detection, configuration and locking: TCP & UDP port 34447 (data format: " | ||
+ | - USB over TCP: TCP port 34448 (data format: [type][18byte header], Response " | ||
+ | |||
+ | |||
* TCP Ports 34447, 34448 and 34450 are open and used | * TCP Ports 34447, 34448 and 34450 are open and used | ||
* UDP Ports 34444 and 34447 are used for discovery broadcast and other device communication | * UDP Ports 34444 and 34447 are used for discovery broadcast and other device communication | ||
- | There are three different types of communications: | ||
- | - communication with the print server for configuration / printer detection and locking (UDP port 34444, " | ||
- | - communication with the printer trough the print server (UDP port 34447, " | ||
- | - real USB over TCP communication with the printer (TCP port 34448, [type][18byte header], Response " | ||
=== General communication packet structure for print server communication === | === General communication packet structure for print server communication === | ||
Zeile 632: | Zeile 636: | ||
00 00 00 00 01 00 00 00 ........ | 00 00 00 00 01 00 00 00 ........ | ||
52 42 52 55 12 00 00 00 02 00 00 00 00 00 00 00 RBRU.... ........ | 52 42 52 55 12 00 00 00 02 00 00 00 00 00 00 00 RBRU.... ........ | ||
- | 01 00 00 00 12 01 00 02 00 00 00 40 2b 13 89 20 ........ ...@+.. | + | 01 00 00 00 12 01 00 02 00 00 00 40 2b 13 89 20 ........ ...@ .. |
00 01 01 02 03 01 ...... | 00 01 01 02 03 01 ...... | ||
Zeile 638: | Zeile 642: | ||
^ bytes ^ description ^ | ^ bytes ^ description ^ | ||
- | | 0 | command: 0x00=UNKNOWN | + | | 0 | command: 0x00=GET interface information |
- | | 1-6 | FIXME: UNKNOWN | | + | | 1-5 | FIXME: |
- | | 7 | For GET DESCRIPTOR: DESCRIPTOR type (0x01=DEVICE, | + | | 3 | For GET interface information: |
+ | | 6 | For GET DESCRIPTOR: DESCRIPTOR index, Otherwise: FIXME UNKNOWN | | ||
+ | | 7 | For GET DESCRIPTOR: DESCRIPTOR type (0x01=DEVICE, | ||
| 8-9 | FIXME: UNKNOWN, for URB_CONTROL In: wValue, for STRING DESCRIPTOR: languageId | | | 8-9 | FIXME: UNKNOWN, for URB_CONTROL In: wValue, for STRING DESCRIPTOR: languageId | | ||
| 10-11 | FIXME: UNKNOWN, for URB_CONTROL In: wIndex | | | 10-11 | FIXME: UNKNOWN, for URB_CONTROL In: wIndex | | ||
Zeile 823: | Zeile 829: | ||
| 0-3 | '' | | 0-3 | '' | ||
| 4-5 | 0x0007 (little endian) | Response to 0x0007 request | | | 4-5 | 0x0007 (little endian) | Response to 0x0007 request | | ||
- | | 38-42 | '' | + | | 6-37 | 16 bytes | USB device description |
- | | 173-174 | 0x132b | + | | 38-42 |
- | | 175-176 | 0x2089 | + | |
- | | 177-178 | 0x0100 | + | |
- | | 177-192 | | FIXME: Unknown ('' | + | |
- | + | ||
- | All other bytes are 0x00. Their meaning is not yet known. | + | |
hardware/hp2101nw_wlan_printserver.txt · Zuletzt geändert: 2013/03/13 10:42 von 127.0.0.1