zaven[m] has quit [Quit: Idle timeout reached: 172800s]
MrPashaPG[m] has joined #rust-embedded
<MrPashaPG[m]>
Hello everyone, what is the best method for implementing BLE for ESP32 that I can use? Everywhere I look, they say it has a lot of problems and that part of it has to be written in C and it can't be implemented completely with RUST?
<thejpster[m]>
<MrPashaPG[m]> "Hello everyone, what is the best..." <- Are you looking to implement it for ‘fun’ or for a product? Because Bluetooth has strict testing and licensing requirements.
MathiasKoch[m] has quit [Quit: Idle timeout reached: 172800s]
dirbaio[m] has quit [Quit: Idle timeout reached: 172800s]
vollbrecht[m] has quit [Quit: Idle timeout reached: 172800s]
<JamesSizeland[m]>
<thejpster[m]> "Are you looking to implement..." <- I might be wrong, but my understanding is that as trouBLE is just the host part of the BLE stack and relies on pre-qualified underlying controllers for each chip it bypasses a lot of the requalification/testing requirements from Bluetooth SIG. But would still require a device seller to pay for and register a Declaration ID to sell a product with it on?
<JamesSizeland[m]>
And no requirements like that for non-commercial use?
<thejpster[m]>
I used to work on a host stack that used an HCI chip and it required qualification to use the Bluetooth registered trademarks.
<thejpster[m]>
If you want to offer it as a “Greentongue” stack then you might bypass trademark issues but you might still have patent issues (no idea, just guessing). You should ask your lawyers ;)
<thejpster[m]>
> The Bluetooth Qualification Process Must Be Completed Before You Take Products to Market
<thejpster[m]>
They can get customs to impound non qualified product.
ivche has quit [Read error: Connection reset by peer]
<JamesSizeland[m]>
<thejpster[m]> "I used to work on a host stack..." <- Interesting! What was involved in that qualification process?
<diondokter[m]>
Iirc, Bluetooth has test suites it needs to pass. Once it does you can take it to a certification house to prove it does. And then you're good to go
<diondokter[m]>
Afaik there are three things to be certified. The controller, the host and the end-device.
<thejpster[m]>
Back then it was called PTS - Protocol Test Suite. You do some forms, add the test results, and write a really really big cheque.
<thejpster[m]>
Oh and you needed a very expensive reference Bluetooth dongle from … I want to say it was Frontline.
<thejpster[m]>
If you have qualified components (stack, radio, etc) you can just punch in their qualification IDs and skip some tests.
sourcebox[m] has quit [Quit: Idle timeout reached: 172800s]
<bogdan[m]>
That wouldn't be too bad. For a company, I mean
<thejpster[m]>
Unless you sell a product with a Bluetooth module in it (including antenna) where the module is the certified product and it can slap it in and pay nothing extra
<thejpster[m]>
s/it/you/
balbi[m] has quit [Quit: Idle timeout reached: 172800s]
jannic[m] has quit [Quit: Idle timeout reached: 172800s]