1btsnoop_net 2==== 3btsnoop_net exposes Bluetooth snoop logs over a local TCP socket which enables 4real-time debugging of HCI data with hcidump. 5 6This feature is enabled by enabling "Enable Bluetooth HCI snoop log" in the 7Developer options and setting BT_NET_DEBUG flag to TRUE in the btsnoop_net.cc. 8Once it has been enabled and the stack restarted, the stack will listen for 9incoming TCP connections on port 8872. 10 11To use this feature with btmon on a Linux host, you can run: 12 13``` 14 $ adb forward tcp:8872 tcp:8872 15 $ nc localhost 8872 | btmon -P -r /dev/stdin 16``` 17