Fork me on GitHub

ViewTool Hollong BLE Sniffer Support Linux OS Introduction

1。 Download Software:
http://www.viewtool.com/index.php/en/22-2016-07-29-02-11-32/205-hollong-bluetooth-4-0-4-1-4-2-ble-sniffer-analyzer-software?%20%20%20%20option=com_content
Under Linux,download latest version and copy to working dir.
Before running software, must have:
* Hardware:search "ViewTool Hollong BLE Sniffer" in ebay, amazon, or from this link: 
https://www.amazon.com/ViewTool-Professional-Bluetooth-Protocol-Wireshark/dp/B075K38YT2/ref=sr_1_fkmr0_1_a_it?ie=UTF8&qid=1530462231&sr=8-1-fkmr0&keywords=viewtool+hillsong+ble+sniffer
* software: Wireshark 
After above hardware and software ready,press “ctrl+alt+t”  to enter terminal, authorize super user permission by command “su " , input password, then type: ./start.sh to start up:ble_sniffer

2. On ble_sniffer main page ,click ”start" (top left triangle) , then Wireshark will start running,if pop up message box mentioned "no permission..", please ignore it and click “OK” to continue, then Wireshark will start to run as followling pictures:






3。Here is one example of Wireshark version(2.4.6)working with Ubuntu 18.04


4。BLE SNIFFER will list discovered BLE devices,select one or more device on right box(or click “select" to select all devices),Wireshark willl display captured advertising data(Before Wireshark captured advertising data, please do not have BLE master/slave device connected because BLE Sniffer need advertising data and connection request info to tracking all BLE signals after connection done),after Wireshark shows advertising data correctly, BLE master device could connect with slave device。
Important notice: if found missing data packet or not easy to captured the data after connection, please put master / slave devices closer (suggestion is less than 50cm),and put sniffer between them to improve reliability of capturing data; 



5。One example of captured BLE4.2 long package,MTU  = 247 (in one PDU)(type in "btatt" in input box of Wireshark to display ATT package only,to ignore advertising and empty packet), Hollong BLE Sniffer support standard BLE4.2 up to MTU=251 bytes per PDU。




6。NOTIFICATOIN PDU from slave device


7。MTU request PDU(response PDU followed):MTU = 247 bytes


Linux version of ViewTool Hollong BLE Sniffer demo:
https://youtu.be/Dz8VIEYezcc
Example of captured BLE4.2 data (viewed by Wireshark):

 

参考文档:

1 http://viewtool.com/forum/forum.php?mod=viewthread&tid=144

posted on 2019-05-13 14:47  虚生  阅读(538)  评论(0编辑  收藏  举报