Git Product home page Git Product logo

Comments (4)

philips77 avatar philips77 commented on May 31, 2024

Hi, the most recent one (constantly supported) is in nRF Toolbox (and Wear for Android Wear). I guess the differences aren't big... if any? Others may be a forked from this one from some moment in time.

from android-nrf-toolbox.

metc avatar metc commented on May 31, 2024

Hi, thanks for your reply. The changes are minor yes, but they are some because the implementation is not totally projet independent.

I would like to known how you handle the fact that the BLE stack can be busy. From the nextRequest method, you call the low-level primitives to write to a characteristic (ATT write command for instance), but you don't handle the return code given by the stack... How do you handle messages retransmissions ? What is the common pattern do you use ?

from android-nrf-toolbox.

philips77 avatar philips77 commented on May 31, 2024

We don't handle retransmissions. Actually, I don't know if it would be that easy... from my experience, when Bluetooth hangs, you have to reset the adapter, or sometimes the phone as it just automatically turns on again (so in fact can't even turn off). It's such a critical problem, that users see it as "this application doesn't work and killed my Bluetooth! 0 stars!".

from android-nrf-toolbox.

metc avatar metc commented on May 31, 2024

Thanks for answer. I will investigate a bit more but if I remember correctly any ATT read/write commands from the BluetoothGattCharacteristic class can return false, and this was the case quite frequently. The reason why false is returned is not very clear for me (radio busy or something similar) and don't seems to be documented. If false is returned, IMO it should be handle correctly, but I did not find a good pattern yet.

from android-nrf-toolbox.

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.