Giter Club home page Giter Club logo

Comments (6)

lyricdon avatar lyricdon commented on August 20, 2024 1

The UUID that you shared is not a default UUID so it is not in the list of default UUIDs.

You will need to add it to the list of optional services when you create the request options or else you won't be able.to communicate with it.

I resolved with this, I used the wrong uuid

from flutter_web_bluetooth.

jeroen1602 avatar jeroen1602 commented on August 20, 2024

Could you check three things for me?

  1. Check to see if there are any error messages in the webbrowser's console
  2. Check if you can find services using the example code
  3. Can you download a ble scanner app on your phone and check the services that it can discover?

from flutter_web_bluetooth.

lyricdon avatar lyricdon commented on August 20, 2024
  1. No error console, just like this :
    isBluetoothApiSupported true js_primitives.dart:30
  2. I had try with example code, I can connect, but It shows "No services found!" too,
  3. I run app which uses flutter_blue_plus package on my iPhone, connect to the same device and found service I want, like: 000000ff-0000-1000-8000-00805f9b34fb

from flutter_web_bluetooth.

jeroen1602 avatar jeroen1602 commented on August 20, 2024

The UUID that you shared is not a default UUID so it is not in the list of default UUIDs.

You will need to add it to the list of optional services when you create the request options or else you won't be able.to communicate with it.

from flutter_web_bluetooth.

jeroen1602 avatar jeroen1602 commented on August 20, 2024

from flutter_web_bluetooth.

lyricdon avatar lyricdon commented on August 20, 2024

final requestOptions = RequestOptionsBuilder.acceptAllDevices(optionalServices: [
'000000ff-0000-1000-8000-00805f9b34fb',
'0000fff0-0000-1000-8000-00805f9b34fb'
]);

I've try like this , but seem like no change
I still can connect it, but no services found

from flutter_web_bluetooth.

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.