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

Possibility to receive data #72

Closed
AlEnterni opened this issue Aug 4, 2021 · 5 comments
Closed

Possibility to receive data #72

AlEnterni opened this issue Aug 4, 2021 · 5 comments

Comments

@AlEnterni
Copy link

AlEnterni commented Aug 4, 2021

Suppose I have connected the esp32 as a controller to the pc.
Can I make the pc send a series of data to the controller (esp32) by bluetooth and the controller can read it ?
Thanks to all

@lemmingDev
Copy link
Owner

The current version of my library relies on NimBLE, which is BLE only, no classic BT serial

If you go back a few versions to one that uses the standard library, you might be able to get it to work,

@AlEnterni
Copy link
Author

Thank you very much for replying, and if I use NimBLE with python I can send data to the gamepad ?

@lemmingDev
Copy link
Owner

Hi

Not too sure. Another person patched in NimBLE to the library and I'm not too sure what can be achieved with it.

The NimBLE GitHub is here: https://github.com/h2zero/NimBLE-Arduino

@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