Bluetooth and AppInventor Issues

The variable soglia expects a value, for example: 389, but receives something that looks like a list, [0], [348 347]

Try with String, here examples:

Examples in Spanish:
http://kio4.com/appinventor/9B_bluetooth_arduino_basico.htm