Forums - iOS Otau v. 1.2 peripheral connection state always disconnected

4 posts / 0 new
Last post
iOS Otau v. 1.2 peripheral connection state always disconnected
dennis
Join Date: 29 Aug 16
Posts: 5
Posted: Wed, 2016-09-07 01:06

after choosing a device from the list I click ok on the popup window for couple with device. The application then starts its routine to get the bluetooth address, crystal Trim and so on. 

But it always fails in the first point when the application looks if there is a device and is it state connected. So it never reaches the read functions for the crystal Trim or the  bluetooth address.

Can anyone help with this?

  • Up0
  • Down0
tanien Moderator
Join Date: 14 Apr 16
Posts: 5
Posted: Tue, 2016-10-04 20:25

Could you specify the detailed information of your development environment?

  • - The uEnergy SDK version
  • - iOS version
  • - XCode version

 

You may need to do some modifications for different environment.

Thanks,

  • Up0
  • Down0
dennis
Join Date: 29 Aug 16
Posts: 5
Posted: Wed, 2016-10-12 04:22

I am using the following development environments:

The uEnergy SDK version 2.4.3.26

XCode version 7.3.1

Apple Ipad Air with IOS version 9.3.5

 

  • Up0
  • Down0
dennis
Join Date: 29 Aug 16
Posts: 5
Posted: Mon, 2016-10-17 00:56

I think the problem lies in the waitForDelegate function. Because the pcm object is mostly nil even when the Callback

PCM *pcm = [targetPeripheral getCallback]; says there is a pcm Object.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.