Posts

Showing posts with the label adb

Find connected bluetooth device name using adb? [duplicate]

Find connected bluetooth device name using adb? [duplicate] This question already has an answer here: Is there any way to find the connected BT device name using adb shell? My phone is rooted and I'm building a tasker profile which flashes the BT device name when connected. This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. 1 Answer 1 You want to know your Bluetooth profile name or connected/paired device bluetooth name? Both names you can get by below command: adb shell dumpsys bluetooth_manager The above command will give the output like this: Bluetooth Status enabled: true state: STATE_ON address: A4:70:D6:80:56:3E name: Moto G (4) (This is your device name) time since enabled: 00:03:29.979 Bonded devices: C0:EE:FB:DA:70:6E [BR/EDR] Oneplus3 (This is connected device name) ................

adb logcat, only display custom log events?

adb logcat, only display custom log events? I'm using adb logcat -s Unity to view log output from my Android build. However, I'm getting lots of stuff that I don't always need: adb logcat -s Unity 08-10 15:53:25.956 17278 17297 D Unity : Sensor : Accelerometer ( 1) ; 0.002394 / 0.00s ; BMI160 accelerometer / Bosch 08-10 15:53:25.960 17278 17297 D Unity : Choreographer available: Enabling VSYNC timing 08-10 15:53:26.133 17278 17297 I Unity : Launching UI... 08-10 15:53:26.133 17278 17297 I Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) 08-10 15:53:26.133 17278 17297 I Unity : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object) 08-10 15:53:26.133 17278 17297 I Unity : UnityEngine.Logger:Log(LogType, Object) 08-10 15:53:26.133 17278 17297 I Unity : UnityEngine.Debug:Log(Object) Is there a way to only get messages I intentionally output, ie "Launching UI..." above? Currently I'm using Debug.Log()...