<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Seabrook</id>
	<title>3dbrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Seabrook"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/wiki/Special:Contributions/Seabrook"/>
	<updated>2026-04-14T23:32:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=823</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=823"/>
		<updated>2011-06-17T01:31:36Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: StreetPass ID may be used as part of the key generation for the encryption exchange.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Exchange ==&lt;br /&gt;
&lt;br /&gt;
While StreetPass is enabled, the 3DS constantly sends out Probe Requests with an SSID of &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. Unlike beacons, which are actively advertising the device&#039;s presence, the 3DS is essentially actively looking for other 3DSes. This design is likely to limit impact to non-3DS WiFi capable devices. Each Probe Request contains basic information about that 3DS, including an identifier, and active StreetPass services. If another 3DS is in range, the second 3DS (#2) will respond with a Probe Response, to which the original 3DS (#1), and of the receiving device with every frame thereafter, will respond with an 802.11 Acknowledgement. 3DS(#1) then sends an 802.11 Action frame, as well as an additional Probe Request. The second 3DS sends back another Probe Response that begins the encrypted exchange between the two devices. &lt;br /&gt;
&lt;br /&gt;
The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours. It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Probe Request Frame ===&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom variable length Nintendo tag, which contains information regarding the offered StreetPass services. The sequence numbers for these probe request increment by 3 for every probe, until another 3DS responds with a probe response.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
==== Nintendo Tag Format ====&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Of note, there is a 4 byte sequence unaccounted for prior to the StreetPass ID and after the currently unknown field. These four bytes may be part of the StreetPass ID, although captures of other 3DS units show the StreetPass ID at a fixed 8-byte value, and not 12-bytes as shown in the example above.&lt;br /&gt;
&lt;br /&gt;
===== Protocol Version =====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Service Length =====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Services =====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Ridge Racer: 00 03 58 00 30&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== Unknown 2-byte Field =====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass ID =====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
The value in this field may be used as part of the key generation for the upcoming encrypted exchange. Not much additional information outside of what is in this tag is exchanged between the two 3DS systems before the encrypted session begins.&lt;br /&gt;
&lt;br /&gt;
=== Initial Probe Response Frame ===&lt;br /&gt;
&lt;br /&gt;
If a 3DS (#2) receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS (#2) will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS (#1) that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS (#2) appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
=== Subsequent Probe Request and Response Frames ===&lt;br /&gt;
&lt;br /&gt;
The 3DS (#1) that the Initial Probe Response is directed to will send an 802.11 Action frame back to the device. The sequence numbers at this point stop stepping up by 3, and instead increase by one based from each originating device&#039;s SN. It will then send another Probe Request, this time sent directly to the responding 3DS (#2) by specifying its MAC address in the destination field, and setting its own MAC address in the source address field. It also does not have a SSID specified in the frame, except the frame will contain a BSSID with the value of the 3DS (#2) that responded to the initial Probe, and thus acts as the master in the 802.11 exchange.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=822</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=822"/>
		<updated>2011-06-17T01:13:45Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Adding the last bit of undocumented information in the Nintendo tag format section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Exchange ==&lt;br /&gt;
&lt;br /&gt;
While StreetPass is enabled, the 3DS constantly sends out Probe Requests with an SSID of &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. Unlike beacons, which are actively advertising the device&#039;s presence, the 3DS is essentially actively looking for other 3DSes. This design is likely to limit impact to non-3DS WiFi capable devices. Each Probe Request contains basic information about that 3DS, including an identifier, and active StreetPass services. If another 3DS is in range, the second 3DS (#2) will respond with a Probe Response, to which the original 3DS (#1), and of the receiving device with every frame thereafter, will respond with an 802.11 Acknowledgement. 3DS(#1) then sends an 802.11 Action frame, as well as an additional Probe Request. The second 3DS sends back another Probe Response that begins the encrypted exchange between the two devices. &lt;br /&gt;
&lt;br /&gt;
The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours. It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Probe Request Frame ===&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom variable length Nintendo tag, which contains information regarding the offered StreetPass services. The sequence numbers for these probe request increment by 3 for every probe, until another 3DS responds with a probe response.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
==== Nintendo Tag Format ====&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Of note, there is a 4 byte sequence unaccounted for prior to the StreetPass ID and after the currently unknown field. These four bytes may be part of the StreetPass ID, although captures of other 3DS units show the StreetPass ID at a fixed 8-byte value, and not 12-bytes as shown in the example above.&lt;br /&gt;
&lt;br /&gt;
===== Protocol Version =====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Service Length =====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Services =====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Ridge Racer: 00 03 58 00 30&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== Unknown 2-byte Field =====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass ID =====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
=== Initial Probe Response Frame ===&lt;br /&gt;
&lt;br /&gt;
If a 3DS (#2) receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS (#2) will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS (#1) that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS (#2) appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
=== Subsequent Probe Request and Response Frames ===&lt;br /&gt;
&lt;br /&gt;
The 3DS (#1) that the Initial Probe Response is directed to will send an 802.11 Action frame back to the device. The sequence numbers at this point stop stepping up by 3, and instead increase by one based from each originating device&#039;s SN. It will then send another Probe Request, this time sent directly to the responding 3DS (#2) by specifying its MAC address in the destination field, and setting its own MAC address in the source address field. It also does not have a SSID specified in the frame, except the frame will contain a BSSID with the value of the 3DS (#2) that responded to the initial Probe, and thus acts as the master in the 802.11 exchange.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=821</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=821"/>
		<updated>2011-06-17T01:08:33Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Exchange ==&lt;br /&gt;
&lt;br /&gt;
While StreetPass is enabled, the 3DS constantly sends out Probe Requests with an SSID of &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. Unlike beacons, which are actively advertising the device&#039;s presence, the 3DS is essentially actively looking for other 3DSes. This design is likely to limit impact to non-3DS WiFi capable devices. Each Probe Request contains basic information about that 3DS, including an identifier, and active StreetPass services. If another 3DS is in range, the second 3DS (#2) will respond with a Probe Response, to which the original 3DS (#1), and of the receiving device with every frame thereafter, will respond with an 802.11 Acknowledgement. 3DS(#1) then sends an 802.11 Action frame, as well as an additional Probe Request. The second 3DS sends back another Probe Response that begins the encrypted exchange between the two devices. &lt;br /&gt;
&lt;br /&gt;
The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours. It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Probe Request Frame ===&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom variable length Nintendo tag, which contains information regarding the offered StreetPass services. The sequence numbers for these probe request increment by 3 for every probe, until another 3DS responds with a probe response.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
==== Nintendo Tag Format ====&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Protocol Version =====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Service Length =====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Services =====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Ridge Racer: 00 03 58 00 30&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== Unknown 2-byte Field =====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass ID =====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
=== Initial Probe Response Frame ===&lt;br /&gt;
&lt;br /&gt;
If a 3DS (#2) receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS (#2) will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS (#1) that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS (#2) appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
=== Subsequent Probe Request and Response Frames ===&lt;br /&gt;
&lt;br /&gt;
The 3DS (#1) that the Initial Probe Response is directed to will send an 802.11 Action frame back to the device. The sequence numbers at this point stop stepping up by 3, and instead increase by one based from each originating device&#039;s SN. It will then send another Probe Request, this time sent directly to the responding 3DS (#2) by specifying its MAC address in the destination field, and setting its own MAC address in the source address field. It also does not have a SSID specified in the frame, except the frame will contain a BSSID with the value of the 3DS (#2) that responded to the initial Probe, and thus acts as the master in the 802.11 exchange.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=819</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=819"/>
		<updated>2011-06-17T01:05:30Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Clarifying recent edit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Exchange ==&lt;br /&gt;
&lt;br /&gt;
While StreetPass is enabled, the 3DS constantly sends out Probe Requests with an SSID of &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. Unlike beacons, which are actively advertising access points, the 3DS is essentially actively looking for other 3DSes. This design is likely to limit impact to non-3DS WiFi capable devices. Each Probe Request contains basic information about that 3DS, including an identifier, and active StreetPass services. If another 3DS is in range, the second 3DS (#2) will respond with a Probe Response, to which the original 3DS (#1), and of the receiving device with every frame thereafter, will respond with an 802.11 Acknowledgement. 3DS(#1) then sends an 802.11 Action frame, as well as an additional Probe Request. The second 3DS sends back another Probe Response that begins the encrypted exchange between the two devices. &lt;br /&gt;
&lt;br /&gt;
The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours. It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Probe Request Frame ===&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom variable length Nintendo tag, which contains information regarding the offered StreetPass services. The sequence numbers for these probe request increment by 3 for every probe, until another 3DS responds with a probe response.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
==== Nintendo Tag Format ====&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Protocol Version =====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Service Length =====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Services =====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Ridge Racer: 00 03 58 00 30&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== Unknown 2-byte Field =====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass ID =====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
=== Initial Probe Response Frame ===&lt;br /&gt;
&lt;br /&gt;
If a 3DS (#2) receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS (#2) will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS (#1) that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS (#2) appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
=== Subsequent Probe Request and Response Frames ===&lt;br /&gt;
&lt;br /&gt;
The 3DS (#1) that the Initial Probe Response is directed to will send an 802.11 Action frame back to the device. The sequence numbers at this point stop stepping up by 3, and instead increase by one based from each originating device&#039;s SN. It will then send another Probe Request, this time sent directly to the responding 3DS (#2) by specifying its MAC address in the destination field, and setting its own MAC address in the source address field. It also does not have a SSID specified in the frame, except the frame will contain a BSSID with the value of the 3DS (#2) that responded to the initial Probe, and thus acts as the master in the 802.11 exchange.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=818</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=818"/>
		<updated>2011-06-17T01:03:37Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Added a &amp;quot;StreetPass Exchange&amp;quot; summary so we can discuss details in a bit more organized manner. Shuffled some content around where appropriate.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Exchange ==&lt;br /&gt;
&lt;br /&gt;
While StreetPass is enabled, the 3DS constantly sends out Probe Requests with an SSID of &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. Unlike beacons, which are actively advertising access points, the 3DS is essentially actively looking for other 3DSes. This design is likely to limit impact to non-3DS WiFi capable devices. Each Probe Request contains basic information about that 3DS, including an identifier, and active StreetPass services. If another 3DS is in range, the second 3DS (#2) will respond with a Probe Response, to which the original 3DS (#1), and of the receiving device with every frame thereafter, will respond with an 802.11 Acknowledgement. 3DS(#1) then sends an 802.11 Action frame, as well as an additional Probe Request. The second 3DS sends back another Probe Response that begins the encrypted exchange between the two devices. &lt;br /&gt;
&lt;br /&gt;
The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours. It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Probe Request Frame ===&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom variable length Nintendo tag, which contains information regarding the offered StreetPass services. The sequence numbers for these probe request increment by 3 for every probe, until another 3DS responds with a probe response.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
==== Nintendo Tag Format ====&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===== Protocol Version =====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Service Length =====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass Services =====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Ridge Racer: 00 03 58 00 30&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===== Unknown 2-byte Field =====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===== StreetPass ID =====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
=== Initial Probe Response Frame ===&lt;br /&gt;
&lt;br /&gt;
If a 3DS (#2) receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS (#2) will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS (#1) that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS (#2) appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
=== Subsequent Probe Request and Response Frames ===&lt;br /&gt;
&lt;br /&gt;
The 3DS (#1) that the Initial Probe Response is directed to will send an 802.11 Action frame back to the device. It will then send another Probe Request, this time sent directly to the responding 3DS (#2) by specifying its MAC address in the destination field, and setting its own MAC address in the source address field. &lt;br /&gt;
&lt;br /&gt;
The sequence number for this frame is +2 the original Probe Request, with the Action frame having a sequence number +1 the initial Probe Request. It also does not have a SSID specified in the frame, except the frame will contain a BSSID with the value of the 3DS (#2) that responded to the initial Probe, and thus acts as the master in the 802.11 exchange. &lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=816</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=816"/>
		<updated>2011-06-17T00:28:32Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom Nintendo tag, which contains information regarding the offered StreetPass services. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag in Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=815</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=815"/>
		<updated>2011-06-17T00:19:52Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: /* StreetPass Probe Response Frame */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom Nintendo tag, which contains information regarding the offered StreetPass services. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will respond with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and/or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
The StreetPass Probe Response frame contains the same Nintendo tag information of the Probe Requests of the device that is transmitting the Probe Response frame.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=814</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=814"/>
		<updated>2011-06-17T00:17:53Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Updating section based on new information.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This SSID remains consistent across all 3DS units. This frame also contains a custom Nintendo tag, which contains information regarding the offered StreetPass services. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a StreetPass hit, as well as the last 8-bytes of the Nintendo tag data. The MAC address + 8-byte ID for StreetPass is seen to change every time the user enters and exits and Settings application if they have not had a StreetPass in an observed time period of 24 hours.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will response with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=813</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=813"/>
		<updated>2011-06-17T00:15:08Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: /* Nintendo Tag Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
!  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will response with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=812</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=812"/>
		<updated>2011-06-17T00:07:10Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Channel selection observation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will response with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and or source addresses.&lt;br /&gt;
&lt;br /&gt;
In the probe response, the 3DS appears to offer a channel of 1, 6, or 11. Different channels have been seen offered between the same set of 3DS for each StreetPass. Offered channels, and channel range most likely varies by region.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=811</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=811"/>
		<updated>2011-06-16T23:55:07Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Starting Probe Response Frame&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Response Frame ==&lt;br /&gt;
&lt;br /&gt;
If a 3DS receives another device&#039;s probe request and has not yet tagged that device in an arbitrary amount of time (~12 hours), the receiving 3DS will response with a Probe Response frame. The destination MAC address is the StreetPass MAC address of the 3DS that was transmitting the probe request, while the receiving device sets its StreetPass MAC address as the source address. This is important to note because further exchanges may cease using destination and or source addresses.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=810</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=810"/>
		<updated>2011-06-16T23:45:14Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: This has been proven false by the latest update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=809</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=809"/>
		<updated>2011-06-16T23:28:15Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: /* Nintendo Tag Format */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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. It may represent software version.&lt;br /&gt;
|  f0 08&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
The purpose of this field is not known yet, although the likely use of it might be software version on the device. It has remained the same across all devices thus far. The value has always been observed as &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=808</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=808"/>
		<updated>2011-06-16T23:27:54Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Adding next field. Suspecting software version.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  varies&lt;br /&gt;
|  0x02&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  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. It may represent software version.&lt;br /&gt;
|  f008&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown 2-byte Field ====&lt;br /&gt;
&lt;br /&gt;
The purpose of this field is not known yet, although the likely use of it might be software version on the device. It has remained the same across all devices thus far. The value has always been observed as &#039;&#039;&#039;f008&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=807</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=807"/>
		<updated>2011-06-16T23:22:20Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Removing redundant text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=806</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=806"/>
		<updated>2011-06-16T23:19:40Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Figured out second field.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Service Length&#039;&#039;&#039;&lt;br /&gt;
|  Length in bytes of only the StreetPass Services field.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Service Length ====&lt;br /&gt;
&lt;br /&gt;
This field is used to indicate the length of the variable length StreetPass Services field. Removing and adding services has shown this field to increment and decrement in 5 bytes, or 11 bytes depending on the game. The StreetPass Services field has then expanded or reduced accordingly.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=805</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=805"/>
		<updated>2011-06-16T23:12:39Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields. Removal of a service caused the value in the field to decrease.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possibly a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=804</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=804"/>
		<updated>2011-06-16T23:10:34Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Added confirmed services thus far.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possibly a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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. If you enable or disable services, the number of 5-byte IDs grows and shrinks within this list. Observed service IDs include:&lt;br /&gt;
&lt;br /&gt;
  Mii Plaza: 00 02 08 00 00&lt;br /&gt;
  Sims 3: 00 03 65 00 30&lt;br /&gt;
  Street Fighter: 00 03 05 00 02 (FF FF FF FF FF FF)&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=802</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=802"/>
		<updated>2011-06-16T22:55:51Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change when the Settings app is used if there has not been a StreetPass tag recently. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possibly a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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, &#039;&#039;&#039;Mii Plaza&#039;&#039;&#039;:  00 02 08 00 00.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=788</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=788"/>
		<updated>2011-06-16T03:45:16Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Protocol Version ====&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possibly a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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, &#039;&#039;&#039;Mii Plaza&#039;&#039;&#039;:  00 02 08 00 00.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=787</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=787"/>
		<updated>2011-06-16T03:40:24Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol Version&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol version or identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possible a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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, &#039;&#039;&#039;Mii Plaza&#039;&#039;&#039;:  00 02 08 00 00, and &#039;&#039;&#039;Sims 3&#039;&#039;&#039;: 00 03 65 00 30.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=786</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=786"/>
		<updated>2011-06-16T03:38:44Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Wiki markup fix.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Purpose&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Protocol identification&#039;&#039;&#039;&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  &#039;&#039;&#039;Unknown&#039;&#039;&#039;&lt;br /&gt;
|  Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass Services&#039;&#039;&#039;&lt;br /&gt;
|  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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  &#039;&#039;&#039;StreetPass ID&#039;&#039;&#039;&lt;br /&gt;
|  Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possible a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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, &#039;&#039;&#039;Mii Plaza&#039;&#039;&#039;:  00 02 08 00 00, and &#039;&#039;&#039;Sims 3&#039;&#039;&#039;: 00 03 65 00 30.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=785</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=785"/>
		<updated>2011-06-16T03:35:58Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Expanded Nintento Tag Format section based on observations.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;. 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.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  *Protocol identification*. May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  0x01&lt;br /&gt;
|  *Unknown*. Seems to vary by device, but stays consistent and doesn&#039;t change between Street Passes. May be a length or counter field in relation to the next set of fields.&lt;br /&gt;
|  05&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  0x05&lt;br /&gt;
|  *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.&lt;br /&gt;
|  00 02 08 00 00&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  *StreetPass ID*. Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== Unknown Field ====&lt;br /&gt;
&lt;br /&gt;
As mentioned, possible a length field for the StreetPass services.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass Services ====&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
- *Mii Plaza*:  00 02 08 00 00&lt;br /&gt;
- *Sims 3*: 00 03 65 00 30&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=784</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=784"/>
		<updated>2011-06-16T03:13:55Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown. Remainder of the string.&lt;br /&gt;
|  05 00 02 08 00 00 f0 08 c8 34 6e&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  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?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=783</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=783"/>
		<updated>2011-06-16T03:08:17Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x01&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x01&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown. Reminder of the string.&lt;br /&gt;
|  05 00 02 08 00 00 f0 08 c8 34 6e&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  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?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=782</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=782"/>
		<updated>2011-06-16T03:04:07Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Expanding table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|  Example&lt;br /&gt;
|-&lt;br /&gt;
|  0x00&lt;br /&gt;
|  0x02&lt;br /&gt;
|  May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
|  0x02&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown. Reminder of the string.&lt;br /&gt;
|  05 00 02 08 00 00 f0 08 c8 34 6e&lt;br /&gt;
|-&lt;br /&gt;
|  -0x08&lt;br /&gt;
|  0x08&lt;br /&gt;
|  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?&lt;br /&gt;
|  0f c9 c6 80 5b 6f bc 5a&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Defined the entire Nintendo tag with the exception of the StreetPass ID. It&#039;s purpose is unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=781</id>
		<title>Talk:StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=781"/>
		<updated>2011-06-16T03:00:23Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Also of note, I&#039;ll be doing some study over the next many dates and adding a lot of content on the Wiki. I encourage you to challenge me in my findings, as a lot of will be best-effort assumptions based off available data. -[[User:Seabrook|Seabrook]] 07:00, 16 June 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
Removed this section from the article: &amp;quot;Whether to do a StreetPass hit is probably determined based on if the other 3DS MAC+8byte Nintendo tag data pair was ever seen before..&amp;quot; as it&#039;s been observed that the MAC address and 8-byte StreetPass ID change every time the user enters and exits the Settings application, but if done on two StreetPasses, they won&#039;t tag again. However, a capture wasn&#039;t done at the time to see if they talk to each other, but a StreetPass doesn&#039;t occur either way. There must be some sort other identification in the Tag used by the 3DS. Feel free to re-add if anyone disagrees with the removal due to the evidence presented, or finds evidence refuting what I stated. --[[User:Seabrook|Seabrook]] 06:18, 16 June 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
I do not think the StreetPass Data is stored on the SD Card at any time.&lt;br /&gt;
I&#039;ve done a diff of the card before and after getting a StreetPass and did not notice any differences.&lt;br /&gt;
This was done with Mii Plaza StreetPass data with one returning StreetPass, and one New StreetPass.&lt;br /&gt;
&lt;br /&gt;
That doesn&#039;t mean all StreetPass data is stored on NAND, especially for system software perhaps. Ridge Racer StreetPass data is stored on SD card. --[[User:Yellows8|Yellows8]] 00:00, 12 April 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;This frame also contains a custom Nintendo tag, it seems to contain unknown console unique data, since the contents of this tag from different 3ds captures don&#039;t match.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Does this change if the mii data associated with the 3DS unit or Streetpass is changed? --[[User:Jl12|Jl12]] 14:12, 15 April 2011 (CEST)&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=780</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=780"/>
		<updated>2011-06-16T02:40:32Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;01&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  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?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=779</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=779"/>
		<updated>2011-06-16T02:35:59Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Typos and clarification&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Request Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well a probe to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time the device is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes is the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
The Nintendo tag always begins at the 0x50 offset if observing a captured frame. The offsets mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  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?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=778</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=778"/>
		<updated>2011-06-16T02:30:30Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: expanded on active WiFi probe information, although admittedly not related to StreetPass most likely.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== WiFi Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Whenever the 3DS is woken from sleep (or turned on), and WiFi is enabled, it sends out a 802.11 Probe Request which include all saved access points, as well as to an SSID containing an arbitrary string of data, such as &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. The latter probe may be related to the 3DS looking for Nintendo Zone APs. This string changes at least daily, and most likely every time it is woken up.&lt;br /&gt;
&lt;br /&gt;
The MAC address used for these probes are the static MAC address found in the Settings application. Unlike the StreetPass MAC address, it will not change over time. This MAC address OUI also differs from the one used in StreetPass.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
The Nintendo tag always begins at the 0x50 offset if observing a captured frame. The offsets mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  Some random StreetPass ID, changes after each StreetPass hit and system power-off?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=777</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=777"/>
		<updated>2011-06-16T02:21:17Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. When in &amp;quot;active&amp;quot; mode, 3DS sends probe requests with arbitrary random SSID strings, like &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
It is uncertain how the 3DS determines when it can do a StreetPass again with another 3DS, or what information is actually used to track that. It may be related to how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
The Nintendo tag always begins at the 0x50 offset if observing a captured frame. The offsets mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  Some random StreetPass ID, changes after each StreetPass hit and system power-off?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Identification String ====&lt;br /&gt;
&lt;br /&gt;
Unknown at the moment, but the length appears to vary from 3DS to 3DS.&lt;br /&gt;
&lt;br /&gt;
==== StreetPass ID ====&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=776</id>
		<title>Talk:StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=776"/>
		<updated>2011-06-16T02:19:08Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Removed this section from the article: &amp;quot;Whether to do a StreetPass hit is probably determined based on if the other 3DS MAC+8byte Nintendo tag data pair was ever seen before..&amp;quot; as it&#039;s been observed that the MAC address and 8-byte StreetPass ID change every time the user enters and exits the Settings application, but if done on two StreetPasses, they won&#039;t tag again. However, a capture wasn&#039;t done at the time to see if they talk to each other, but a StreetPass doesn&#039;t occur either way. There must be some sort other identification in the Tag used by the 3DS. Feel free to re-add if anyone disagrees with the removal due to the evidence presented, or finds evidence refuting what I stated. --[[User:Seabrook|Seabrook]] 06:18, 16 June 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
I do not think the StreetPass Data is stored on the SD Card at any time.&lt;br /&gt;
I&#039;ve done a diff of the card before and after getting a StreetPass and did not notice any differences.&lt;br /&gt;
This was done with Mii Plaza StreetPass data with one returning StreetPass, and one New StreetPass.&lt;br /&gt;
&lt;br /&gt;
That doesn&#039;t mean all StreetPass data is stored on NAND, especially for system software perhaps. Ridge Racer StreetPass data is stored on SD card. --[[User:Yellows8|Yellows8]] 00:00, 12 April 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;This frame also contains a custom Nintendo tag, it seems to contain unknown console unique data, since the contents of this tag from different 3ds captures don&#039;t match.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Does this change if the mii data associated with the 3DS unit or Streetpass is changed? --[[User:Jl12|Jl12]] 14:12, 15 April 2011 (CEST)&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=775</id>
		<title>Talk:StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Talk:StreetPass&amp;diff=775"/>
		<updated>2011-06-16T02:18:29Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Removed this section from the article: &amp;quot;Whether to do a StreetPass hit is probably determined based on if the other 3DS MAC+8byte Nintendo tag data pair was ever seen before, or how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&amp;quot; as it&#039;s been observed that the MAC address and 8-byte StreetPass ID change every time the user enters and exits the Settings application, but if done on two StreetPasses, they won&#039;t tag again. However, a capture wasn&#039;t done at the time to see if they talk to each other, but a StreetPass doesn&#039;t occur either way. There must be some sort other identification in the Tag used by the 3DS. Feel free to re-add if anyone disagrees with the removal due to the evidence presented, or finds evidence refuting what I stated. --[[User:Seabrook|Seabrook]] 06:18, 16 June 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
I do not think the StreetPass Data is stored on the SD Card at any time.&lt;br /&gt;
I&#039;ve done a diff of the card before and after getting a StreetPass and did not notice any differences.&lt;br /&gt;
This was done with Mii Plaza StreetPass data with one returning StreetPass, and one New StreetPass.&lt;br /&gt;
&lt;br /&gt;
That doesn&#039;t mean all StreetPass data is stored on NAND, especially for system software perhaps. Ridge Racer StreetPass data is stored on SD card. --[[User:Yellows8|Yellows8]] 00:00, 12 April 2011 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;quot;This frame also contains a custom Nintendo tag, it seems to contain unknown console unique data, since the contents of this tag from different 3ds captures don&#039;t match.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Does this change if the mii data associated with the 3DS unit or Streetpass is changed? --[[User:Jl12|Jl12]] 14:12, 15 April 2011 (CEST)&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=774</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=774"/>
		<updated>2011-06-16T02:15:58Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Copy-edit and content re-organization. Need to segment the broadcast/probe section since there are other sections such as the StreetPass exchange that will be studied.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
== StreetPass Probe Frame ==&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. When in &amp;quot;active&amp;quot; mode, 3DS sends probe requests with arbitrary random SSID strings, like &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address + 8 byte ID for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
When in standby mode the old DS WiFi is used, which includes SpotPass and StreetPass, but in &amp;quot;active&amp;quot; mode the regular DSi WiFi bus is used.&lt;br /&gt;
&lt;br /&gt;
=== Nintendo Tag Format ===&lt;br /&gt;
&lt;br /&gt;
The Nintendo tag always begins at the 0x50 offset if observing a captured frame. The offsets mentioned in the table below start at the beginning of the Nintendo tag ID, which is variable in length.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  Some random StreetPass ID, changes after each StreetPass hit and system power-off?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== StreetPass ID ===&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=773</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=773"/>
		<updated>2011-06-16T02:05:12Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: Reverted length because it&amp;#039;s not determined yet. Would like to gather more data. Also made some additions and copy edit.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. When in &amp;quot;active&amp;quot; mode, 3DS sends probe requests with arbitrary random SSID strings, like &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data? The MAC address used for StreetPass is seen to change every time the user enters and exits and Settings application.&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. This tag has been seen to not be sequential over time. After one of the new StreetPass content is handled, (running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes? &lt;br /&gt;
&lt;br /&gt;
Whether to do a StreetPass hit is probably determined based on if the other 3DS MAC+8byte Nintendo tag data pair was ever seen before, or how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode, old DS wifi is used,(this includes SpotPass and StreetPass) but in &amp;quot;active&amp;quot; mode the regular DSi wifi bus is used.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
== Nintendo tag format ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  varies&lt;br /&gt;
|  Unknown, but may include active Streetpass services. This remains static between street passes, reboots, and Settings app interaction.&lt;br /&gt;
|-&lt;br /&gt;
|  -0x8&lt;br /&gt;
|  0x8&lt;br /&gt;
|  Some random StreetPass ID, changes after each StreetPass hit and system power-off?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=772</id>
		<title>StreetPass</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=StreetPass&amp;diff=772"/>
		<updated>2011-06-16T01:58:45Z</updated>

		<summary type="html">&lt;p&gt;Seabrook: This string ID appears to be 0x0a in length and identified at the start with the &amp;#039;0f&amp;#039; byte, and I&amp;#039;ve seen the former ID longer than 0xf.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;StreetPass&#039;&#039;&#039; is a feature that allow your 3DS to connect with other 3DS using WiFi in standby mode.&lt;br /&gt;
It can be used to share Mii(s) on Mii Plaza for example. Games&#039; StreetPass data is stored on [[SD_Filesystem|SD card]] under [[extdata]], while Mii Plaza StreetPass data is stored on NAND. Not all StreetPass data is stored on SD card: &amp;quot;StreetPass Management&amp;quot; can still be used without a SD card inserted. Wifi infrastructure with APs are used to communicate, like WMB and multi-player.&lt;br /&gt;
StreetPass in sleepmode can work without SD card inserted. Games&#039; Streetpass data are temporarily stored in NAND, and when the games process the StreetPass data they move that data to extdata on SD card.&lt;br /&gt;
&lt;br /&gt;
Using Wireshark tool with a WiFi card in monitor mode allow you to see the data used to scan for other 3DS in the range. The below is a broadcast probe request from an 3DS while in standby mode, with SSID &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;. When in &amp;quot;active&amp;quot; mode, 3DS sends probe requests with arbitrary random SSID strings, like &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot;. This frame also contains a custom Nintendo tag, the contents of this tag from different 3ds captures don&#039;t match. Probe responses contain the same Nintendo tag data as the probe requests from the same 3DS. The MAC address used in sleepmode seems to change every time there&#039;s a streetpass hit, as well as the last 8-bytes of the Nintendo tag data?&lt;br /&gt;
&lt;br /&gt;
When there&#039;s a StreetPass hit, and no StreetPass data changed on either of the 3DSes, no data is transferred besides probes? Perhaps there&#039;s some ID in the Nintendo tag that gets updated every-time the 3DS&#039; StreetPass data changes? After turning off power, then powering on and entering sleepmode, the MAC doesn&#039;t change from prior to power off but the last 8-bytes of the Nintendo tag changes. After one of the new StreetPass content is handled,(running one of the StreetPass titles etc) the 8bytes in the Nintendo tag changes?&lt;br /&gt;
Whether to do a StreetPass hit is probably determined based on if the other 3DS MAC+8byte Nintendo tag data pair was ever seen before, or how long that 3DS was in range constantly/out of range. 3DSes that are constantly in range of each other in sleepmode, usually do StreetPass every &amp;lt;12 hours?&lt;br /&gt;
&lt;br /&gt;
When in standby mode, old DS wifi is used,(this includes SpotPass and StreetPass) but in &amp;quot;active&amp;quot; mode the regular DSi wifi bus is used.&lt;br /&gt;
&lt;br /&gt;
  0000   00 00 1a 00 2f 48 00 00 19 7d 19 de 2a 00 00 00  ..../H...}..*...&lt;br /&gt;
  0010   12 16 9e 09 a0 00 c9 02 00 00 40 00 00 00 ff ff  ..........@.....&lt;br /&gt;
  0020   ff ff ff ff da 6b f7 22 f3 77 ff ff ff ff ff ff  .....k.&amp;quot;.w......&lt;br /&gt;
  0030   40 77 00 20 4e 69 6e 74 65 6e 64 6f 5f 33 44 53  @w. Nintendo_3DS&lt;br /&gt;
  0040   5f 63 6f 6e 74 69 6e 75 6f 75 73 5f 73 63 61 6e  _continuous_scan&lt;br /&gt;
  0050   5f 30 30 30 01 08 82 84 8b 0c 12 96 18 24 32 04  _000.........$2.&lt;br /&gt;
  0060   30 48 60 6c dd 15 00 1f 32 01 11 05 00 02 08 00  0H`l....2.......&lt;br /&gt;
  0070   00 f0 08 c8 34 6e 05 0f c9 c6 80 5b 6f bc 5a     ....4n.....[o.Z&lt;br /&gt;
&lt;br /&gt;
== Nintendo tag format ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
!  Length&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
|  0x0&lt;br /&gt;
|  variable&lt;br /&gt;
|  Unknown&lt;br /&gt;
|-&lt;br /&gt;
|  -0xa&lt;br /&gt;
|  0xa&lt;br /&gt;
|  Some random StreetPass ID, changes after each StreetPass hit and system power-off?&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== StreetPass spoofing ==&lt;br /&gt;
&lt;br /&gt;
A streetpass &amp;quot;AP&amp;quot; was spoofed on a laptop with hostapd by setting the SSID to &amp;quot;Nintendo_3DS_continuous_scan_000&amp;quot;, with the extra Nintendo tag from another 3DS&#039; probe request. The SSID and AP can&#039;t be easily spoofed with hostapd for streetpass when 3DS is &amp;quot;active&amp;quot;, for the random &amp;quot;ic[kSvm9s@*cYD&amp;gt;/~IEVj\(fGG;qDo8j&amp;quot; strings. The 3DS didn&#039;t seem to authenticate or associate with the &amp;quot;AP&amp;quot;. Streetpass &amp;quot;AP&amp;quot; comms use &#039;&#039;&#039;WPA2&#039;&#039;&#039; encryption. Eventually the 3DS stops communicating with the fake &amp;quot;AP&amp;quot; since the AP doesn&#039;t understand the sent data,(especially since it&#039;s encrypted) and sends a 802.11 &amp;quot;Action&amp;quot; frame, with category ID 0x7f and Nintendo&#039;s vendor ID: 00 1f 32.(However the 3DS keeps communicating with the above process repeatedly)&lt;br /&gt;
Communication with two 3DSes are the same as above except there&#039;s encrypted data sent to/from both consoles, unlike the fake &amp;quot;AP&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Nintendo Software]]&lt;/div&gt;</summary>
		<author><name>Seabrook</name></author>
	</entry>
</feed>