BLE for iOS Support Sample?

Hey!

I know MIT is still working on iOS for BluetoothLE support, but I noticed that they have slightly updated it in their website

Even though there is no Disconnect option, does anyone have any ideas for a sample code I could write to try and connect to my Arduino HM-10?

The Android one isn’t connecting and I’m having trouble with it, Here’s the link, so I’m trying to see if it will run on iOS in the meantime

I know the team is busy, but is there any approximation on the release date for BLE on iOS?

Those methods were only implemented to their bare minimum for some demo apps were we doing for the LEGO EV3 platform. They won't be enough to implement a full fledged Bluetooth app for iOS. We do have the BLE implementation for iOS in progress. My aim is to have that done by the end of the summer.

1 Like

Ohhhh ok so I'm guessing it's not enough to make anything right now, but the functionality will come later as you guys develop it.

Thanks so much!

Possibly related progress...

July 20th: MIT App Inventor for iOS Version 2.64.3 in TestFlight
July 28th: BluetoothLE Code updates

Keeping my :crossed_fingers:! Thank you Evan & company!

is there an update on using BLE on iOS ?

I have a working demo app using the BLE to talk to Micro:bit on iOS, but the functionality only works with strings at the moment. I need to finish implementing the remaining data types and then we will get it up on TestFlight. In the short term it does require using a separate server though because the current production version of App Inventor assumes that iOS won't run any extensions (which it still doesn't, we just bake the extension logic into the companion app).

2 Likes

Ewan, please can you send an invitation to the TestFlight download link. I am a Beta tester for other apps.
I’m ready to forge ahead now my BLE hardware is functional.
Every blessing
Tim

https://iosbuildservertest.appinventor.mit.edu

1 Like

Thanks Simon BUT this test server for iOS still says no extensions supported eg BluetoothLE
Ewan recently said that Bluetooth would be hard coded in to MIT app,

Off course. In iOS are forbiden ALL extensions. You must only use AI2 Blocks.

I think i'm awaiting on Ewan to do this "bake":
"I have a working demo app using the BLE to talk to Micro:bit on iOS, but the functionality only works with strings at the moment. I need to finish implementing the remaining data types and then we will get it up on TestFlight. In the short term it does require using a separate server though because the current production version of App Inventor assumes that iOS won't run any extensions (which it still doesn't, we just bake the extension logic into the companion app)."

This will be in the future. This is not available to everyone. Evan is still working on it. It certainly won't be implemented today, tomorrow or next week... it definitely takes a lot of time and everyone will learn about the new functionality when it happens.

Trying to run AppInventor to build a BLE data visualization tool. I am on a MacBook Air M2 and would like the app to run on an iPad or iPhone.
Any help appreciated!
Tried running the tutorials and they crash.
thx,
joeb

It appears BLE may not yet be possible for ios Joeb. Perhaps an ios user will comment. Did you read the above discussion?

Are you using the version available on TestFlight? We has preliminary support for BLE and micro:bit in the beta version.

1 Like

That is my goal, BLE. I have a working hardware device that is sending out data and would like to put together a visualizer. I have tried at least a dozen different applications, none of which have been able to do this. One of the engineers who helped me put together my device strongly suggested I try MIT App Inventor.
SO what I would first like to accomplish is to get App Inventor running! I have a MacBook Air Apple M2 silicon. I have installed the software. I have an account and followed the tutorial to connect to both the iPhone and iPad emulators. App Inventor has done 1 of 3 things; crashes, locks (I can move the mouse but not select anything) or get a message that the emulator doesn't work. I forget the error message because I was at the time working on my hardware.
I would like to find out if and where App Inventor might have written preference files and try to do a totally clean install and see if I can get it to. actually work. Right now I'm not concerned with communicating with BLE, I'd like to. see if I can put something together that will draw simple objects. From what I've been reading BLE is on the verge of happening so I would like to have a handle on how to work with App Inventor but that would mean I have to get it to run. I have had a few suggestions in changing my equipment and I won't do that. I am married, though not happily lately, to the Apple platform and won't leave it after 40 years.
Thanks for any suggestions, advice or ideas how to get App Inventor to work.
Best,
Joe B