This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Master Control Panel Nexus 4 Mi Band

While I am waiting for my hardware I wanted to test the control panel with my Xiaomi Mi Band.

But I only get a single horizontal line in the RSSI Graph..

As I read this: *Known problems:

  • Nexus 4 and 7 notifies only about the first adv. packets from connectible peripherals, RSSI graph does not update for them.*

I was ok with it at first.. but now I found in the Play Store description: FIXED: Disable "Continuous scanning" in settings to get more packets on this devices.

But it didn't do the trick to me.

Is maybe anyone here with a Nexus 4 or Mi Band who could check if he is able to get it working?

  • @mugkuhns: I'm trying with "Continuous scanning" option turned off, and even though pretty slow, the RSSI is notified and changed when I moving the Nexus 7 around.

    Which Android version is on your MiBand and Nexus 4 ?

  • The Mi Band is a fitness tracker. It does not run Android. My Nexus 4 runs on 5.1

  • Sorry I thought that it was a phone.

    Mine Nexus 7 is at Android 5.0.2.

    Do you have different RSSI value when you move your Nexus 4 far away from the Mi Band ? (close the app and open it again at different location)

    What "disable continuous scan" does is to start and stop scanning on every 1 second. So if you can see different RSSI when you restart the app, there is no reason "disable continuous scan" can't capture changes on the RSSI.

  • Ah damn it. I once again missclicked convert to answer...

    Yes, I do have different RSSI values when I change the distance between the devices. And that's the point: "there is no reason "disable continuous scan" can't capture changes on the RSSI." But still it won't. Sometimes it gives me at least 3 short horizontal lines (with different RSSI values)... but that was it.

    But I tried the MiBand with another phone and the Control Panel and it did work as expected.. So it must be a problem on the Nexus 4 side.. Well I ordered my nRF51-DK and I'll try it again with a simple advertising package and my phone...

  • @muhkuhns: I think I know the problem. For some reasons (to reduce power consumption?) with Android v5.0 and Nexus' devices the scanning windows is very small and scanning interval is large. The result is that it's pretty hard to capture an advertising packet on Nexus devices unless you advertise very frequently.

    In your case, I suspect the MiBand advertises with not very small advertising interval (few hundreds ms ? ). What you're planning is good, with the DK you can test with short advertising interval.

Related