Giter VIP home page Giter VIP logo

bluetooth-serial-port-async's Introduction

Hey there!
I'm Jojii, a 23 year old developer and CS student from Germany.
I'm currently working on Jotoba, an advanced, feature-rich online dictionary for Japanese.
Feel free to check out my repos!

Jojii's github stats Top Langs

bluetooth-serial-port-async's People

Contributors

ecumene avatar jojiiofficial avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

bluetooth-serial-port-async's Issues

[Question] RFCOMM

Hi Jojii,
Please tell me one thing. I can see that in current linux stack the rfcomm utility is deprecated.
In some distros (Arch) one can still install eg bluez-deprecated-tools, while eg in Debian or Raspberry Pi OS it is still there but I think it is just a matter of time.

I need to communicate using RFCOMM with my bluetooth OBD dongle to connect to my electric car (imported from your country, btw ;))
So far I was using rfcomm + socat utility on the raspberry pi and on server I was running regular x86 rust app using tokio::net::TcpStream.

Today I switched to your crate (it was quite easy as your UnixSocket was almost a drop-in replacement for TcpStream) and I successfully crosscompiled the binary (I had to prior copy libbluetooth.a from raspberry to /usr/aarch64-linux-gnu/lib to be able to crosscompile it).

It is communicating as before, but I am really happy with this as I got rid of two additional utilities (rfcomm and socat) and I can directly use the BT dongle on the pi using your crate! :)

Am I right, that using your lib is the right choice for the future (I mean it is not using some deprecated API as rfcomm tool)?

How to create a server to listen for connections?

When I run your example It can't find any devices, I have literally dozens of bluetooth devices advertising packets. What is this looking for when it scans for devices? do you have an example of a server?

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.