Home | History | Annotate | Download | only in doc
      1 btsnoop_net
      2 ====
      3 btsnoop_net exposes Bluetooth snoop logs over a local TCP socket which enables
      4 real-time debugging of HCI data with hcidump.
      5 
      6 This feature is enabled by  setting `BtSnoopLogOutput=true` in `bt_stack.conf`.
      7 Once it has been enabled and the stack restarted, the stack will listen for
      8 incoming TCP connections on port 8872.
      9 
     10 To use this feature with hcidump on a Linux host, you can run:
     11 
     12 ```
     13   $ adb forward tcp:8872 tcp:8872
     14   $ nc localhost 8872 | hcidump -r /dev/stdin
     15 ```
     16