简体   繁体   中英

Bluetooth connection to iOS and android

I am trying to control a device over bluetooth with both Android and iOS. So far I have used a bluetooth serial connected via Tx/Rx to a microcontroller. I'm only sending a few strings and characters. I have developed an Android app that controls this correctly.

The iOS side however is proving difficult. Unfortunately the serial bluetooth profile is not supported but bluetooth 4.0 (low energy) devices are, which I have seen seem to do what I want on iOS.

The problem being is how can I support both Android and iOS? Has anyone come across this before?

Any help would be very much appreciated.

Thanks

Harg, what is the device you are connecting the SPP(Android) smartphones to? And to which you want an iPhone connection?

Please remember, not all Bluetooth capable devices are BTLE (Bluetooth 4.0, Low-energy)! Especially PCs today, most of them do not have BTLE.

So, if your chip does have BTLE, then you can connect to an iPhone.

If not, you can still connect to an iPhone, if and only if you have an iPhone authentication co-processor on your device, and you implement iAP over RFCOMM. Your device, in this case, has to be MFi approved(Made for iPhone) .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM