Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homekit ADK accessory with iPhone 8 and iPhone X with 5.12.0 mbed #10054

Closed
cy-kishore opened this issue Mar 12, 2019 · 7 comments
Closed

Homekit ADK accessory with iPhone 8 and iPhone X with 5.12.0 mbed #10054

cy-kishore opened this issue Mar 12, 2019 · 7 comments
Assignees

Comments

@cy-kishore
Copy link

Hi,
HomeKit ADK disconnects immediately when we try with iPhone8 or iPhone X with iOS version 12.1.4 (16D57) when using 5.12.0 of mbed
However Homekit ADK works fine with same iPhone8 and iPhoneX with iOS version 12.1.4 (16D57) with mbedOS version 5.11.4.

There seems to be lot of changes in the Cordio stack between 5.11.4 and 5.12.0. Is there any additional API needs to be taken care in latest Cordio Stack.

Additional Info:
Homekit ADK works fine with iPhone 7 with iOS version 10.3.1 (14E304) and iPhone5s with iOS version 12.1.4 with mbed version 5.12.0

Issue request type

[ ] Question
[ ] Enhancement
[x ] Bug
@ciarmcom
Copy link
Member

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-987

@desmond-blue
Copy link
Contributor

Would it be okay to share the sniffer trace of disconnecting scenario? Thanks.

@akhilcypress
Copy link

sniffer.zip
failure case sniffer log

@akhilcypress
Copy link

We are also facing similar issue with GattServer example app,
Logs from GattServer with iphone X + iOS-12.1.4

Starting GattServer
Ble process started.
Ble instance initialized
Advertising started.
Adding demo service
clock service registered
service handle: 11
hour characteristic value handle 13
minute characteristic value handle 16
second characteristic value handle 19
Connected.
-- end of log

Usecase: BLE_GattServer + iPhoneX (iOS 12.1.4) with LightBlue app

  •    iphoneX able to discover the GattServer device via LightBlue app
    
  • tap to connect GattServer device
  • On iPhone side it is showing “connecting” -> “Interrogating” then pop up message “Connection Alert” Timeout.
  • No disconnection or any other logs from serial console, It appears the stack just hanged after this

@desmond-blue
Copy link
Contributor

From the trace, the communication is gone after phy_update_ind, so I think all examples have the same issue, and that’s why iPhone 7 doesn’t has the issue because it’s bt4.2.

@desmond-blue
Copy link
Contributor

Hi @akhilcypress I just raise a PR #10092 for this, could you check if this solve your issue? Thanks.

@cy-kishore
Copy link
Author

With this fix the issue is solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants