-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented HTTP device polling at the end of pairing stage to verify…
… paring success
- Loading branch information
Alberto Geniola
committed
Jun 7, 2021
1 parent
83daeb9
commit 283d78b
Showing
5 changed files
with
165 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
merosslib/src/main/java/com/albertogeniola/merosslib/model/http/DeviceInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package com.albertogeniola.merosslib.model.http; | ||
|
||
import com.albertogeniola.merosslib.model.OnlineStatus; | ||
import com.google.gson.annotations.SerializedName; | ||
|
||
import java.util.List; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class DeviceInfo { | ||
@SerializedName("uuid") | ||
private String uuid; | ||
|
||
@SerializedName("onlineStatus") | ||
private OnlineStatus onlineStatus; | ||
|
||
@SerializedName("devName") | ||
private String devName; | ||
|
||
@SerializedName("bindTime") | ||
private String bindTime; | ||
|
||
@SerializedName("deviceType") | ||
private String deviceType; | ||
|
||
@SerializedName("subType") | ||
private String subType; | ||
|
||
@SerializedName("channels") | ||
private List[] channels; | ||
|
||
@SerializedName("region") | ||
private String region; | ||
|
||
@SerializedName("fmwareVersion") | ||
private String fmwareVersion; | ||
|
||
@SerializedName("hdwareVersion") | ||
private String hdwareVersion; | ||
|
||
@SerializedName("userDevIcon") | ||
private String userDevIcon; | ||
|
||
@SerializedName("iconType") | ||
private int iconType; | ||
|
||
@SerializedName("skillNumber") | ||
private String skillNumber; | ||
|
||
@SerializedName("domain") | ||
private String domain; | ||
|
||
@SerializedName("reservedDomain") | ||
private String reservedDomain; | ||
} |
Oops, something went wrong.