JAVA/android_studio 2022. 9. 7. 20:33

 

SPT Android Bluetooth packet sniffering(monitoring)

> Android mobile app.과 Bluetooth+MCU(STM32F107 CPU)통신할때 디버깅용

>> connection problem between mobile app.(android) and STM32F107 CPU through Bluetooth(Transparent mode)

 
https://support.honeywellaidc.com/s/article/How-to-capture-Bluetooth-traffic-from-and-to-an-Android-Device
 

How to capture Bluetooth traffic from and to an Android Device?

 

support.honeywellaidc.com

Resolution
On the applicable Android devices, it is possible to capture Bluetooth traffic as follows:
  • Go to Settings
  • If developer options is not enabled, enable it now.
  • Go into developer options
  • Enable the option Enable Bluetooth HCI snoop log
  • Enable the Bluetooth option and Connected to the device.
  • Perform the actions which need to be captured.
  • Turn off the Bluetooth on the device.
  • Disable the option Enable Bluetooth HCI snoop log
  • Make sure the device is connected to the PC.
  • As the relevant files might not be shown in a PC's file browser in 'Internal Storage', copy the file to a PC by means of the Android Debug Bridge:   adb pull /sdcard
  • The files of interest are btsnoop_hci.log and all files with the extension .cfa
These are binary files, which can be opened with Wireshark.
 
 
 
 
 

 

 
 
- google search for 'Android bluetooth packet sniffering'
 
 

 

 

posted by cskimair
: