Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
Take identifier out of beacon
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Jul 18, 2015
1 parent c70df25 commit a362d7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Estimotes.Interface/Beacon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ public class Beacon {
public Proximity Proximity { get; }
public ushort? Minor { get; }
public ushort? Major { get; }
public string Identifier { get; }
public string Uuid { get; }


public Beacon(string uuid, string identifier, Proximity proximity, ushort major, ushort minor) {
public Beacon(string uuid, Proximity proximity, ushort major, ushort minor) {
this.Uuid = uuid;
this.Identifier = identifier;
this.Proximity = proximity;
this.Major = major;
this.Minor = minor;
}


// TODO: colour, distance, power?
// TODO: readtemperatureasync
// TODO: getbatterylevel and battery life remaining
}
Expand Down
3 changes: 0 additions & 3 deletions Estimotes.iOS/BeaconManagerImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ protected virtual Beacon FromNative(Estimote.Beacon native) {
var prox = this.FromNative(native.Proximity);
var beacon = new Beacon(
native.ProximityUUID.AsString(),
String.Empty,
// native.Name,
// region.Identifier,
prox,
native.Minor,
native.Major
Expand Down

0 comments on commit a362d7e

Please sign in to comment.