I've been working with a BLE arduino board to send data from a sensor to App Inventor. My device uses a UART protocol to send information and when I connect with BLEScanner I can see this output:
From the arrangment below the first time I connect a get a notification saying that "Not connected to a Bluetooth low energy device", but upon trying to connect a second time it works sometimes. I've been seeing this error when the connection successfully establishes:
Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.close()' on a null object reference<br/><i>Note:</i>
Thanks for the pointers Evan, runnning in companion mode I experienced none of that slowdown we spoke of before with you suggested modificiations. However, when I try to compile the app I now get this error: