Does the "distance" property work when the Beacon is using the accelerometer?

I was trying to gather the distance info when the Beacon is in motion. But I found:
When the Beacon is connected and the accelerometer is enabled, its distance info never changed, no matter the Beacon is moving or not.
Is this normal?

Hi Celia -- that's expected, yes. "Distance" property is only calculated when ranging for beacons, as a part of iBeacon specification. When in "connected" state, the beacon stops broadcasting iBeacon data, so the distance property stops being updated. You can try estimating the distance yourself based on RSSI and measuredPower.