I am trying to get my head wrapped around Blue-Tooth. Lots of information to digest.
Basically I am trying to get an ESP32 to talk to a wireless BT controller. I want to use the controller (Con) to move a mobile platform. So Con >BT> ESP32 >WIFI> ESP8266 >Wired> Motors. I tried a few different wired joysticks and didn't like them. everything works fine except Con >> BT >> ESP32 piece.
The controller is a generic one that says it supports Nintendo Switch or some Android Phone games. The box lists BT 2.0. but it probably uses BLE as well ?
This is the Reverse Engineering of the Switch Controller Protocol ( https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering )
I did try Erel's example for rESP32SimpleBLE and it works fine. So my question is what BT stack should I be using with B4R and the ESP32 ?
EspressIf
https://github.com/espressif/arduino-esp32/tree/master/libraries/BLE or https://github.com/espressif/arduino-esp32/tree/master/libraries/BluetoothSerial
Can I use the Arduino BLE if I wrap it or use inline C ? I am guessing this does not Support the ESP32 since that board is not listed ???
www.arduino.cc
What about BlueKitchen ? Someone got pretty far using this BT stack and lib to talk to a Nintendo Pro Controller but they were using a RaspberryPi.
github.com
Anybody do anything similar or have some examples you can point me to, especially with pairing an unknown device.
My confusion there is I can "see" the Advertised Name, but not the MAC or BD_AADR from the device before I can pair with it ???
Thanks !
Basically I am trying to get an ESP32 to talk to a wireless BT controller. I want to use the controller (Con) to move a mobile platform. So Con >BT> ESP32 >WIFI> ESP8266 >Wired> Motors. I tried a few different wired joysticks and didn't like them. everything works fine except Con >> BT >> ESP32 piece.
The controller is a generic one that says it supports Nintendo Switch or some Android Phone games. The box lists BT 2.0. but it probably uses BLE as well ?
This is the Reverse Engineering of the Switch Controller Protocol ( https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering )
I did try Erel's example for rESP32SimpleBLE and it works fine. So my question is what BT stack should I be using with B4R and the ESP32 ?
EspressIf
https://github.com/espressif/arduino-esp32/tree/master/libraries/BLE or https://github.com/espressif/arduino-esp32/tree/master/libraries/BluetoothSerial
Can I use the Arduino BLE if I wrap it or use inline C ? I am guessing this does not Support the ESP32 since that board is not listed ???
ArduinoBLE - Arduino Reference
The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.
GitHub - bluekitchen/btstack: Dual-mode Bluetooth stack, with small memory footprint.
Dual-mode Bluetooth stack, with small memory footprint. - bluekitchen/btstack
My confusion there is I can "see" the Advertised Name, but not the MAC or BD_AADR from the device before I can pair with it ???
Thanks !