# Bluetooth connection times out

**URL:** <https://discourse.processing.org/t/bluetooth-connection-times-out/35146>\
**Category:** Processing for Android\
**Created:** [February 13, 2022, 1:36pm UTC](https://discourse.processing.org/t/bluetooth-connection-times-out/35146 "2022-02-13T13:36:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [February 26, 2022, 12:26am UTC](https://discourse.processing.org/t/bluetooth-connection-times-out/35146/4 "2022-02-26T00:26:23Z")

</div>

This example without library

> [@Android Bluetooth](https://discourse.processing.org/t/android-bluetooth/27140):
>
> The Ketai Bluetooth Class method onBluetoothDataEvent() does not work on the latest Android modes. Also, it has no readStringUntil() method which makes it difficult to read fast incoming data. So I wrote a native Android Bluetooth code to make this possible. I tested it on a MultiLaser Lollipop 5.1 device, as well as on a Samsung Android 10, using an HC-05 module set to a baud rate of 115200, without losing a single reading byte. The first code is the simplest reading code, it will display a sin…

---

_[View the full topic](https://discourse.processing.org/t/bluetooth-connection-times-out/35146)._
