# Gattool for mangoH

**URL:** <https://mangoh.discourse.group/t/gattool-for-mangoh/9117>\
**Category:** Uncategorized\
**Created:** [May 5, 2021, 1:41pm UTC](https://mangoh.discourse.group/t/gattool-for-mangoh/9117 "2021-05-05T13:41:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [May 5, 2021, 1:41pm UTC](https://mangoh.discourse.group/t/gattool-for-mangoh/9117/1 "2021-05-05T13:41:11Z")

</div>

Hello, I would like to use gatttool on the mangoH (I want to connect to a ble sensor and would like to be able to send messages to the device using command line)

1. is there a precompiled version that works on the device ?

2. if not, how can I support building that on YOcto, since it seems deprecated

thank you

---

<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:** [May 5, 2021, 3:48pm UTC](https://mangoh.discourse.group/t/gattool-for-mangoh/9117/2 "2021-05-05T15:48:48Z")

</div>

have you tried to add the tool in following file and rebuild yocto cwe?

./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc

---

<div class="post-metadata">

**Author:** ![deadpoolcode](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@deadpoolcode](https://mangoh.discourse.group/u/deadpoolcode)\
**Post date:** [May 12, 2021, 9:34am UTC](https://mangoh.discourse.group/t/gattool-for-mangoh/9117/3 "2021-05-12T09:34:28Z")

</div>

I found this file, and I can build the Yocto image, I am just not sure how to change the file in order to get the gatttool to be built as part of the image

---

<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:** [May 17, 2021, 7:14am UTC](https://mangoh.discourse.group/t/gattool-for-mangoh/9117/4 "2021-05-17T07:14:17Z")

</div>

you can see the document here:

> [@Bluetooth/BLE working with WL18xx?](https://mangoh.discourse.group/t/bluetooth-ble-working-with-wl18xx/5432):
>
> I would be interested in hearing from anyone who has got a Bluetooth or BLE application working with the WL18xx as found on the Talon card. I have found that connect under bluetoothctl doesn’t work, and info works from the non-mangOH side but not the mangOH side. Particularly what firmware version are you using. Mine is SWI9X06Y\_02.35.02.00 5208b3 jenkins 2020/06/10 00:30:12. On the other side of the coin I have been able to get a nRF UART BLE peripheral application working on the mangOH Yellow…

Inside there is bluetoothUtil and I can see \bin\gatttool.  
(You might need to rebuild it)
