Git Product home page Git Product logo

Comments (1)

DanielLazarHTDM avatar DanielLazarHTDM commented on August 20, 2024

Hi theJoey,

well I had same impression.

than I've put into:
xbee_android_library/src/main/java/com/digi/xbee/api/android/connection/bluetooth/AndroidBluetoothInterface.java

bluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH);

To boost it and after that instead of about 100 ms per write it is able to write 30 ms. Check following log every frame received in serial console.

12-28 16:33:24.642 23047 23047 I PERFORMANCE: 30 [ms] 91226 bytes
12-28 16:33:24.672 23047 23047 I PERFORMANCE: 30 [ms] 91459 bytes
12-28 16:33:24.702 23047 23047 I PERFORMANCE: 30 [ms] 91692 bytes
12-28 16:33:24.733 23047 23047 I PERFORMANCE: 31 [ms] 91925 bytes
12-28 16:33:24.763 23047 23047 I PERFORMANCE: 29 [ms] 92158 bytes
12-28 16:33:24.792 23047 23047 I PERFORMANCE: 29 [ms] 92391 bytes
12-28 16:33:24.822 23047 23047 I PERFORMANCE: 30 [ms] 92624 bytes
12-28 16:33:24.852 23047 23047 I PERFORMANCE: 30 [ms] 92857 bytes
12-28 16:33:24.882 23047 23047 I PERFORMANCE: 30 [ms] 93090 bytes
12-28 16:33:24.883 23047 23047 I PERFORMANCE: Total: 12481 [ms] 93090 bytes => 7.458536976203829 kB/s

Cheers,
Dan

from xbee-android.

Related Issues (16)

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.