Changes

Jump to navigation Jump to search
45 bytes added ,  07:38, 16 June 2011
m
Wiki markup fix.
Line 34: Line 34:  
!  Offset
 
!  Offset
 
!  Length
 
!  Length
 +
!  Purpose
 
!  Description
 
!  Description
 
|  Example
 
|  Example
Line 39: Line 40:  
|  0x00
 
|  0x00
 
|  0x01
 
|  0x01
*Protocol identification*. May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.
+
'''Protocol identification'''
 +
May be for protocol identification. All captures thus far show this value at 17, hexadecimal 11.
 
| 11
 
| 11
 
|-
 
|-
 
|  0x01
 
|  0x01
 
|  0x01
 
|  0x01
*Unknown*. Seems to vary by device, but stays consistent and doesn't change between Street Passes. May be a length or counter field in relation to the next set of fields.
+
'''Unknown'''
 +
Seems to vary by device, but stays consistent and doesn't change between Street Passes. May be a length or counter field in relation to the next set of fields.
 
|  05
 
|  05
 
|-
 
|-
 
|  0x02
 
|  0x02
 
|  0x05
 
|  0x05
*SteetPass Services*. Starting at the 0x02 offset, it appears to be a list of StreetPass services, each in length of 5 bytes. This continues on depending on the number of services the user has enabled at the time.
+
'''StreetPass Services'''
 +
Starting at the 0x02 offset, it appears to be a list of StreetPass services, each in length of 5 bytes. This continues on depending on the number of services the user has enabled at the time.
 
|  00 02 08 00 00
 
|  00 02 08 00 00
 
|-
 
|-
 
|  -0x08
 
|  -0x08
 
|  0x08
 
|  0x08
*StreetPass ID*. Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?
+
'''StreetPass ID'''
 +
Seen to change after every time the Settings app is used. Also may change after each StreetPass hit and system power-off?
 
|  0f c9 c6 80 5b 6f bc 5a
 
|  0f c9 c6 80 5b 6f bc 5a
 
|}
 
|}
Line 68: Line 73:  
==== StreetPass Services ====
 
==== StreetPass Services ====
   −
The third field in the protocol header appears to be an arbitrary length list of StreetPass services enabled on the device. Each StreetPass service seems to be identified by a 5 byte ID. Observed service IDs include:
+
The third field in the protocol header appears to be an arbitrary length list of StreetPass services enabled on the device. Each StreetPass service seems to be identified by a 5 byte ID. Observed service IDs include, '''Mii Plaza''':  00 02 08 00 00, and '''Sims 3''': 00 03 65 00 30.
 
  −
- *Mii Plaza*:  00 02 08 00 00
  −
- *Sims 3*: 00 03 65 00 30
      
Some services have a 6-byte field preceding or succeeding the StreetPass service that is just FF bytes (e.g. FF FF FF FF FF FF). The purpose of these is unknown, although may be used as data for a service, or as separator of some sort for different types of StreetPass services.
 
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.
36

edits

Navigation menu