The App Project is different to your original. There are corrections to the Blocks and I have removed the Table Component from the GUI because it is notoriously flaky. If errors occur, the App should report them - post the error messages here (Screenshots). The ListView is replaced by a ListPicker to save some space. Not all of the buttons are required but I have left them as-is. For the purposes of the Test, do not make any changes.
Thanks for the help Chris. I downloaded both but unfortunately my wifi is down for the next several days so I cannot test. I tried the emulator, but that doesn't work either, The app doesn't show up at all, possibly the emulator needs wifi? I should have a new wifi modem by mid week.
It should also be possible to test with the companion on a device. The problem here is more that the Android emulator doesn't provide direct access to the underlying hardware so it's not possible to use the Bluetooth-related hardware from inside the emulator.
With the companion device I get a message that says My device does not have Wifi. It offers me the chance to connect without Wifi and then the app shows up but cant connect. But I should have my new Wifi working tomorrow.
...an APK is a compiled version of the App that you install on your Phone (Android Device). It's also possible to run Apps on your phone in the App Inventor Companion, but where Bluetooth is involved, a full install is best.
OK, I haven't figured out how to compile and install the app on my phone. So far I have just been using the emulator which seems to not work 50% of the time and the Companion which seems to work and I can see a list of BLE devices with my original code. I will take a look at compiling something.
Try this update - gives more feedback during the process. Scanning is stopped automatically. If device(s) are found, you will be prompted to Select from a List (tap button to display list).
I had a little more success today. In fact I found that the "FanControl2" you had previously sent me also was working similar but I didn't realize I needed to press the grey button to display the list. Once I press the grey button the list displays but the Arduino sketch does not show up in the list.
I noticed that you had changed the name of the Arduino sketch setLocalName from "Testing123" to "VEH_TEMP", So I should see "VEH_TEMP" in the pick list but it does not show up.
If I use one of my earlier Arduino sketches with your FanControl2 or FanControl3 App the "Testing123" does show up in the pick list, but selecting it puts it in the Status: Connecting forever.
Attached is the Arduino sketch that shows up as "Testing123" in the pick list.
...also, Fan_Control_4, if the Scan does not find your Nano, you can tap the Scan button to try again (but wait for the process to finish first). Same with the Connection button.
Fan_Control_4 didn't work, same as Fan_Control_3, the app does not show up in the pick list. Tried it repeated times with two Nano 33 BLE's
But interesting results, when I use Fan_Control_4 with my old. "BLE_Temp_Measurements_SingleINTChar" sketch. The "Testing123" will show up in the pick list. Selecting it and trying to connect will shut off the emulator. I'm assuming that sketch is not compatible with your App "Fan_Control_4". But I believe that isolates the problem to the sketch.
Version 5 seems to connect. However I need to press, one of the buttons to get the temp's to display. Unfortunately only the radiator temp is being displayed as 13, should be 10. All others are displayed as zeros. Seems to be taking the last value of 13 for fan speed and placing it in Rad Temp, then disregarding the rest. Or reading all 4 values and only displaying the last one.
For version 3 and 4, the list was not empty. There will be several blue tooth devices displayed but not the fan control.
Also I found that one of my boards will not connect. Same problem as when I first started this thread. I don't know if it will correct itself over time as it did previously.
I don' know how to check the version number but it shows up like this: