JSnowden33 / Wii-Bluetooth-Replacement

GNU General Public License v3.0
29 stars 5 forks source link

Wii Remote connectivity on older Wii Remotes #1

Open gustavodinis opened 5 years ago

gustavodinis commented 5 years ago

Hello, With regard to this known issue: Wii Remote connectivity: Currently only newer Wii Remotes (TR versions) can auto-connect to the ESP32 by pressing any button on the controller. Older Wii Remotes must be synced every time. This is due to a hardware incompatibility with the ESP32 and fixing it will require moving away from the ESP32 platform.

Can you please provide any insights of what the problem is? I'm trying to figure out a solution. I don't have a Bluetooth sniffer but I'm assuming that is some issue with the BTstack of ESP32.

Thank you in advance and apologies for opening an issue (only way for me to get in touch with your work)

JSnowden33 commented 5 years ago

Hi,

There isn't much info on the issue except what is mentioned here: https://groups.google.com/forum/#!searchin/btstack-dev/wiimote%7Csort:date/btstack-dev/eWqUROqFBV0/hLf-mTQXCQAJ

The original Wiimote can be synced to the ESP32, but reconnection fails. The Wiimote basically does not see the ESP32's request for role switch during reconnection. It seems as if the Wiimote does not see the commands exactly as they are sent from BTstack, so it may be some hardware issue in the physical link between the ESP32 and the Wiimote. It's hard to say how this could be debugged without a Bluetooth sniffer.

nathanRamaNoodles commented 4 years ago

If we get a Bluetooth sniffer won't the data still be encrypted since its Bluetooth Classic? I was reading an issue in Ubertooth's repo and their sniffer can't decrypt the Wii's Bluetooth packets.

Is there another sniffer that would work to sniff BT Classic?