Skip to content

Does Bluetooth works with this IDE? #132

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

Closed
MisterBE2 opened this issue Jan 16, 2017 · 16 comments
Closed

Does Bluetooth works with this IDE? #132

MisterBE2 opened this issue Jan 16, 2017 · 16 comments

Comments

@MisterBE2
Copy link

Hello,
does bluetooth works on this platform?

@elFallino
Copy link

elFallino commented Jan 17, 2017

As far as I know (I am waiting for it, also), BT is not yet implemented within esp32-arduino but since BT is already implemented in esp-idf you can call the esp-idf functions directly "from arduino".

@torntrousers
Copy link
Contributor

...you can call the esp-idf functions directly "from arduino"

Can anyone give an Arduino sketch showing that? Something like the ESP32 picking up advertisements from peripheral nodes?

@Idan-BM
Copy link

Idan-BM commented Jan 26, 2017

...you can call the esp-idf functions directly "from arduino"

I'm really looking forward for this capability...
How do you know that the esp-idf commands can be called from the arduino IDE?

@elFallino
Copy link

Because I am doing that, too (not for BT but NV Memory storage, SD Card and things).
The IDF libs are packed with arduino-esp32 because it uses them, too. Like many things in the arduino world, arduino-esp32 is partially "just" an abstraction layer to a more basic set of libraries.
That does not mean that it isn't a great work anyway ;)

Just take a look to the examples within the IDF git. In most cases you can do the same in Arduino as it is done there.

@drony
Copy link

drony commented Feb 6, 2017

me also wating bluetooth capabilities

@WALLTECH
Copy link

WALLTECH commented Feb 9, 2017

An example of this would be much appreciated

@WALLTECH
Copy link

While this is in development, being able to use the IDF from the Arduino IDE for currently not supported functions is quite important and seemingly easy from plenty of other posts but there isn't an example of how to do it and I've tried with every not found error you could imagine. How would you do this?

@me-no-dev
Copy link
Member

@me-no-dev
Copy link
Member

this is horrible example and will never be in the Arduino section, nor you should expect it to work in the future, but it's what you ask. This is how you integrate IDF BT example into Arduino

@WALLTECH
Copy link

Alright, found this before and remember it not working but I'll try again and see if I can replace parts with the scanning functionality that I need. I'll analyze it. Thank you! Good luck

@WALLTECH
Copy link

I made the changes to the gatt client example in the IDF and set it up in the IDE and it compiles but when it runs there is this error "E (4930) BT: bta_dm_co_ble_load_local_keys: func not ported". Do I have to just wait until BLE is ready?

@me-no-dev
Copy link
Member

Maybe ask this question in IDF?

@torntrousers
Copy link
Contributor

torntrousers commented Feb 22, 2017

Thanks for the ESP32_BLE_ADV_Arduino.ino sketch, I gave it a try and with a BLE Scanner app on my phone can see the "ESP-BLE-HELLO" advertisements. Great!

I'd really like to do it the other way around though and have the ESP32 picking up advertisements from peripheral nodes. Can anyone help with an example sketch to do that?

@me-no-dev
Copy link
Member

Example and simple class based loosely on the sketch above is not in the main repository. The above sketch no longer works. Closing this issue now ;)

@WALLTECH
Copy link

Thank you very much! Looking forward to scanning examples and central work!

@filipeaguiar22
Copy link

Hi Guys,
I am really looking forward for the BT implementation !
I appreciate your effort and look forward to use it on ESP32 board :)

brentru added a commit to adafruit/arduino-esp32 that referenced this issue Oct 22, 2024
Refactor manually building from arduino-esp32
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

8 participants