nn::cec::CTR::MakeCecTitleId Functionnn::cec::CTR::TitleId MakeCecTitleId( bit32 id, bit8 variation = 0x0 );
| Name | Description | |
|---|---|---|
| in | id | A 20-bit unique ID. To communicate between several titles using shared boxes, specify one of the unique IDs. |
| in | variation |
Not used. |
Generates a 32-bit StreetPass ID (CecTitleId) that is used in StreetPass from a 20-bit unique ID.
Where you must specify a TitleId (e.g. MessageBox::CreateMessageBox or MessageBox::OpenMessageBox), use the value generated by this function.
The StreetPass box is created for this title ID. Use the ID specified for your particular application as the base ID.
StreetPass searches for partners who have registered boxes or messages bearing the same StreetPass ID. (It is possible to communicate even if the regions are different, because the search conditions do not include region information.)
CONFIDENTIAL