Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS and Bluetooth low energy, possibilities?

I want to connect a robot, via Bluetooth, with an iPhone (4S or more) via Bluetooth low energy (BLE) 4.0. This robots require to send all the notifications of the iPhone to the device.

For example: If the iPhone gets a new email, I must send the event to the robot, and it will blink an LED. Stop.

I want to know if the iOS Bluetooth APIs of the Bluetooth framework can do this, or better, can share the Internet connection or whatever that can do this work.

I'm asking this, because I have heard that the APIs have some restrictions.

PS: ANY solution that can do this is very accepted (no Wi-Fi connection solution).

like image 712
Univers3 Avatar asked Dec 05 '25 14:12

Univers3


1 Answers

Bluetooth LE would be the way you want to go here, because standard Bluetooth requires your device to be MFi-compliant. Standard Wi-Fi could also work, if you're able to require the presence of the supporting network.

As of iOS 6.0, you can set up your iPhone as a Bluetooth LE peripheral, which would allow it to send notifications to your device, if it is configured in a central role. That would be a pretty power-efficient way of updating your device with new data.

However, there's one large hurdle to doing what you want here. iOS applications have no access to system-wide notifications, so you won't be able to listen for incoming emails or other notifications like that. You'll be able to send data to your device via Bluetooth LE, but you're not going to know when emails come in so that you could send that to your device.

like image 194
Brad Larson Avatar answered Dec 08 '25 07:12

Brad Larson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!