Changes

1,282 bytes added ,  06:35, 16 June 2011
Expanded Nintento Tag Format section based on observations.
Line 28: Line 28:  
=== Nintendo Tag Format ===
 
=== Nintendo Tag Format ===
   −
The offsets mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length, and can be found right after the Vendor Specific OUI type of the 802.11 frame, which is often seen as a byte of "01".
+
The offsets, in bytes, mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length, and can be found right after the Vendor Specific OUI type of the 802.11 frame, which is often seen as a byte of "01". Each one of the elements are discussed in more detail after the table. Note that this table represents a current theory on what each of the fields represent, with the argument stated in the corresponding sections.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 39: Line 39:  
|  0x00
 
|  0x00
 
|  0x01
 
|  0x01
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.
+
*Protocol identification*. May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.
 
| 11
 
| 11
 
|-
 
|-
 
|  0x01
 
|  0x01
varies
+
0x01
|  Unknown. Remainder of the string.
+
*Unknown*. Seems to vary by device, but stays consistent and doesn't change between Street Passes. May be a length or counter field in relation to the next set of fields.
05 00 02 08 00 00 f0 08 c8 34 6e
+
|  05
 +
|-
 +
|  0x02
 +
|  0x05
 +
|  *SteetPass Services*. Starting at the 0x02 offset, it appears to be a list of StreetPass services, each in length of 5 bytes. This continues on depending on the number of services the user has enabled at the time.
 +
|  00 02 08 00 00
 
|-
 
|-
 
|  -0x08
 
|  -0x08
 
|  0x08
 
|  0x08
Some random StreetPass ID. Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?
+
*StreetPass ID*. Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?
 
|  0f c9 c6 80 5b 6f bc 5a
 
|  0f c9 c6 80 5b 6f bc 5a
 
|}
 
|}
Line 56: Line 61:     
Defined the entire Nintendo tag with the exception of the StreetPass ID. It's purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.
 
Defined the entire Nintendo tag with the exception of the StreetPass ID. It's purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.
 +
 +
==== Unknown Field ====
 +
 +
As mentioned, possible a length field for the StreetPass services.
 +
 +
==== StreetPass Services ====
 +
 +
The third field in the protocol header appears to be an arbitrary length list of StreetPass services enabled on the device. Each StreetPass service seems to be identified by a 5 byte ID. Observed service IDs include:
 +
 +
- *Mii Plaza*:  00 02 08 00 00
 +
- *Sims 3*: 00 03 65 00 30
 +
 +
Some services have a 6-byte field preceding or succeeding the StreetPass service that is just FF bytes (e.g. FF FF FF FF FF FF). The purpose of these is unknown, although may be used as data for a service, or as separator of some sort for different types of StreetPass services.
    
==== StreetPass ID ====
 
==== StreetPass ID ====
36

edits