# Bluetooth mangoH yellow launch

**URL:** <https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665>\
**Category:** mangOH Yellow\
**Created:** [November 18, 2020, 10:14am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665 "2020-11-18T10:14:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 18, 2020, 10:14am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/1 "2020-11-18T10:14:33Z")

</div>

Hi,  
Is there a procedure to follow in order to detect the bluetooth using the mangoH yellow?  
Thanks

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [November 18, 2020, 10:48am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/2 "2020-11-18T10:48:48Z")

</div>

Does this help?

> [@Bluetooth on mangOH Yellow](https://mangoh.discourse.group/t/bluetooth-on-mangoh-yellow/3372):
>
> Bluetooth driver seems to be integrated now in kernel (is it correct?) on mangOH Yellow WP7702 R11. But ‘hcitool lescan’ gives an error ‘Could not open device: No such device’ What actions should be performed to list BLE devices arround on mangOH Yellow WP7702 R11? root@swi-mdm9x28-wp:~# dmesg | grep Blue [1418.032921] Bluetooth: c8565df0 [1418.033164] Bluetooth: c8565df0 [1418.033203] Bluetooth: c8565de8Bluetooth: c8565dd0 [1418.033268] Bluetooth: c8565de0 root@swi-mdm9x28-wp:~# hcit…

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 18, 2020, 11:13am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/3 "2020-11-18T11:13:47Z")

</div>

I have tried but cannot detect my bluethooth using another device.  
I wonder if I have to launch specific apps or download drivers. Moreover the bluetooth is integrated so I don’t need any antenna, right?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [November 18, 2020, 11:53am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/4 "2020-11-18T11:53:04Z")

</div>

What do you mean by another device?  
You have one working device?

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 18, 2020, 12:49pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/5 "2020-11-18T12:49:24Z")

</div>

I want to connect it with my smartphone.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [November 18, 2020, 12:55pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/6 "2020-11-18T12:55:47Z")

</div>

the link shows that you need to check " dmesg | grep Blue"

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 18, 2020, 1:57pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/7 "2020-11-18T13:57:11Z")

</div>

Bluetooth isn’t going to be active until you’re running an application. A simple example:

```auto
root@swi-mdm9x28-wp:~# bluetoothctl
Agent registered
[CHG] Controller 3C:E1:A1:E8:B6:E1 Pairable: yes
[bluetooth]# 

```

Now I run bluetoothctl on an Ubuntu system:

```auto
paul@paul-ThinkCentre-M72e:~$ bluetoothctl
Agent registered
[bluetooth]# info 3C:E1:A1:E8:B6:E1
Device 3C:E1:A1:E8:B6:E1 (public)
	Name: BlueZ 5.52
	Alias: BlueZ 5.52
	Paired: no
	Trusted: no
	Blocked: no
	Connected: no
	LegacyPairing: no
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d0534
[bluetooth]#

```

The Ubuntu Bluetooth sees the mangOH Bluetooth

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 23, 2020, 10:08am UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/8 "2020-11-23T10:08:22Z")

</div>

Could you tell me where can I find some examples of app developed using BlueZ and Dbus to send message with another device (if possible) please?

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 23, 2020, 1:53pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/9 "2020-11-23T13:53:29Z")

</div>

bluetoothServices which can be found in [https://github.com/mangOH/BluetoothServices](https://github.com/mangOH/BluetoothServices) . I used this as a model to implement the nRF Transparent UART service. I think you should be able to find a smartphone app from Nordic RF which can connect with it as is.

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 25, 2020, 8:12pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/10 "2020-11-25T20:12:19Z")

</div>

Thanks I will try it

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 25, 2020, 10:23pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/11 "2020-11-25T22:23:43Z")

</div>

I have this message when trying to connect to bluetooth after command ‘power on’, can you help me?

"no default controller available "

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 26, 2020, 2:24pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/12 "2020-11-26T14:24:52Z")

</div>

You mean you’re running bluetoothctl? Works for me:

```auto
root@swi-mdm9x28-wp:~# bluetoothctl
Agent registered
[CHG] Controller 3C:E1:A1:E8:B6:E1 Pairable: yes
[bluetooth]# power on
Changing power on succeeded
[CHG] Controller 3C:E1:A1:E8:B6:E1 Powered: yes
[bluetooth]# exit             
root@swi-mdm9x28-wp:~# cm info
Device: WP7702
IMEI: 352653090190778
IMEISV: 4
FSN: 4L931585051610
Firmware Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
Bootloader Version: SWI9X06Y_02.32.02.00 c2e98c jenkins 2019/08/30 07:28:21
MCU Version: 002.013
PRI Part Number (PN): 9909138
PRI Revision: 001.001 
Carrier PRI Name: SIERRA
Carrier PRI Revision: 001.027_000
SKU: 1104405
Last Reset Cause: Power Down
Resets Count: Expected: 379	Unexpected: 1
root@swi-mdm9x28-wp:~# 

```

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 26, 2020, 9:24pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/13 "2020-11-26T21:24:19Z")

</div>

It works after restarting my computing… strange. I managed to pair mangoh to smartphone but I get an error while trying to connect to my smartphone device :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/8/827934b35a72f03eb15c0bc9015d595268134d69.png)

Do you have any idea of what could be wrong? Then I still struggle to find my mangoh on nrF connect application but you might not know…

Then could you bring me clarifications of these points:

