ChanServ changed the topic of #rust-embedded to: Welcome to the Rust Embedded IRC channel! Bridged to #rust-embedded:matrix.org and logged at https://libera.irclog.whitequark.org/rust-embedded, code of conduct at https://www.rust-lang.org/conduct.html
reinchek has quit [Quit: Leaving]
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?
JamesSizeland[m] has joined #rust-embedded
<JamesSizeland[m]> <MrPashaPG[m]> "Hello everyone, what is the best..." <- Depending on what you need, you could try trouBLE and let us know if any features you need are missing https://github.com/embassy-rs/trouble/tree/main/examples%2Fesp32
<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]
<thejpster[m]> £80. A USB Bluetooth 5 dongle is normally £5.
GrantM11235[m] has joined #rust-embedded
<GrantM11235[m]> As far as reference tool extortion goes, £80 doesn't sound that bad
<thejpster[m]> Oh cool, Associate Membership is now free. You just post for qualification.
<thejpster[m]> So an open source stack could afford to show they pass the tests.
<thejpster[m]> s/post/pay/, s///, s///
<thejpster[m]> * Oh cool, Adopter Membership is now free. You just pay for qualification.
https://www.bluetooth.com/develop-with-bluetooth/join/
So an open source stack could afford to show they pass the tests.
bogdan[m] has joined #rust-embedded
<bogdan[m]> But I assume that the certification is still the really expensive part
<thejpster[m]> $11k per product
<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]