> For the complete documentation index, see [llms.txt](https://trillbit.gitbook.io/trillbit-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trillbit.gitbook.io/trillbit-sdk/esp-32-support/trill-sdk-for-esp-32/setup-guide/sending-data-to-the-esp32-device.md).

# Sending data to the ESP32 device

There are two ways to send data to the ESP32-S3 using Trillbit's Android/iOS SDK, from within your application:

### Via Trillbit Android SDK&#x20;

Demo Application, TrillConnect: <https://play.google.com/store/apps/details?id=com.trill.connect>

Below are the Android SDK methods, to be called from the player application:

Use the start\_sending method to start sending data from the sender.&#x20;

```
trillSDK.start_sending(sendingConfiguration);
```

To instruct the SDK to stop sending data , use stop\_sending method:

```
 trillSDK.stop_sending();
```

### Via trillbit iOS SDK methods:

Use the start\_sending method to start sending data from the sender.&#x20;

```
trillSDK.start_sending(data, repeatCount);
```

To instruct the SDK to stop sending data , use stop\_sending method:

```
 trillSDK.stop_sending();
```
