Coder Social home page Coder Social logo

Android 4.4.2 cannot connect about ble HOT 4 CLOSED

davorpeic avatar davorpeic commented on May 27, 2024
Android 4.4.2 cannot connect

from ble.

Comments (4)

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Hi, I have no support to offer for you question, but I'm wondering if it wouldn't be easier to integrate the thermal printer manufacturer's SDK (if they have any). I'm sure that's much easier to program against than a generic Bluetooth plugin. Which printer brand is it?

from ble.

davorpeic avatar davorpeic commented on May 27, 2024

Hey @EddyVerbruggen

no worries, I totally understand how support works in this cases :)

This is the thermal printer I use for testing http://www.gearbest.com/office-supplies/pp_606310.html it is a generic chinese (cheap) printer. I tried to install the test app on Redmi 4A with android 6 and it works fine, so my assumption is that connecting to this device (samsung 4.4.2) is problematic and I will drop support for it to avoid issues as connection is working on android 6.

As you already had experience with thermal printers, is there a way to send a command to connected device without listing their services first? not sure if adding new method to "print" and not to "write" would solve this issue?

from ble.

EddyVerbruggen avatar EddyVerbruggen commented on May 27, 2024

Hi, I only have experience with the Star line of thermal printers for which I created a plugin based on their SDK. So that's a bit higher level than what you have to do.

I think you don't need to list services before interaction, as long as you know the appropriate UUID's.

from ble.

davorpeic avatar davorpeic commented on May 27, 2024

Yeah, I was checking that plugin to use it as a guide after I connect with my device. Will try few things and will let you know if I manage to do something :)
thanks!

from ble.

Related Issues (20)

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.