Hi Bastien, > I was under the impression that the Wiimote simply didn't use a PIN > code, but it seems there's a way to pair it and associate it with a > particular host by doing: > http://wiibrew.org/wiki/Wiimote#Sync_Button > > I looked through my dongles, and couldn't find one that would allow me > to pass the modified host address as a PIN code as they all have "00" as > part of the address. > > bluetoothd uses strings everywhere for PIN code handling. It would be > possible to change the RequestPinCode to also allow: > {string,len} RequestPinCode(object device) > without modifying the current behaviour. that is no really how D-Bus would handle strings. From a D-Bus point of view, the only way would be using a Byte array. Potentially we could allow implementing a passkey agent as a plugin and then you could implement special handling via a plugin. Problem then again is how to identify that it is a Wiimote. Or did they actually added a PnP SDP record to it. It has been so long that I hacked on these devices. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html