MIT 2 Companion Crashing After Connecting to Esp32

Hey,

Recently I've made a small modification in Arduino, where I am sending 3 values through Bluetooth to MIT 2, instead of 2 values.

Screenshot_2

For whatever reason, after I launch the companion and connect the app to my Esp32 to get the meassured values, the App freezes and it gives back the "App stopped working" message.

Does anyone have an idea why that happens ?

Are you using a \n Delimiter in AI2?
I don't see the necessary println() here.

1 Like

I don't know, I may use a delimiter, where should I use the println more exacly?

This can't be answered without seeing the blocks that receive the text, the event that drives those blocks, and the BlueTooth component attributes, and the Clock Timer milliseconds.

1 Like

DFPS_APP_EN_ABG.aia (21.4 KB)

I need ChartMaker to display my data as this from those values:

First Sensor is Pure RSSI, second Sensor is Filtered Rssi, third one is Aprox. Distance

Set the Delimiter byte to 10
Capture

Deja vu.

Show us your transmitting side println().

I see this error after I connect the Companion:

Screenshot_13

And the App still crashes (after I press the connect button)

Updated the .aia since I don't require any file creation anymore in regards to the Csv.

DFPS_APP_EN_ABG.aia (20.0 KB)

Edit: It still freezes.

Arduino code here:

0bin - encrypted pastebin

Here is your BlueTooth transmission code ...

Why are you not delimitting each message with a Line Feed?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.