-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RSSI and LQI back to devices after the firmware change
Signed-off-by: Andrew Schofield <[email protected]> (github: andrew-schofield)
- Loading branch information
1 parent
a6103c7
commit cdfd4a2
Showing
2 changed files
with
56 additions
and
6 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
35 changes: 35 additions & 0 deletions
35
...raytonwiser/src/main/java/org/openhab/binding/draytonwiser/internal/config/Reception.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,35 @@ | ||
/** | ||
* Copyright (c) 2010-2018 by the respective copyright holders. | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
*/ | ||
|
||
package org.openhab.binding.draytonwiser.internal.config; | ||
|
||
import com.google.gson.annotations.Expose; | ||
import com.google.gson.annotations.SerializedName; | ||
|
||
/** | ||
* @author Andrew Schofield - Initial contribution | ||
*/ | ||
public class Reception { | ||
|
||
@SerializedName("Rssi") | ||
@Expose | ||
private Integer rssi; | ||
@SerializedName("Lqi") | ||
@Expose | ||
private Integer lqi; | ||
|
||
public Integer getRSSI() { | ||
return rssi; | ||
} | ||
|
||
public Integer getLQI() { | ||
return lqi; | ||
} | ||
|
||
} |