Changes

Jump to navigation Jump to search
Line 441: Line 441:  
</pre>
 
</pre>
    +
===Request===
 
The following additional headers will be send in the request:
 
The following additional headers will be send in the request:
 
{| class=wikitable
 
{| class=wikitable
Line 482: Line 483:  
|0x08||0x04||StreetPass ID (Low title ID of the game. May be from a different region like japan.)
 
|0x08||0x04||StreetPass ID (Low title ID of the game. May be from a different region like japan.)
 
|-
 
|-
|0x0C||0x04||Unknown. Maybe some version field. Always 0x00000001
+
|0x0C||0x04||Unknown
 
|-
 
|-
 
|0x10||0x04||Number of messages after this header
 
|0x10||0x04||Number of messages after this header
 
|}
 
|}
 +
After the header follows the StreetPass message exactly as it is stored in the outbox of [[CECD_Savegame#File_.3C12-char_ID.3E|CEC Save]].
    +
===Response===
 +
The following headers are expected:
 +
{| class=wikitable
 +
!Key!!colspan=3|Value!!Example
 +
|-
 +
|X-Spr-SlotXX-Result||StreetPass ID||Send Mode||Size of the file in bytes||X-Spr-Slot01-Result: 000EC400,3,17760
 +
|}
 +
It expects a header for every game it sent in the request.
 +
 +
The body is expected to contain binary data with the same structure as the spr-slotXX files in the request. The order of these must be the same as the reponse header order.
       
[[Category:Nintendo Software]]
 
[[Category:Nintendo Software]]
77

edits

Navigation menu