Git Product home page Git Product logo

Comments (8)

WBP20 avatar WBP20 commented on August 21, 2024 1

From #3

If found that in BlePeripheralPlugin.kt

valueArg = characteristic.value

was changed to

valueArg = value

inside :


                handler.post {
                    bleCallback?.onWriteRequest(
                        characteristicIdArg = characteristic.uuid.toString(),
                        offsetArg = offset.toLong(),
                        valueArg = value,

It worked for me.

Will you plan to merge this PR ?

from ble_peripheral.

rohitsangwan01 avatar rohitsangwan01 commented on August 21, 2024

@WBP20 on which platform ?

from ble_peripheral.

WBP20 avatar WBP20 commented on August 21, 2024

Peripheral : Android.
Central : MacOS (for now).

from ble_peripheral.

ekuleshov avatar ekuleshov commented on August 21, 2024

@rohitsangwan01 additionally, how can we identify the "central" device this read request came from? E.g. when multiple remote devices connected to a "peripheral" instance in the Flutter/dart app?

from ble_peripheral.

rohitsangwan01 avatar rohitsangwan01 commented on August 21, 2024

@rohitsangwan01 additionally, how can we identify the "central" device this read request came from? E.g. when multiple remote devices connected to a "peripheral" instance in the Flutter/dart app?

No way to get central Id for now, will add I'd in callbacks

from ble_peripheral.

rohitsangwan01 avatar rohitsangwan01 commented on August 21, 2024

@WBP20 thanks for letting me know, will check this, or you can send a pr as well, if that is working for you

from ble_peripheral.

WBP20 avatar WBP20 commented on August 21, 2024

@rohitsangwan01 the fix is inside the PR #3 which you could not push because of potential conflits, but you can have a look on what was changed inside BlePeripheralPlugin.kt maybe ?

from ble_peripheral.

rohitsangwan01 avatar rohitsangwan01 commented on August 21, 2024

@WBP20 @ekuleshov fixed in V2.0.0

from ble_peripheral.

Related Issues (11)

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.