Benutzer-Werkzeuge

Webseiten-Werkzeuge


hardware:vap11g_wlan_bridge

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
hardware:vap11g_wlan_bridge [2012/01/21 16:34] reinholdhardware:vap11g_wlan_bridge [2013/03/13 10:42] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 30: Zeile 30:
 |   8-9  | Length of the data (bytes 10-...), in lower endian | |   8-9  | Length of the data (bytes 10-...), in lower endian |
 |  10-length  | Data contents (in configuration file format) | |  10-length  | Data contents (in configuration file format) |
 +|             | (First two bytes of a return package are STATUS) |
 | length+1 - 63  | padding with ''0x00'' to have at least 64 bytes. | | length+1 - 63  | padding with ''0x00'' to have at least 64 bytes. |
  
Zeile 62: Zeile 63:
     - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00)     - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00)
  
-==== Configuration data format ====+Full packet sniff obtained with wireshark: {{:hardware:vap11g:vap11g_config.txt|vap11g_config.txt}} 
 + 
 +===== Communication structure of configuration data exchange ===== 
 + 
 +==== Sending a command to the device ==== 
 +  - ''0x01 0x01'' send config (command 9107: start WLAN scan), status response 
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with 2 bytes (0x00), some (random?) data after the end 
 + 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 01 01   ........'Q...... 
 +  0010  01 00 00 00 00 00 07 00 39 31 30 37 3a 0d 0a      ........9107:.. 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 01 01   ..'Q............ 
 +      0010  00 00 00 00 00 00 02 00 00                        ......... 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  02 00 00 00 00 00 00 00                           ........ 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  01 00 00 00 00 00 02 00 00 00 00 00 8c 61 0e d0   .............a.. 
 + 
 +==== Requesting data from the device ==== 
 + 
 +  - ''0x01 0x01'' send config (command 9100: get config), status response 
 +    - ''0x02 0x01'' request device response, ''0x02 0x01'' response with full configuration (2 packets) 
 +    - ''0x02 0x01 0x03'' request for further packet, no response at all 
 + 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 01 01   ........'Q...... 
 +  0010  01 00 00 00 00 00 07 00 39 31 30 30 3a 0d 0a      ........9100:.. 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 01 01   ..'Q............ 
 +      0010  00 00 00 00 00 00 02 00 00                        ......... 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  02 00 00 00 00 00 00 00                           ........ 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  01 00 00 00 01 00 32 00 00 00 30 30 30 31 20 42   ......2...0001 B 
 +      0020  4f 58 5f 4e 41 4d 45 3a 56 41 50 31 31 47 0a 30   OX_NAME:VAP11G.0 
 +      0030  30 30 32 20 4d 41 43 5f 41 44 44 52 3a 30 30 31   002 MAC_ADDR:001 
 +      0040  37 31 33 31 31 46 43 44 30 0a                     71311FCD0. 
 +  [2nd response packet directly afterward: 
 +      0000  08 00 27 51 a4 a2 00 17 13 11 fc d0 88 88 02 01   ..'Q............ 
 +      0010  02 00 00 00 00 00 85 03 00 00 37 30 30 30 20 53   ..........7000 S 
 +      0020  53 49 44 3a 54 72 61 66 6f 73 74 61 74 69 6f 6e   SID:Trafostation 
 +      [... Rest of packet] 
 +      0380  35 37 62 38 65 35 2c 32 2c 47 2c 31 2c 31 30 0b   57b8e5,2,G,1,10. 
 +      0390  0a 37 30 32 32 20 42 41 4e 44 3a 30 0a            .7022 BAND:0. 
 +  0000  00 17 13 11 fc d0 08 00 27 51 a4 a2 88 88 02 01   ........'Q...... 
 +  0010  03 00 00 00 00 00 00 00                           ........ 
 + 
 + 
 +===== Configuration data format =====
  
 Configuration data consists of ''\n''-separated lines (i.e. 0x0a linefeed). Each entry has the form Configuration data consists of ''\n''-separated lines (i.e. 0x0a linefeed). Each entry has the form
Zeile 110: Zeile 156:
   7021 SURVEY:[see below]   7021 SURVEY:[see below]
   7022 BAND:0   7022 BAND:0
- 
- 
-  kainhofer.3039f252ad76,1,G,2,40.UPC017372.001e69e5bd45,6,G,3,20.Trafostation.30469a64d256,6,G,3,10.SpeedTouch1.0624feef2ce6,11,G,3,70.SpeedTouch1.e839df15eab3,11,G,3,10.Fischer.586d8f04b96e,11,G,3,20.missinglink.002369262a19,11,G,3,10.CSILLA_2.0024b257b8e5,2,G,1,10. 
  
  
hardware/vap11g_wlan_bridge.1327163689.txt.gz · Zuletzt geändert: 2013/03/13 10:42 (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki