How to retrieve advertising payload from iBeacon / BLE

前端 未结 3 1063
孤街浪徒
孤街浪徒 2021-01-05 22:32

How do you retrieve the advertising payload for a Bluetooth LE emitter in linux?

Specifically, I\'ve configured arduino\'s and R-PI\'s using hcitool to act as iBeaco

3条回答
  •  执念已碎
    2021-01-05 23:25

    At Radius Networks, we put together a set of scripts that parse the iBeacon identifiers out of BLE advertisement detected on Linux. You can find a description of this here.

    If you simply want to see the raw advertisement bytes, you can start scanning on Linux with:

    sudo hcitool lescan --duplicates &
    

    And then see the results with:

    sudo hcidump --raw 
    

    More details are in the answer linked above.

提交回复
热议问题