Code Monkey home page Code Monkey logo

giapdangle / android-nrf-beacon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nordicsemiconductor/android-nrf-beacon

0.0 1.0 0.0 1.75 MB

The nRF Beacon application lets you explore the full range of possibilities for beacons using Bluetooth Smart technology. The application has been designed to demonstrate all features of the nRF8122 Bluetooth® Smart Beacon Kit.

Home Page: http://www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy/nRF51822-Bluetooth-Smart-Beacon-Kit

License: BSD 3-Clause "New" or "Revised" License

Java 100.00%

android-nrf-beacon's Introduction

nRF Beacon

The nRF Beacon application lets you explore the full range of possibilities for beacons using Bluetooth Smart technology. The application has been designed to demonstrate all features of the nRF8122 Bluetooth® Smart Beacon Kit. It works partially with beacons from other manufacturers as well.

The application allows you to register actions that will be triggered when a specified event occurs. Currently a beacon may silence the phone, open an application, open a website in a browser, show predefined information about an object (Mona Lisa painting), or play an alarm on one of the four events: the beacon region has been entered or exited, a beacon is near or very close.

Dependencies

In order to compile the project the DFU Library is required. This project may be found here: https://github.com/NordicSemiconductor/Android-DFU-Library. Please clone this project and the Android-DFU-Library to the same root folder, name the DFU library folder DFULibrary. The dependency is already configured in the gradle and set to the ..:DFULibrary:dfu module.

Projects in file explorer

On Android 4.3 and 4.4.x the application requires the nRF Beacon Service to be installed on the device. It may be downloaded from Google Play. Since Android 5 (Lollipop) the service has been built into the nrf-beacon-lib-v2.0.aar library and using Android native API. After updating the phone to Android 5+ the nRF Beacon Service may be removed from the phone. The source code of this library is attached in the app/sources folder.

nRF51822 Bluetooth Smart Beacon Kit

The nRF51822 Bluetooth® Smart Beacon Kit is a reference design that lets you explore the full range of development possibilities for beacons using Bluetooth Smart technology. It consists of hardware, firmware and apps for both iOS and Android on Bluetooth 4.0 enabled smartphones.

It is ultra-compact at 20 mm in diameter and can be run using CR1632 coin-cell batteries. The kit has two buttons which you can program to enable easy switching between modes and/or functionality, as well as an RGB LED which you can configure to indicate different events. Ten GPIO pins are available for expansion, and the kit can be connected to an external programmer/debugger during development work. The nRF51822 Bluetooth Smart Beacon Kit also supports complete Over-The-Air (OTA) Device Firmware Upgrade (DFU) for all firmware on the nRF51822 SoC.

nRF51822 Bluetooth Smart Beacno Kit

Note:

  • Android 4.3 or newer is required.
  • Tested on Samsung S3 with Android 4.3 and on Samsung S4, Nexus 4, Nexus 5, Nexus 7 with Android 4.4.2, 4.4.4 and 5.
  • Compatible with nRF51822 Bluetooth® Smart Beacon Kit.
  • You may find more information about nRF51822 Bluetooth® Smart Beacon Kit on our website: http://www.nordicsemi.com/eng/Products/Bluetooth-R-low-energy/nRF51822-Bluetooth-Smart-Beacon-Kit.
  • Various phones have different antennas, yet may get other signal strength readings from the beacons.

android-nrf-beacon's People

Contributors

philips77 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.