Howdy friends, long time no chat - fond memories of those who helped me here when I got started.
Attempting to update my app to BLE to be able to run Android and Apple app.
I'm worried about going down the iOS route just yet as BT classic of course works just fine with android - all is flawless really, but that wont cut it for iOS.
So, my question is - where are we with BLE and iOS. I have read some posts, I know its being worked on and the posts I've read are about a year old.
I would like to take on the iOS version of my app but will definitely need BLE
Still no response here -
So does that indirectly mean I should move to a different platform?
I really dont want to as my journey started here on App Inventor
MIT was on winter break until today and we're all catching up on email.
As for BLE support, we do have some limited support for the BLE extension. You should be able to read/write/notify for strings and bytes. If you need more features than that, please let me know and I'll see about getting them implemented.
In particular, the best support is in the companion version for TestFlight, which is also used as the basis for any apps compiled for the App Store when you look to deploy your project. You still need to load the BluetoothLE extension for Android into your project, but the features are implemented in the iOS version natively.
what I do right now with android and BT classic and what I would be curious if i could do on iOS:
I have an automotive item that communicates over BT with an esp32 -
I transmit 3 engine telmetry items to a phone, where the phone acts as a gauge pack.
additionally, the phone transmits settings changes to the esp32 brain box.
of course, converting this framework over to BLE is a fairly invassive undertaking but totally doable -
does this sound like something that could be handled on the iOS side as far as BLE is concerned with its current progress?
Like I said - I would love to stay on this platform. I'm pushing to have an iOS app out by this spring.
Thoughts?
and thanks so much for getting back to me!
I think the only issue right now might be that I don't think we have floating point support implemented yet for BLE on iOS, so depending on the values you're measuring that might be an issue. You could always send it as a string instead, which App Inventor will automatically coerce back to a number when used in any calculations. If you don't mind sharing the Android version of your app, I can poke around and see what would be doable.
I could send you a direct message here with the file - what type would you like?
Also, I could avoid floats if I need to - x100 and then just correct on the other side.
Would that bypass that potential issue?
Yes, you should be able to send me a private message by clicking on my name and then sending a message there. Feel free to attach your AIA file from App Inventor, and if you have any C/C++ code for the ESP32 I can take a look at that too.