# BLE collecting data to be continuously sent through WEB API

**URL:** <https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058>\
**Category:** BLE / BlueTooth\
**Created:** [August 1, 2022, 5:28pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058 "2022-08-01T17:28:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![electrondo4xl](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@electrondo4xl](https://community.thunkable.com/u/electrondo4xl)\
**Post date:** [August 1, 2022, 5:28pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/1 "2022-08-01T17:28:06Z")

</div>

Hello everyone!

I`m very new to X.Thunkable, I collect data from a remote device using BLE and I want to CONTINUOSLY send these data using a WEB API tool.

I can send data to the WEB for example “once” when SCREEN opens but I can`t find a way of continuosly transmit data to the WEB, that is some way of operation allowing to send data after BLE connection independently of the SCREEN operation, even when screen is not open, provided that the BLE connection still is available.

Can someone help me? - THX

---

<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:** [August 1, 2022, 9:21pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/2 "2022-08-01T21:21:54Z")

</div>

You can set a timer and transmit data whenever the timer fires. But that will not work is the app is closed or in the background.

---

<div class="post-metadata">

**Author:** ![electrondo4xl](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@electrondo4xl](https://community.thunkable.com/u/electrondo4xl)\
**Post date:** [August 2, 2022, 12:36pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/3 "2022-08-02T12:36:49Z")

</div>

Hello, many thanks, good hint! - it`s working well…is any other way of keeping it working independently of screen status, I mean, with application still working in the background?

---

<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:** [August 2, 2022, 8:57pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/4 "2022-08-02T20:57:10Z")

</div>

Not that I know of…

---

<div class="post-metadata">

**Author:** ![electrondo4xl](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@electrondo4xl](https://community.thunkable.com/u/electrondo4xl)\
**Post date:** [August 2, 2022, 10:30pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/5 "2022-08-02T22:30:18Z")

</div>

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 3, 2022, 4:04am UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/6 "2022-08-03T04:04:36Z")

</div>

Currently an application built on Thunkable wont run in the background. So unless the app is always open it wont continually update.

---

<div class="post-metadata">

**Author:** ![electrondo4xl](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@electrondo4xl](https://community.thunkable.com/u/electrondo4xl)\
**Post date:** [August 3, 2022, 10:59am UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/7 "2022-08-03T10:59:30Z")

</div>

Thanks for your information!

---

<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:** [August 3, 2022, 11:44am UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/8 "2022-08-03T11:44:11Z")

</div>

@tatiang and @zander hit the nail on the head here.

You can set up functions to send location automatically when the app is open BUT Thunkable doesn’t support background services at this time other than push notifications.

So that means when the app is in the background, it’s effectively paused from further action until it’s open again.

What kind of app are you building @electrondo4xl ?

---

<div class="post-metadata">

**Author:** ![electrondo4xl](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@electrondo4xl](https://community.thunkable.com/u/electrondo4xl)\
**Post date:** [August 3, 2022, 12:06pm UTC](https://community.thunkable.com/t/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/9 "2022-08-03T12:06:27Z")

</div>

Hello!

Many thanks for your information, my application envolves sensors that get values of some physical world variables, send them through BLE to smartphones which add current location and act as bridges, transmitting all these info to the cloud, where they are processed.

---

<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/ble-collecting-data-to-be-continuously-sent-through-web-api/1983058/10 "2024-11-08T13:13:00Z")

</div>


