5 StreetPass and Local Communication

5.1 Prohibition of Transitioning to Sleep Mode During Initialization

Do not transition to Sleep Mode while any of the following functions are performing initialization.

  • nn::uds::CTR::Initialize from the CTR-SDK
  • nn::dlp::CTR::FakeClient::Initialize from the CTR-SDK
  • nn::dlp::CTR::Server::Initialize from the CTR-SDK
  • nn::pia::local::UdsNode::Initialize from CTR-Pia
  • nn::pia::local::LocalNetwork::Startup from CTR-Pia
  • nn::pia::session::Session::Startup from CTR-Pia

All of these functions perform UDS library initialization. UDS library initialization conflicts with the background communication-related processing that occurs during transition to Sleep Mode, which may result in abnormal behavior. This means it is necessary to handle Sleep Mode transition as a mutually exclusive process versus calls to the functions above.

 

Local communication

UDS

Initialization

Sleep

CTR-SDK

nn::uds::CTR::Initialize function

nn::dlp::CTR::FakeClient::Initialize function

nn::uds::CTR::Server::Initialize function

CTR-Pia

nn::pia::local::UdsNode::Initialize function

nn::pia::local::LocalNetwork::Startup function

nn::pia::session::Session::Startup function

5.2 Applications Which Use StreetPass

Deletion of an application’s StreetPass box from StreetPass Management must not affect progress in the application, and must not cause any bugs (such as inability to resume StreetPass).

Users can delete the StreetPass box for any application at any time by selecting StreetPass Management from System Settings. However, because users must exit the application in order to launch StreetPass Management, it is impossible for an application’s StreetPass box to be deleted from StreetPass Management while the application is running. Therefore it is enough to have your application check whether its StreetPass box was deleted each time it starts.

 

StreetPass

StreetPass boxes

StreetPass Management

 

 


CONFIDENTIAL