You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This callback function is the heart of the UWB functionality:
661
661
662
662
- It's triggered whenever new ranging data is received from the UWB subsystem.
663
-
- It checks if the measurement type is Two-Way Ranging (TWR), which is the method used by Apple's Nearby Interaction protocol.
663
+
- It checks if the measurement type is *Two-Way Ranging (TWR)*, which is the method used by Apple's Nearby Interaction protocol.
664
664
- It extracts the distance measurements in millimeters and prints them to the IDE's Serial Monitor.
665
665
- It validates the measurement (`status = 0` indicates a valid measurement, while `distance = 0xFFFF` is a reserved value indicating an invalid distance).
0 commit comments