Read advertisement packet in Android

前端 未结 3 914
梦毁少年i
梦毁少年i 2021-01-31 00:30

I\'m working on a BLE sensor that is advertising manufacturer specific data. Is there any sample code that demonstrates how to receive an advertisement packet in Android and par

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 01:22

    edit 21.02.2016

    The library i linked below seems to have been moved; see https://github.com/AltBeacon/android-beacon-library


    You can use Android iBeacon Library for a start.

    There is a reference application which you can use for the basics and with simulated data. ~https://github.com/RadiusNetworks/ibeacon-reference-android~

    Once you get it up and running you may wish to import the library and use it with your real device, there is also some example code on the site: http://developer.radiusnetworks.com/ibeacon/android/samples.html

提交回复
热议问题