Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20c16035 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Automerger Merge Worker
Browse files

btsnoop_net: Fix instruction for btsnoop logs am: 68651c8f am: cb962dd3 am: 69256f3b

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1337175

Change-Id: I8d646173d254146bede8b37690e77b74ee899062
parents 22f9e211 69256f3b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3,13 +3,14 @@ btsnoop_net
btsnoop_net exposes Bluetooth snoop logs over a local TCP socket which enables
real-time debugging of HCI data with hcidump.

This feature is enabled by  setting `BtSnoopLogOutput=true` in `bt_stack.conf`.
This feature is enabled by  enabling  "Enable Bluetooth HCI snoop log" in the
Developer options and setting BT_NET_DEBUG flag to TRUE in the btsnoop_net.cc.
Once it has been enabled and the stack restarted, the stack will listen for
incoming TCP connections on port 8872.

To use this feature with hcidump on a Linux host, you can run:
To use this feature with btmon on a Linux host, you can run:

```
  $ adb forward tcp:8872 tcp:8872
  $ nc localhost 8872 | hcidump -r /dev/stdin
  $ nc localhost 8872 | btmon -P -r /dev/stdin
```