# Trying to receive three sensor values by BLE and the app is not wokinrg, don't know why

**URL:** <https://community.thunkable.com/t/trying-to-receive-three-sensor-values-by-ble-and-the-app-is-not-wokinrg-dont-know-why/2714592>\
**Category:** Issues / Bugs\
**Tags:** beginner\
**Created:** [November 22, 2023, 1:17am UTC](https://community.thunkable.com/t/trying-to-receive-three-sensor-values-by-ble-and-the-app-is-not-wokinrg-dont-know-why/2714592 "2023-11-22T01:17:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaacfelipe2007nf1de](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/isaacfelipe2007nf1de/32/164053_2.png) [@isaacfelipe2007nf1de](https://community.thunkable.com/u/isaacfelipe2007nf1de)\
**Post date:** [November 22, 2023, 1:17am UTC](https://community.thunkable.com/t/trying-to-receive-three-sensor-values-by-ble-and-the-app-is-not-wokinrg-dont-know-why/2714592/1 "2023-11-22T01:17:16Z")

</div>

I have an ESP32 that reads from two sensors, does some calculations, ant then send four values total (one is a flag) to the phone by BLE.  
What I’m doing is sending the four values as a single string, separated by commas, and in the phone app, it separates de values by the commas and creates a list from them, then I show the list’s values on screen.

However, it’s when I add the blocks of “set label’s text to in list get #” that the phone apps crashes

 ![Screenshot 2023-11-21 191430](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/b/0be077606306a1a3b7abf081b29736fbd5186168.png)

[This is the project](https://x.thunkable.com/projectPage/655d3dbc486cf12c110870f7)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 22, 2023, 6:12am UTC](https://community.thunkable.com/t/trying-to-receive-three-sensor-values-by-ble-and-the-app-is-not-wokinrg-dont-know-why/2714592/2 "2023-11-22T06:12:45Z")

</div>

What is the **exact** value of the green `data (string)` block when you preview the project? To find out, set a text input’s text to data (string) and add a long wait block to give you enough time to copy and paste the value that appears. I use a text input because you can’t copy from a label’s text.

I also wonder if a forever loop with no delay is really a good idea. That loop is going to make a Bluetooth call every split second, something like 40 times per second. I could see that crashing an app! Try adding a wait block and see if that changes anything.

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

---

<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:33pm UTC](https://community.thunkable.com/t/trying-to-receive-three-sensor-values-by-ble-and-the-app-is-not-wokinrg-dont-know-why/2714592/3 "2024-11-08T13:33:16Z")

</div>


