# Bluetooth testing on Raspberry pi

**URL:** <https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494>\
**Category:** General\
**Created:** [21 April 2021 10:09 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494 "2021-04-21T10:09:24Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [28 April 2021 08:59 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/21 "2021-04-28T08:59:31Z")

</div>

with this Raspberry Pi are you able to communicate with Different BLE device? instate of Ipad.

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [28 April 2021 12:16 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/22 "2021-04-28T12:16:50Z")

</div>

Hello,

I am able to communicate & data received.

I have used the same Software LightBlue for Custom Value as my name.

 ![Untitled](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/5/7588a0b68b8d45ff94adc1d1f4cf5cf1a48a9969.png)

Br,  
Devendra

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [28 April 2021 13:22 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/23 "2021-04-28T13:22:26Z")

</div>

So you have it working? Great!  
Some where I have a Bluetooth keyboard no if I can only remember where it is.,,

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [29 April 2021 04:46 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/24 "2021-04-29T04:46:11Z")

</div>

yes, it is working 🙂

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [29 April 2021 06:16 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/25 "2021-04-29T06:16:55Z")

</div>

Hello,

My observation with Bluetooth node according to version -

1. Bluetooth node-red-contrib-generic-ble version **4.0.3** - tested but not working 🙁

- If I used this version for Bluetooth communication sometimes it showed connected but not showing GATT information, Data not receiving & gives error. below screenshot for reference.  
 ![error but it is connected](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8b65653e2986b70a77a459cb2e3b9b3495b04a89.png)

1. Bluetooth node-red-contrib-generic-ble version **3.1.0** - I have used in my application 🙂

- It is working. The only one issue with this version it is disconnecting after around 3 minutes & it gives a timeout error. To start again Bluetooth communication I need to restart my node-red, then again it starts communicating & data receiving, again after around 3 minutes it gives the same timeout error. I have to do repeat procedures, need to do restart node-red to establish Bluetooth communication again. Again & Again same issue I am facing.

 ![Untitled](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/5/7588a0b68b8d45ff94adc1d1f4cf5cf1a48a9969.png)

How to resolved this timeout error?

Br,  
Devendra

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [29 April 2021 10:23 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/26 "2021-04-29T10:23:13Z")

</div>

I would report this to the author on the node's GitHub page. Open an issue there.

Are you sure it is NR or is it bluetooth on the Pi or the iPad? Does the iPad go to sleep?

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [29 April 2021 10:44 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/27 "2021-04-29T10:44:26Z")

</div>

Thanks, 🙂

no, not going to sleep. Another node-red flow working continuously, & I already tested this iPad with my Bluetooth headset continuously. on iPad LightBlue App & screen continues ON.

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [4 May 2021 05:11 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/28 "2021-05-04T05:11:57Z")

</div>

Hello,

I am facing one issue with Bluetooth node-red, this Select from scan result option not enabling.

 ![scan option](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8b78ebd4ab781b80d6ff394ca43c43e6d0311a3f.png)

In docker node-red container after writing command sudo bluetoothctl getting error as below screenshot.

 ![error in docker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/1/61d8aa40d577c27f1e2d76da6fe018edd7eb270c.png)

Br,  
Devendra

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [4 May 2021 10:33 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/29 "2021-05-04T10:33:20Z")

</div>

Ohh you are using Docker! That would have been a good thing to mention in the beginning. There could be permission issues going on...unfortunately, I do not have any experience with Docker and will not be able to offer any assistance.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 May 2021 12:17 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/30 "2021-05-04T12:17:20Z")

</div>

Indeed - the container will require both extra permissions and maybe extra software libraries installed inside it in order to access the hosts hardware.

---

<div class="post-metadata">

**Author:** ![DSongra11\_forum.com](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DSongra11\_forum.com](https://discourse.nodered.org/u/DSongra11_forum.com)\
**Post date:** [4 May 2021 12:38 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/31 "2021-05-04T12:38:26Z")

</div>

@dceejay,

What type of extra permission is required & extra software libraries in host hardware, could you please help guide me.

Thanks for your support in advance.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 May 2021 12:53 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/32 "2021-05-04T12:53:48Z")

</div>

Not sure - I have never done it - maybe this thread will help - [linux - Accessing Bluetooth dongle from inside Docker? - Stack Overflow](https://stackoverflow.com/questions/28868393/accessing-bluetooth-dongle-from-inside-docker)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 July 2021 12:54 UTC](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494/33 "2021-07-03T12:54:15Z")

</div>

Closed on 3 July 2021 12:54 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/bluetooth-testing-on-raspberry-pi/44494.md?page=1)
