mirror of
https://github.com/zyphlar/LanternPowerMonitor.git
synced 2024-03-08 14:07:47 +00:00
Add config flag for hubs to post to self-hosted server with a self-signed SSL certificate.
Support Raspberry Pi 2B by handling missing BLE controller and supporting 32-bit pigpio.
This commit is contained in:
@@ -8,7 +8,7 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public class HubConfigService {
|
||||
public abstract class HubConfigService {
|
||||
public static final UUIDFormatter uuidFormat = new UUIDFormatter("c5650001-d50f-49af-b906-cada0dc17937");
|
||||
private static final AESTool aes = new AESTool(37320708309265127L,-8068168662055796771L,-4867793276337148572L,4425609941731230765L);
|
||||
private static final UUID serviceUUID = uuidFormat.format(1);
|
||||
@@ -20,7 +20,7 @@ public class HubConfigService {
|
||||
return serviceUUID;
|
||||
}
|
||||
|
||||
public List<HubConfigCharacteristic> getCharacteristics() {
|
||||
public static List<HubConfigCharacteristic> getCharacteristics() {
|
||||
return Arrays.asList(HubConfigCharacteristic.values());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user