Code Monkey home page Code Monkey logo

Comments (5)

rhummelmose avatar rhummelmose commented on May 20, 2024

Unfortunately you'll find that this is a limitation of Bluetooth LE, spiced up by further limitations applied by iOS to the throughput available to each application :)

from bluetoothkit.

matthewkrueger avatar matthewkrueger commented on May 20, 2024

That's unfortunate. Is a transfer time of 1-1.5 minutes for 250KB of data in line with what you've seen in the past? I tried slowly increasing the size of my file and it seems the slowdown is linear, so I don't think I'm doing anything especially wrong. Thanks for the fast reply, much appreciated!

from bluetoothkit.

rhummelmose avatar rhummelmose commented on May 20, 2024

Unfortunately, that sounds like very reasonable throughput. In previous iOS versions this was way worse. My suggestion would be to place the resource on some external location using a network connection and passing an address for it using the Bluetooth link. Of course I don't know your use-case so I'm just guessing away.

from bluetoothkit.

matthewkrueger avatar matthewkrueger commented on May 20, 2024

Unfortunately, the use-case requires transferring a binary file from a device with BLE but no internet connection to an iOS device, and THEN uploading the binary file to the web using the iOS device's internet connection. Doing a proof of concept using an iPad as the peripheral and iPhone as the central, so I have to pretend like the iPad has no network connection. Sounds like I'll have to temper the expectations for the transfer speed.

Thanks a lot for the insight and the great library, and especially the functional example project, much appreciated!

from bluetoothkit.

rhummelmose avatar rhummelmose commented on May 20, 2024

You're welcome. Feel free to ask again.

from bluetoothkit.

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.