Comments (1)
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)
- How to create .jar of this library HOT 1
- SERIAL PORT INTERFACE CAUSE ERROR HOT 5
- Xbee Device Not Found HOT 4
- Invalid Bluetooth Address HOT 4
- Rxtx Native not working with last version of Gradle HOT 3
- ftp1.digi.com server can not handle some resources. HOT 2
- TimeoutException while using xbee-android library and sample application with XBEE3 USB module using Android USB host interface
- react-native support
- Add support for UART XR21V1410 USB-UART IC
- USB Device Not Found
- build failed HOT 2
- ble_micropython_sample
- Unable connect device by serial port HOT 3
- Listener Error While Receiving Data from Two Xbees at Once Via Bluetooth HOT 4
- Is it possible to connect to multiple XbeeDevices (USB) on a normal Android device?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbee-android.