Android Open Source - bluetooth Beacon

From Project

Back to project page bluetooth.


The source code is released under:

MIT License

If you think the Android project bluetooth listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.mauriciotogneri.bluetooth.beacons;
// ww  w.ja  v  a  2 s . com
public class Beacon
  private final String macAddress;
  private final int rssi;
  public Beacon(String macAddress, int rssi)
    this.macAddress = macAddress;
    this.rssi = rssi;
  public String getMacAddress()
    return this.macAddress;
  public int getRssi()
    return this.rssi;

Java Source Code List