# Bluetooth Function won't Transmit or Recieve

**URL:** <https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645>\
**Category:** Questions about Thunkable X\
**Tags:** bluetooth\
**Created:** [July 1, 2020, 6:58pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645 "2020-07-01T18:58:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![colsen2022jb33x](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@colsen2022jb33x](https://community.thunkable.com/u/colsen2022jb33x)\
**Post date:** [July 1, 2020, 6:58pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/1 "2020-07-01T18:58:06Z")

</div>

I have created an app that connects to a Bluetooth module for monitoring and controlling temperature on an Arduino Uno. I have tried it with both the SH-H3 and HC-08 modules and while I can connect to the module over bluetooth I am unable to send or receive strings. I know that the module is working fine based on the fact that I can communicate with it over a 3rd party bluetooth program such as Serial Bluetooth Terminal, but I just can’t get the Thunkable app to work with it. I have a similar app created with App Inventor using an HC-06 module that works flawlessly. Any help with this would be greatly appreciated.

 ![Screenshot](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/4/f4f8369a95cfb3627c8a6030cc1e243da5d726f6.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [July 6, 2020, 11:55am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/2 "2020-07-06T11:55:09Z")

</div>

Hey @colsen2022jb33x welcome to the Thunkable communtiy!

> [@colsen2022jb33x](#):
>
> HC-08

Do you mean HC-06?

* * *

To start with, make sure you have your location sensor enabled and that you are installing the app on your device.

Let us know whether or not that works for you.

Thanks.

---

<div class="post-metadata">

**Author:** ![colsen2022jb33x](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@colsen2022jb33x](https://community.thunkable.com/u/colsen2022jb33x)\
**Post date:** [July 8, 2020, 2:25pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/3 "2020-07-08T14:25:50Z")

</div>

No, it is an SH-HC-08. I am installing the app on my device. I also have the location sensor enabled.

---

<div class="post-metadata">

**Author:** ![colsen2022jb33x](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@colsen2022jb33x](https://community.thunkable.com/u/colsen2022jb33x)\
**Post date:** [July 10, 2020, 4:27pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/5 "2020-07-10T16:27:14Z")

</div>

@domhnallohanlon I have now gotten the transmit function to work. However the receive block still appears as nothing, however there is no error, and it does not show up as undefined. It is just an empty box as though nothing is being received. However I know the bluetooth module is transmitting data, as a different bluetooth terminal app is receiving it.

 ![Arduino Shot](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/230bed146ec1bd64baa88971f83ad0556319629d.png)  
 ![Thunkable SHot](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa76ea56822c2870aec1d057b271fd1efecda125.png)

---

<div class="post-metadata">

**Author:** ![colsen2022jb33x](https://avatars.discourse-cdn.com/v4/letter/c/f1d935/32.png) [@colsen2022jb33x](https://community.thunkable.com/u/colsen2022jb33x)\
**Post date:** [July 13, 2020, 4:03pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/6 "2020-07-13T16:03:55Z")

</div>

Anyone have any ideas on this?  
I have tried different UUID’s for transmit and receive, different BLE modules (HC-08. HC-10) with no success. I can transmit, but when receiving no information comes through. This appears to be a very common problem and I would very much like to solve it and document it well for the Thunkable community.

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [June 11, 2021, 9:06pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/8 "2021-06-11T21:06:24Z")

</div>

Try setting the first set on the transmit to 0000ffe2

And receive to 0000ffe1

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 3, 2021, 11:50am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/9 "2021-08-03T11:50:42Z")

</div>

Goodafternoon,  
i have the same problem described in this post. With my HM-10 BLE module i can transmit but i can receive (i receive only “???” chars). Is there a solution today?  
I setted UUID “0000ffe1-0000-1000-8000-00805f9b34fb” for transmit and this is ok.  
I setted UUID “0000ffe2-0000-1000-8000-00805f9b34fb”, “0000ffe1-0000-1000-8000-00805f9b34fb”, “0000ffe0-0000-1000-8000-00805f9b34fb” for receive without any success.

Thank you.  
Regards.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 3, 2021, 4:25pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/10 "2021-08-03T16:25:47Z")

</div>

Is this device sending ASCII characters or Hexadecimal?

Are you using Android device to communicate?  
If YES, then install one of the BLE scanners to check the send/receive UUID instead of guessing.

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 3, 2021, 4:42pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/11 "2021-08-03T16:42:42Z")

</div>

Yes, I am sending ASCII chars. I am using an Android device.  
The UUID detected on Light Blue is 0000ffe1-0000-1000-8000-00805f9b34fb.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 3, 2021, 4:48pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/12 "2021-08-03T16:48:49Z")

</div>

I know you send ASCII.

The question is: What is the device expecting? ASCII or Hexadecimal? As string or as byte array?

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 3, 2021, 7:05pm UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/13 "2021-08-03T19:05:26Z")

</div>

My device expect ASCII string on a serial port of HM-10. I need to send an ASCII string from Thunkable APP to HM-10 BLE module, than to my device (microcontroller connected to UART port of HM-10).  
With the same mode, i need send ASCII string from my device to Thunkable APP, but i can’t it now.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 4, 2021, 7:39am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/14 "2021-08-04T07:39:44Z")

</div>

HM-10 **datasheet** recommends sending a wake-up string first and wait to receive “OK+AWAKE” as a response.

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 4, 2021, 7:47am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/15 "2021-08-04T07:47:10Z")

</div>

The “wake up string” is suggested if the HM-10 is in sleep mode, my HM-10 isn’t in sleep mode. I tryed to send an ASCII string of 100 chars length, but i receive the same “???” chars on Thunkable APP.  
Is there a way to read the ASCII string from HM-10 in Thunkable APP?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 4, 2021, 8:53am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/16 "2021-08-04T08:53:36Z")

</div>

> [@cristian.q92kh4](#):
>
> but i receive the same “???” chars on Thunkable APP.

For TTY emulated devices, this means speed or parity mis-match.

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 4, 2021, 8:56am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/17 "2021-08-04T08:56:33Z")

</div>

how can i solve this on Thunkable X? on Mit app inventor this works.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 4, 2021, 9:07am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/18 "2021-08-04T09:07:54Z")

</div>

Send **AT** (in upper case) and you should receive **OK**

This is required to initiate the speed and parity synch.

The default is 9600-N-8-1 which should work.

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 4, 2021, 9:09am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/19 "2021-08-04T09:09:16Z")

</div>

this is ok, if i send **AT** i receive **OK** on the terminal serial

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 4, 2021, 9:58am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/20 "2021-08-04T09:58:39Z")

</div>

Great,  
Can you try  
AT+BATT?

Note: that all in CAPS.  
Note2: you can replace + with space.

---

<div class="post-metadata">

**Author:** ![cristian.q92kh4](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cristian.q92kh4](https://community.thunkable.com/u/cristian.q92kh4)\
**Post date:** [August 4, 2021, 10:25am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/21 "2021-08-04T10:25:49Z")

</div>

feedback for **AT+BATT?** is **OK+Get:099**.  
**AT BATT?** hasn’t answer from HM-10

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [August 4, 2021, 11:24am UTC](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645/22 "2021-08-04T11:24:20Z")

</div>

Your device is in a good working condition and communicating.

What else do you want from it?

[Next page](https://community.thunkable.com/t/bluetooth-function-wont-transmit-or-recieve/649645.md?page=2)
