Updated upnp response for M-SEARCH again. Updated devices to have

numbering more in line with how the hue bridge is done. Added special
generation of hue device unique id as the philips api spec shows.  Added
a renumber function to convert id's.
This commit is contained in:
Admin
2016-09-28 16:18:53 -05:00
parent 4da5f65d89
commit 8ff7bc0120
9 changed files with 115 additions and 9 deletions

View File

@@ -11,6 +11,9 @@ public class DeviceDescriptor{
@SerializedName("id")
@Expose
private String id;
@SerializedName("uniqueid")
@Expose
private String uniqueid;
@SerializedName("name")
@Expose
private String name;
@@ -128,6 +131,14 @@ public class DeviceDescriptor{
this.id = id;
}
public String getUniqueid() {
return uniqueid;
}
public void setUniqueid(String uniqueid) {
this.uniqueid = uniqueid;
}
public String getHeaders() {
return headers;
}