This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

pairing CC2541

Other Parts Discussed in Thread: CC2541

We successful pair our device based upon  your CC2541 with an IPADS running IO7 and IOS8. The problem we are having is restoring the connection when the IPAD goes out of range and than comes back in again. The IPAD Bluetooth  reports "connected" when we are in range. When we go out of range the IOS Bluetooth  reports  "Not connected".  Our application is a modified version of your keyFob app.

How do we reconnect our device automatically when it is in range of the IPAD?

  • Hi,

    Make sure you are not using white lists in your device (peripheral) and your device is advertising. For establishing a connection, please refer to the Core Bluetooth APIs on Apple's developer portal, they should have some examples for notifying your app when a desired peripheral is detected (scanned). The connection must be initiated by the Central device, in this example, the iOS device. I would suggest following up on an Apple / iOS forum if you are still having difficulty with your iOS app.

    Best wishes
  • We are not using a white list. We are looking for your recommendation on how to implement this.
  • Hi,

    I suggest referencing the Apple Core Bluetooth Programming Guide, specifically the section on "Discovering Peripheral Devices That Are Advertising". Beyond that, a sniffer trace showing the 1) the peripheral advertising & 2) the iOS device sending the connect requests would help confirm if there is an issue with the iOS not sending the connect request or the peripheral not advertising or accepting the request.

    Best wishes