Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BT Serialport with Gamepad #83

Closed
sefatunckanat opened this issue Nov 6, 2021 · 4 comments
Closed

BT Serialport with Gamepad #83

sefatunckanat opened this issue Nov 6, 2021 · 4 comments

Comments

@sefatunckanat
Copy link

Hello, i want to use Bluetooth Serial port with library. How can i do that?

I get an error when i add "#include "BluetoothSerial.h" to any ble game pad example and it not work gamepad and serialport.

i want to do https://dev.to/nmwilk/simhub-without-the-wires-18ij with game pad

@lemmingDev
Copy link
Owner

Hi

The current version of my library uses NimBLE - which is unfortunately incompatible with Bluetooth Serial

@sefatunckanat
Copy link
Author

Hi

The current version of my library uses NimBLE - which is unfortunately incompatible with Bluetooth Serial

Doesn't NimBLE support a similar system?

@lemmingDev
Copy link
Owner

This library currently uses the NimBLE Bluetooth library for communication
Unfortunately, that library is not compatible with using classic Bluetooth UART (creates a standard COM port) at the same time
I may create another version that uses the default version of ESP32 BLE Arduino at a later stage.

Apparently, NimBLE can be used to create BLE UART (standard COM port not created), and there is an example in the NimBLE directory, however this library would need modification for it to work. May have a look at it at a later stage, however if someone wants to submit a pull request, then be my guest

@lemmingDev
Copy link
Owner

Works with the version I posted above here #111 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants