Coder Social home page Coder Social logo

Bleps on nRF about bleps HOT 2 CLOSED

lulf avatar lulf commented on July 19, 2024
Bleps on nRF

from bleps.

Comments (2)

bjoernQ avatar bjoernQ commented on July 19, 2024 1

Hi!

Great to hear you were able to use it on nRF52! Would be nice to see it on something other than ESP32-xx (actually the predecessor of this was targeting some other RISC_V BLE/WIFI MCU)

Replace embedded-io/embedded-io-async with a HciDriver trait which operates on HCI packets. This maps better to non-serial HCI interfaces. (Serial adaption wrappers can be built)

An HciDriver operating on HCI packets is probably the right thing to do. Actually in esp-wifi we serialize the packets we get from the driver into embedded-io-* streams which isn't too smart.

Refactor the current blocking/async approach into something event-driven and build async on top of that, which should remove most of the duplication that's there now and perhaps work better with multiple connections.

The whole async thing here was introduced in a quite hacky way - your suggestion sounds like a good idea.

The statement on the front page is mostly to lower expectations. I started this since I wasn't able to find anything useable and t.b.h. I was hoping for the community to come up with something else (which didn't happen yet).

I would really like to see something "more serious" - I don't care much if that would be bleps, a hard-fork of bleps or even a rewrite which might or might not be based on bleps. But definitely contributions are very welcome

from bleps.

lulf avatar lulf commented on July 19, 2024 1

I'm closing this issue for now, I got my question answered :) Happy to make some PRs to bleps eventually. I'm currently spending some time exploring what APIs make sense and reading specs, so it will probably spend some time in my own fork. I'll come back once I have something ready for a wider audience.

from bleps.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.