Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to connect Android device to an iOS device over BLE (Bluetooth Low Energy)
    primarykey
    data
    text
    <p>I'm trying to make an application which uses the <strong>new Bluetooth Low Energy API</strong> of Android. For this, I started with the BLE sample coming with <strong>API level 18</strong>. </p> <p>As I read that Android can not act as a Peripheral, I put the Android phone in central mode, scanning for <strong>BLE devices</strong> around it. For this purpose, I made some testing with a Nordic Platform simulating a Heart Sensor. Everything works in a perfect way!</p> <p>After this, I try to pick an <strong>iPhone (iOS 7 beta 4)</strong> and put it in a Peripheral way and simulating a <strong>Heart Rate sensor</strong> as the previous testing. The Android app is able to see the device and connect to it. But after the connection is active, the 2 devices disconnect from each other in 3-4 seconds. In addition to that, when I call discoverServices() on Android side, no callback is triggered! In some cases the Android device receives the "Connected" event even if iOS Bluetooth chip is Off. This is very strange. To prove that, I put the <strong>Nordic Board in Central mode</strong> and I was correctly able to connect to the iOS device with no problems. </p> <p>What could it be? There are some limitations on Android or iOS that don't permit to connect from an Android to an iOS or viceversa?</p> <p>Thanks.</p> <p>EDIT: After some hard testing, I raised an issue on the AOSP page. It can be checked <a href="https://code.google.com/p/android/issues/detail?can=2&amp;start=0&amp;num=100&amp;q=&amp;colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&amp;groupby=&amp;sort=&amp;id=58725">here</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload