Skip to content

Mastering Samsung UWB: Commands and Capabilities

Unlock the full potential of Samsung's Ultra Wide-Band (UWB) technology with this detailed walkthrough. Designed for developers and tech aficionados, this guide covers everything from basic commands to enable or disable UWB, to advanced diagnostics for optimizing device performance. Discover how to access country codes, manage ranging sessions, and capture detailed diagnostic data, all through adb commands. Whether you're aiming to refine your app's location services or simply curious about UWB technology, this guide is your gateway to precision, speed, and unparalleled connectivity.


Gets status of UWB stack

adb shell cmd samsunguwb_aosp status

Gets country code as a two-letter string

adb shell cmd samsunguwb_aosp get-country-code

Get the log mode for UCI packet capturing

adb shell cmd samsunguwb_aosp get-log-mode

Toggle UWB on

adb shell cmd samsunguwb_aosp enable-uwb

Toggle UWB off

adb shell cmd samsunguwb_aosp disable-uwb

Displays latest cached ranging reports for an ongoing ranging session

adb shell cmd samsunguwb_aosp get-ranging-session-reports <sessionId>

Displays latest cached ranging reports for all ongoing ranging session

adb shell cmd samsunguwb_aosp get-all-ranging-session-reports

Stops an ongoing ranging session

adb shell cmd samsunguwb_aosp stop-ranging-session <sessionId>

Stops all ongoing ranging sessions

adb shell cmd samsunguwb_aosp stop-all-ranging-sessions

Gets specification info from uwb chip

adb shell cmd samsunguwb_aosp get-specification-info

Enable vendor diagnostics notification

adb shell cmd samsunguwb_aosp enable-diagnostics-notification [-r](enable rssi) [-a](enable aoa) [-c](enable cir)

Disable vendor diagnostics notification

adb shell cmd samsunguwb_aosp disable-diagnostics-notification

Take bugreport through betterBug or alternatively bugreport manager

adb shell cmd samsunguwb_aosp take-bugreport

Simulate app moving to foreground/background to test stack handling

adb shell cmd samsunguwb_aosp simulate-app-state-change <package-name> foreground|background