foreword
Because the company needs...so I made a bit of it and referred to many other people's articles.
Results: It can capture the Bluetooth data communication packets of WeChat applets and Android APPs.
start
I am a Xiaomi mobile phone, so I will take my own mobile phone as an example
communication process operation
first step
Open the developer options, turn on the Bluetooth debug log and Bluetooth packet log switch (if there is only one of the two, just turn on one)
second step
Then go to the dial page (the dial pad on the phone interface) and enter *#*#5959#*#* once to start capturing the Bluetooth log (you will need to enter it again later, corresponding to the end of capturing the Bluetooth log) After inputting, a pop-up prompt will pop up You authorize bluetooth capture
third step
To operate your Bluetooth communication operation (such as directly using the WeChat applet for Bluetooth interaction)
the fourth step
After the Bluetooth communication is completed, go back to the dial page (the dial pad on the phone interface) and enter *#*#5959#*#* to end capturing the Bluetooth log, and then a box will pop up