This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Parsing nordic beacons with Android

Hi,

I created an Android project that scans nordic beacons and parses the data in it (such as the tx level, major. minor, UUID etc). I'm doing some low level parsing to extract this information. I was wondering if there is a cleaner way of doing this by using an external library. I noticed nordic provides nrf-beacon-lib-v2.0.jar but I could not find the API to use this library so I'm not sure if this is doing what I want.

Parents
  • @Sarah: If you download the nrfBeacon app source code, you can find the documentation .txt file and an example on how to use. The main point of the service is to share the same scanner for different application so that we won't drain the phone's battery by having each app doing scanning separately.

    Note that on Android v5.0 the library is deprecated and you should use the native scanner API provided by Google. (you will need to parse the advertising packet manually)

Reply
  • @Sarah: If you download the nrfBeacon app source code, you can find the documentation .txt file and an example on how to use. The main point of the service is to share the same scanner for different application so that we won't drain the phone's battery by having each app doing scanning separately.

    Note that on Android v5.0 the library is deprecated and you should use the native scanner API provided by Google. (you will need to parse the advertising packet manually)

Children
No Data
Related