# Can't receive String from my Bluno device

**URL:** https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953
**Category:** BLE / BlueTooth
**Tags:** beginner, bluetooth, problems
**Created:** [July 3, 2022, 7:30am UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953 "2022-07-03T07:30:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![aspras01gt10bm](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aspras01gt10bm](https://community.thunkable.com/u/aspras01gt10bm)
#### Post date: [July 3, 2022, 7:30am UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953/1 "2022-07-03T07:30:18Z")

</div>

Hi all,

I am trying to build an app to communicate with my [Bluno](https://www.dfrobot.com/product-1044.html).  
I can transmit Strings without any problems, but when I try to receive Strings, it shows me the last value I transmitted.  
Attaching my blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/2/c21af082bb4b0419bd97f4c8a2da8a2571599bed.png)

Here is the relevant part of my code:

```auto
#include <SoftwareSerial.h>
SoftwareSerial BTserial(0, 1); // RX, TX

void setup() {
    Serial.begin(9600);
    BTserial.begin(9600);
    temp.begin();
}

void loop() {
    Serial.println("Please insert the number of what you would like to do:"); //Prompt User for Input
    Serial.println("1) Calibrations");
    Serial.println("2) Measurments");
    Serial.println("3) Measure all");
    Serial.println();
    userinput = UserInput();
....
else if (userinput.equals("3")) { // User is looking to measure all in at once
        Serial.println("Starting to measure");
        Serial.println();
        // Temperature ,^C
        userinput = UserInput();
        Serial.println("Temp:");
        Serial.println();
        temperature = temp.readTemperature();
        delay(5000);
        char strFloat[8];
        dtostrf(temperature, 2, 2, strFloat);
        Serial.write(strFloat, strlen(strFloat));
        BTserial.write(strFloat, strlen(strFloat));
        }
}

// Function to read the user's input
char UserInput() {
    while (BTserial.available() == 0) {}
    char input = BTserial.read();
    Serial.println(input);
    return input;
}

```

I guess that my Arduino code is not writing to the characteristic UUID?  
Any ideas on what can I do?

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [July 3, 2022, 11:33am UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953/2 "2022-07-03T11:33:07Z")

</div>

Have you connected to your device using [LightBlue](https://punchthrough.com/lightblue-features/) yet? I’d imagine your device trasmita data over the notify channel instead of the write characteristic. Thunkable apps as of this time are unable to listen for data on a notify channel for ble devices.

---

<div class="post-metadata">

### Author: ![aspras01gt10bm](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aspras01gt10bm](https://community.thunkable.com/u/aspras01gt10bm)
#### Post date: [July 3, 2022, 11:50am UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953/3 "2022-07-03T11:50:33Z")

</div>

Thanks for your comment!

I have tried connecting with LightBlue, but I couldn’t read the temperature from there either. That’s why I suspect my problem is in the Arduino code…

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [July 3, 2022, 12:50pm UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953/4 "2022-07-03T12:50:28Z")

</div>

Fwiw, i did a quick google of that devices ble chip `CC2540` Vs the `hm10` (I own 2 of these )

Seems they are the same device basically. If this is true, I’ve been in contact with the hm10 manufacturer and they have verified this device can’t write to or update the readable characteristic via the code. It only notifies.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:13pm UTC](https://community.thunkable.com/t/cant-receive-string-from-my-bluno-device/1949953/5 "2024-11-08T13:13:02Z")

</div>


