9 Infrared Communication

9.1 Power to Infrared Communication Module

Power consumption is greater when the infrared module power is turned on than when the infrared module power is off.

In order to conserve power, applications that do not perform infrared communication (Including use of the Circle Pad Pro) must not turn on the infrared module power. If the application does perform infrared communication, you must still turn off the infrared module power in scenes where infrared communication is not performed.

The infrared module power will turn on when any of the functions listed below are called. You must call the nn::ir::CTR::Communicator::Disconnect function to turn the power off.

  • nn::ir::CTR::Communicator::RequireConnection function
  • nn::ir::CTR::Communicator::WaitConnection function
  • nn::ir::CTR::Communicator::AutoConnection function

Starting with the CTR-SDK 7.x series, you can check whether the application uses infrared communication by checking whether "NINTENDO:Ir" is displayed in the list of middleware on the Master Editor's Basic Information (CCI) tab. If "NINTENDO:Ir" is not displayed, the application does not use infrared communication at all. If the application uses the nn::ir::CTR::Communicator class to directly use infrared communication, or if it uses the nn::hid::CTR::ExtraPad class for the Circle Pad Pro, "NINTENDO:IrCommunicator" or "NINTENDO:ExtraPad" will be displayed along with "NINTENDO:Ir".

 

Infrared Communication

nn::ir::CTR::Communicator class

nn::ir::CTR::Communicator::RequireConnection function

nn::ir::CTR::Communicator::WaitConnection function

nn::ir::CTR::Communicator::AutoConnection function

nn::ir::CTR::Communicator::Disconnect function

Circle Pad Pro

nn::hid::CTR::ExtraPad class

Power consumption

9.2 Generating Communication IDs

When generating communication IDs with the nn::ir::CTR::Communicator::CreateCommunicationId function for use in infrared communication between Nintendo 3DS systems, you must specify the unique ID assigned by Nintendo in the uniqueId argument.

However, you must specify the same unique ID in each application that communicates, because a common communication ID is required when communicating with other applications. In these cases, it is acceptable to specify the unique ID assigned to either application.

You can use the IrCommunicatorChecker tool to check the unique ID passed to the function when generating communication IDs.

 

Infrared Communication

Communication IDs

Unique IDs

nn::ir::CTR::Communicator::CreateCommunicationId function

IrCommunicatorChecker tool

 

 


CONFIDENTIAL