- Where do I have to work : in my “leaf-data” folder or in my “mangoh” folder that both were created after installation.
- is it possible to work with python? The only requirement is to use Legato standard of coding , right?

Thanks,

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 27, 2020, 1:49pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/14 "2020-11-27T13:49:06Z")

</div>

I looks like not all functions in bluetoothctl work on the yellow. The connect function is classic Bluetooth and it does not appear to work.

But my BLE application does work.

Regarding building bluetoothServices (which is BLE), I put it in ~/myWorkspace/mangOH/apps and added the app name to yellow.sdef in ~/myWorkspace/mangOH. Then when I do make yellow\_wp77xx it gets built with all the other apps.

The gatttool utility which is on Ubuntu systems is useful in communicating with a BLE application.

Regarding python, you have Python 2.7.15 at the command line and can run scripts, that’s about all I know. There is a lot more discussion on Python on the forum.

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 29, 2020, 9:46pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/15 "2020-11-29T21:46:45Z")

</div>

OK and what is the bluez version? can we use mango with any version of bluez or is it only 5.48 as shown in this procedure

> **[Install bluez | Bluetooth documentation](https://core.docs.ubuntu.com/en/stacks/bluetooth/bluez/docs/install-bluez)**

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 30, 2020, 1:52pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/16 "2020-11-30T13:52:10Z")

</div>

The default snap install looks out of date. There is a note at the bottom of the page saying a later version is available. I am using BlueZ 5.50 on Ubuntu which I downloaded. According to my post above the mangOH is running BlueZ 5.52.

```auto
paul@paul-ThinkCentre-M72e:~$ sudo snap find bluez
Name Version Publisher Notes Summary
bluez 5.48-1 canonical✓ - Bluez for Ubuntu
ofono 1.17-1 canonical✓ - Mobile telephony daemon
bluez-tests 1 canonical✓ - Set of utilities that are not production ready yet help in testing
bluetooth-autostart 1.1 maumx2 - Simple snap to autostart bluetooth at boot
thingy52 1.0 anonymouse67 - Compact multi-sensor BLE prototyping platform
bluetooth-6lowpand 0.1 wielgosm - BLE 6LoWPAN commissioning
paul@paul-ThinkCentre-M72e:~$ sudo snap info bluez
name: bluez
summary: Bluez for Ubuntu
publisher: Canonical✓
store-url: https://snapcraft.io/bluez
contact: https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/bluez
license: unset
description: |
  no description
commands:
  - bluez.bluetoothctl
  - bluez.btattach
  - bluez.btmgmt
  - bluez.btmon
  - bluez.hciattach
  - bluez.hciconfig
  - bluez.hcidump
  - bluez.hcitool
  - bluez.meshctl
  - bluez.obexctl
  - bluez.sdptool
services:
  bluez: simple, enabled, inactive
  bluez.obex: simple, enabled, inactive
snap-id: JmzJi9kQvHUWddZ32PDJpBRXUpGRxvNS
tracking: latest/stable
refresh-date: 2020-07-13
channels:
  latest/stable: 5.48-1 2020-07-13 (229) 4MB -
  latest/candidate: 5.48-1 2020-07-08 (229) 4MB -
  latest/beta: 5.48-1 2020-07-03 (229) 4MB -
  latest/edge: 5.48-2-dev 2020-07-10 (240) 4MB -
  20/stable: 5.53-2 2020-11-13 (252) 5MB -
  20/candidate: 5.53-2 2020-11-12 (252) 5MB -
  20/beta: 5.53-2 2020-11-12 (252) 5MB -
  20/edge: 5.53-2 2020-11-12 (252) 5MB -
installed: 5.48-1 (229) 4MB -
paul@paul-ThinkCentre-M72e:~$ 

```

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [November 30, 2020, 4:47pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/17 "2020-11-30T16:47:20Z")

</div>

Thanks. I will try to change the version of bluez. Now I have 5.50 and I would like to change to 5.52. Can you tell me how to do this please? I tried to follow one process based on internet and I made it in mangoh folder but it haven’t changed the version…

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [November 30, 2020, 8:34pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/18 "2020-11-30T20:34:22Z")

</div>

If you’re talking about the version of Bluez on the mangOH you should be able to update it to 5.52 by loading the latest firmware. I have never tried updating it any other way.

---

<div class="post-metadata">

**Author:** ![marckasse](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@marckasse](https://mangoh.discourse.group/u/marckasse)\
**Post date:** [December 1, 2020, 8:03pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/19 "2020-12-01T20:03:22Z")

</div>

Hi,  
I am still wondering why I do not have the 5.52 version. I followed the guide for installation of the leaf environment… maybe it is because I chose "$ leaf setup -p mangOH-yellow-wp77xx\_0.2.3 ". I should have chosen another version you thing? This was not the latest version

---

<div class="post-metadata">

**Author:** ![pinst](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@pinst](https://mangoh.discourse.group/u/pinst)\
**Post date:** [December 1, 2020, 9:21pm UTC](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665/20 "2020-12-01T21:21:12Z")

</div>

I’m simply using firmware revision 0.6.0 as downloaded from here:

[https://mangoh.io/mangoh-yellow-resources-software](https://mangoh.io/mangoh-yellow-resources-software)

[Next page](https://mangoh.discourse.group/t/bluetooth-mangoh-yellow-launch/5665.md?page=2)
