unable to connect to nintendo switch joystick using bluetooth #17478
Replies: 2 comments
-
I have converted this to a discussion: I don't think this is a valid bug report. |
Beta Was this translation helpful? Give feedback.
-
I suggest you try with a simple scan first: import bluetooth
def ble_irq(event, data):
print('IRQ event:', event, 'IRQ data:', data)
ble = bluetooth.BLE()
ble.active(True)
ble.irq(ble_irq)
# do the scan
ble.gap_scan(1000, 30000, 30000) You should get some data printed out
MicroPython BLE do supports the client role, and the I asked perplexity, "Why I can not connect the nintendo switch joystick to ESP32 BLE running MicroPython" The answer I got was: Connecting a Nintendo Switch joystick to an ESP32 via Bluetooth Low Energy (BLE) in MicroPython faces fundamental compatibility challenges due to protocol differences. Here's a technical breakdown: Key Compatibility Issues
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Port, board and/or hardware
waveshare c6 zero
MicroPython version
Hi
I am unable to use bluetooth to connect to nintendo switch joystick. The AI said:
The short answer is that, even though the ESP32-C6 hardware in the Waveshare C6 Zero is dual-mode BLE capable, MicroPython’s current ESP32 “ubluetooth” port only implements the Peripheral (server) role. Central-mode APIs like gap_scan() and gap_connect() are either stubbed out or not fully functional in the v1.25.0 firmware you’re running, so it will never actually discover or connect to a Joy-Con.
Is it true we don't have "central" mode for bluetooth?
thanks
Peter
Reproduction
Expected behaviour
Observed behaviour
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
Beta Was this translation helpful? Give feedback.
All reactions