zoukankan      html  css  js  c++  java
  • ViewTool Hollong BLE Sniffer Support Linux OS Introduction

    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

  • 相关阅读:
    淘宝API学习之道:淘宝TOP之API接口接入教程
    hdu 2952 Counting Sheep
    【Java 虚拟机探索之路系列】:JIT编译器
    Android Afinal框架学习(一) FinalDb 数据库操作
    class、interface、struct的差别
    13个Cat命令管理文件实例汇总
    Linux df 命令用法示例
    九个uname命令获取Linux系统详情的实例
    Linux中查看进程的多线程
    精通Linux的“kill”命令
  • 原文地址:https://www.cnblogs.com/dylancao/p/10856527.html
Copyright © 2011-2022 走看看