# Node-red-contrib-xiaomi-ble Cannot Connect

**URL:** <https://discourse.nodered.org/t/node-red-contrib-xiaomi-ble-cannot-connect/22403>\
**Category:** General\
**Created:** [29 February 2020 06:22 UTC](https://discourse.nodered.org/t/node-red-contrib-xiaomi-ble-cannot-connect/22403 "2020-02-29T06:22:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrewa/32/19448_2.png) [@andrewa](https://discourse.nodered.org/u/andrewa)\
**Post date:** [29 February 2020 06:22 UTC](https://discourse.nodered.org/t/node-red-contrib-xiaomi-ble-cannot-connect/22403/1 "2020-02-29T06:22:24Z")

</div>

I have installed node-red-contrib-xiaomi-ble and from reading the documentation for noble, finally got it to run using the command:

```auto
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)

```

However, it now comes up with the error:

```auto
cannot connect: Error: COmmand Disallwoed (oxc)

```

I presume this may be related to the problem documented in

```auto
https://github.com/abandonware/noble

```

that "Some BLE adapters cannot connect to a peripheral while they are scanning"

If this is the case, can anyone tell me how I stop the adapter scanning so that it will connect instead?

Thanks.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [29 February 2020 08:37 UTC](https://discourse.nodered.org/t/node-red-contrib-xiaomi-ble-cannot-connect/22403/2 "2020-02-29T08:37:41Z")

</div>

Hi @andrewa and welcome to the forum

Can't help with your specific issue but I've moved it into the General category, as that is a better match for your problem

---

<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:** [29 April 2020 08:37 UTC](https://discourse.nodered.org/t/node-red-contrib-xiaomi-ble-cannot-connect/22403/3 "2020-04-29T08:37:44Z")

</div>

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