Hi forum,
since many Browsers now support Bluetoth LE, it is much more convenient to write Apps as PWA, using standard Javascript + HTML and with the API:. https://webbluetoothcg.github.io/web-bluetooth/
Everything is working really excellent with the TI BLE-Stack, but not very fast...
For transferring large Files it is important to run at maximum speed: Large MTU (up to 251 allowed) and short Connection Intervals (7.5 msec).
Theoretically up to 30kB/sec is possible.
However, Webbluetooth does not support active control of the Link-Parameter, such as MTU size and Connection Intervals.
- It is possible to modify the Connection Intervals from the Peripheral side, but not the MTU.
- Browsers on Desktop PCs seem to negotiate MTU of 65 Bytes, whereas on Android I always only get 23 Bytes and it seems No. of PDUs for Webbluetooth is always 1 or 2?
Does anyone know how to get transfer maximum transfer speeds with Webbluetooth?
Bottleneck seems to be the Direction: PC/Android -> Periheral: PC:2.5kB/sec, Android:1kB/sec ( Backwards it is faster: Peripheral -> PC/Android: 5-10kB/sec)
Thanks,
Jo