StreetPass: Difference between revisions

m typo
m I added the meaning of some fields of the probe request/response that were still "unknown" (it's a Type-length-value structure). I also added that the SEND_ONLY mode is used when the inbox is full. Although it may be used in other cases too?
 
Line 56: Line 56:
==== Nintendo Tag Format ====
==== Nintendo Tag Format ====


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.
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. It seems to follow a "Type–length–value" structure.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 68: Line 68:
|  0x00
|  0x00
|  0x01
|  0x01
|  '''Protocol Identification'''
|  '''StreetPass Service Tag'''
May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.
The identifier of the StreetPass Service. All captures thus far show this value at 17, hexadecimal 11.
| 11
| 11
|-
|-
Line 84: Line 84:
|  00 02 08 00 00
|  00 02 08 00 00
|-
|-
varies
-0x10
0x02
0x1
|  '''Unknown'''
|  '''StreetPass consoleID Tag'''
At the end of the StreetPass Services field is a two byte field that is the same among all devices thus far. Its purpose is unknown.
The identifier of the StreetPass consoleID, it is always the same value.
f0 08
|  f0
|-
|  -0x09
|  0x01
|  '''StreetPass consoleID Length'''
|  The length of the StreetPass consoleID field, which is also always the same value.
|  08
|-
|-
|  -0x08
|  -0x08
Line 97: Line 103:
|}
|}


===== Protocol Version =====
===== StreetPass Service Tag =====


Appears to represent a protocol version, or device identification. This field remains consistent on all devices, despite variable enabled StreetPass services or length of the tag. Could also represent region.
This field indicates that the following data is of type StreetPass services. It is the same across all devices.


===== StreetPass Service Length =====
===== StreetPass Service Length =====
Line 390: Line 396:
|}
|}


===== Unknown 2-byte Field =====
===== StreetPass consoleID Tag =====
 
It has remained the same across all devices thus far, '''f0'''. It identifies the StreetPass consoleID field.
 
===== StreetPass consoleID Length =====


The purpose of this field is not known yet. It has remained the same across all devices thus far. The value has always been observed as '''f008'''.
Since the StreetPass consoleID length is always 0x08, this field is always '''08'''.


===== StreetPass consoleID =====
===== StreetPass consoleID =====
Line 419: Line 429:
|1||RECV_ONLY||3DS doesn't have anything in its outbox so it is only receiving messages.
|1||RECV_ONLY||3DS doesn't have anything in its outbox so it is only receiving messages.
|-
|-
|2||SEND_ONLY||
|2||SEND_ONLY||3DS inbox is full so it is only sending messages.
|-
|-
|3||SEND_RECV||
|3||SEND_RECV||