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

Connection Issue #329

Closed
btrmateusz opened this issue Jul 19, 2017 · 6 comments
Closed

Connection Issue #329

btrmateusz opened this issue Jul 19, 2017 · 6 comments

Comments

@btrmateusz
Copy link

btrmateusz commented Jul 19, 2017

A few seconds after connecting, device disconnects. Services are not discovered. I'm using the nRF Connect Android app. My bleno app doesn't do much - just trying to get something simple to work.

Bleno is running on macOS Sierra 10.12.5 - MacBook Pro 2017, with Xcode 9.0 beta 3 with a Swift 4.0 Snapshot 2017-07-06 toolchain. Node v8.1.2.

nRF Connect is running on Android 7.1.1 - Nexus 6.

Tried to reboot the system, kill the blued service, did not help.

Logs below. Hopefully nothing private in those. Anything out of the ordinary?
Android adb logcat.txt
Android nRF Log.txt
Android Bluetooth HCI snoop log.zip
MacOS bleno debug.txt
MacOS console.txt
MacOS index.js.zip

@sandeepmistry
Copy link
Collaborator

@btrmateusz could you please also provide your bleno code? Have you tried one of the built-in examples?

@btrmateusz
Copy link
Author

Thanks for getting back to me @sandeepmistry. It looks like it's my phone - I got a hold of two other BLE devices - Samsung S7 and iPad Air 2. Both seem to be able to connect, read and write to characteristics without any disconnects.

My bleno code is found in the MacOS index.js (Google Drive) file in my initial post.

I used nRF Connect to connect to the bleno peripheral on both Android phones. On the iPad I used LightBlue app, as suggested here.

Eliminating any JS issues, can you think of any reasons why my Nexus 6 wouldn't work? I am using a stock Google OTA Android image.

@btrmateusz
Copy link
Author

I found this thread out there. In my MacOS bleno debug.txt file there's this: "kCBMsgArgConnectionInterval": 7,. Is this 7 milliseconds? Is there any way to change this value with XPC?

#235

@btrmateusz
Copy link
Author

Got rid of files on Google drive - Github allows *.zip so I zipped up the JS and Android snoop log.

@btrmateusz
Copy link
Author

Just to make sure I have that covered - I flashed my phone to the latest Android OTA image. Same Android version (7.1.1) but a different build with different (latest) security patches. Same issue.

@btrmateusz
Copy link
Author

I'm going to close this - I've been having other BLE issues with this phone (ex., I can't pair using a passkey) - which don't seem to happen on other Android and iOS devices. This phone is EOL and unless other devices have similar problems, it doesn't matter.

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

No branches or pull requests

2 participants