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

NimBLE Host Only over HCI UART #19070

Open
trail-coffee opened this issue Dec 21, 2022 · 5 comments
Open

NimBLE Host Only over HCI UART #19070

trail-coffee opened this issue Dec 21, 2022 · 5 comments
Labels
Type: new feature The issue requests / The PR implemements a new feature for RIOT

Comments

@trail-coffee
Copy link

trail-coffee commented Dec 21, 2022

Description

I would like to be able to use the NimBLE host only stack over HCI UART H4 to communicate to an ESP32 Bluetooth and Wi-Fi chip.

I'd like to use a samd21 Arduino-nano-33-iot host with a WifiNina W102 ESP32 controller communicating through HCI over Uart.

Useful links

Basing my assumption that this doesn't exist on NimBLE maintainer at RIOT convention saying something like "future: more host support" and me not being able to figure out how to turn on nimble host and set the uart.

https://youtu.be/gK_OPeBs6dQ

@trail-coffee trail-coffee changed the title NimBLE over HCI UART NimBLE Host Only over HCI UART Dec 21, 2022
@Citrullin
Copy link
Contributor

Citrullin commented Dec 22, 2022

How about the other way around? Upgrading the ESP32 Nimble stack to support IPv6 over BLE?
So, you just use UDP/TCP and even have multi-hop. It's just more of a future proof approach than using HCI UART.
You "just" have to merge mainline nimble into the ESP32 fork. The whole Arduino ecosystem would probably also benefit from IPv6 over BLE support on common ESP32 variants.

@trail-coffee
Copy link
Author

How about the other way around? Upgrading the ESP32 Nimble stack to support IPv6 over BLE?

Sounds good to me, I just want an easy way to hook up to an app and an Xbox controller.

Wasn't everything supposed to be IPv6 ~10 years ago? 😆 I still don't get an IPv6 from my ISP...

@trail-coffee
Copy link
Author

Didn't realize it wasn't implemented in nimble, there's a pending PR so it's coming.

@Citrullin
Copy link
Contributor

Didn't realize it wasn't implemented in nimble, there's a pending PR so it's coming.

That's the wrong NimBLE though. The ESP32 has a fork of NimBLE. So, you have to get them to merge this into their fork as well. Open source is hard, I know.

@trail-coffee
Copy link
Author

Didn't realize it wasn't implemented in nimble, there's a pending PR so it's coming.

That's the wrong NimBLE though. The ESP32 has a fork of NimBLE. So, you have to get them to merge this into their fork as well. Open source is hard, I know.

NimBLE on ESP32 already has HCI over uart controller, I just need the host stack on my SAMD21 Arduino (host) to talk to the ESP32 (controller). Not sure how hard dealing with espressif is, they do like making huge changes in their idf that ruin all your existing code, so maybe small changes would be a small ask.

@maribu maribu added the Type: new feature The issue requests / The PR implemements a new feature for RIOT label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

No branches or pull requests

3 participants