Giter Site home page Giter Site logo

Comments (6)

harryjph avatar harryjph commented on July 19, 2024 1

@johnchtsai Please can you do the same as I said above? If you are just transmitting a data stream, you need to use the outputStream property to get a raw data stream. If you use openMessageStream, the library considers a newline to be the message delimiter, and if you aren't transmitting separate messages separated by newlines, this won't work and you won't receive any messages.

If you're using an ESP32 with built-in bluetooth, there is no baud rate AFAIK, as baud rate is only a property when using UART along a physical wire. When it's via Bluetooth or internally in the ESP32, there shouldn't be any baud rate, though I may be wrong. I know for a fact that this library does not take or use a baud rate.

from android-bluetooth-serial.

harryjph avatar harryjph commented on July 19, 2024

Can you verify with, say, a Windows PC or other app/device that the data is actually being transmitted?

from android-bluetooth-serial.

harshilp24 avatar harshilp24 commented on July 19, 2024

Can you verify with, say, a Windows PC or other app/device that the data is actually being transmitted?

@harry1453 its a ESP32 Bluetooth chip

from android-bluetooth-serial.

harryjph avatar harryjph commented on July 19, 2024

Could you check what message is being sent? The library expects messages to be delimited by a newline (\n) character. If you want a different delimiter, you need to use the raw outputStream.

from android-bluetooth-serial.

johnchtsai avatar johnchtsai commented on July 19, 2024

Have same question on ESP32. The device is actually transmitting. I wonder maybe the brud rate does not set right?

'

from android-bluetooth-serial.

talhacomak avatar talhacomak commented on July 19, 2024

I have same problem too. When i try another program from google play, my device working currectly. When i try to debug the openMessageStream() function, the "synchronized(inputStream)" never worked. If someone has any solution can you help me?

from android-bluetooth-serial.

Related Issues (15)

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.