Game Development Reference
In-Depth Information
Table 8-1. Information Returned by the Wiimote Through SDP
Old
New
Name
Nintendo RVL-CNT-01
Nintendo RVL-CNT-01-TR
Vendor ID
0x057e
0x057e
Product ID
0x0306
0x0330
Major Device Class
0x2500
0x0500
Minor Device Class
0x04
0x08
Device Connection
A Bluetooth connection to a Wiimote is done via the HID (human interface device) protocol.
This connection involves the use of the Bluetooth L2CAP protocol with two ports (or PSMs,
as shown in Figure 8-2 ) identified as follows:
Control Pipe (PSM 11) : This is used to send control commands to
the Wiimote but it only works with the old controllers. This port is
deprecated in the new Wiimotes (RVL-CNT-01-TR) and will no
longer work on devices sold after December 2011 . It is strongly
recommended that hosts do not use this port to send control
commands. This is the reason why most of the Wiimote emulators out
there will not work with the new controllers.
Data Pipe (PSM 13) : Nintendo probably got rid of the PSM 11 to make
room for the motion plus support in the new controllers. Therefore the
Data Pipe (PSM 13) is where all the communication with the controller
must take place. It will work with both old and new controllers alike.
Figure 8-2. Host/Wiimote communications; Control Pipe no longer functions in devices later than December 2011
 
 
Search WWH ::




Custom Search