BluetoothLE Device list - CSV text cannot be parsed as a row

Hello,

I have a problem with my app:
"CSV text cannot be parsed as a row"

It uses BluetoothLE buttons, but sometime when I'm in a place with many bluetooth device I have this error.

Can you help me? Thank you!!!

You probably don't need this block, and it is causing problems:

More detailed answer:

The DeviceList block gives you a list of devices.
(I am guessing based on its name, DeviceList.)

The List From CSV Row block eats text and emits a list.
So AI2 obligingly converted the DeviceList list into text, using the default format of JSON text.

But the CSV conversion block does not know JSON [ ... ], only quotes and commas.

Hence the complaint.

Thank you,

But in 99% of the usage the app works perfectly, only rarely this error occurs, but I don't understand why....

Did you remove the block causing the error?

yes, but a different error appears (every time)

Did you want to ask us about the new error?

I have done several tests.
I think the problem is that it "enters the DeviceFound block", but the device list (for some reason) is still empty and causes the problem. So testing if the DeviceList is different from empty I avoid the problem (CSV)