mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Pebble: Experimental support for BLE on all models via dev option in Pebble Settings
HOWTO: 1) Pair you normal Pebble (not necessary if already done), make sure it was connected once 2) Unpair your LE pebble if already paired 3) Switch on "Always prefer BLE" in Pebble Settings 4) Tap on the + in Control Center to add a new device 5) Pair your Pebble-LE XXXX or Pebble Time LE XXXX inside Gadgetbridge's Device Discovery actibity Now Gadgetbridge will connect to your LE Pebble when tapping on Pebble XXXX if "Always Prefer BLE" option is enabled. You can easily switch back to classic LE by turning that option off again
This commit is contained in:
@@ -40,13 +40,18 @@ public class GBDaoGenerator {
|
||||
private static final String TIMESTAMP_TO = "timestampTo";
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Schema schema = new Schema(14, MAIN_PACKAGE + ".entities");
|
||||
Schema schema = new Schema(15, MAIN_PACKAGE + ".entities");
|
||||
|
||||
Entity userAttributes = addUserAttributes(schema);
|
||||
Entity user = addUserInfo(schema, userAttributes);
|
||||
|
||||
Entity deviceAttributes = addDeviceAttributes(schema);
|
||||
Entity device = addDevice(schema, deviceAttributes);
|
||||
|
||||
// yeah deep shit, has to be here (after device) for db upgrade and column order
|
||||
// because addDevice adds a property to deviceAttributes also....
|
||||
deviceAttributes.addStringProperty("volatileIdentifier");
|
||||
|
||||
Entity tag = addTag(schema);
|
||||
Entity userDefinedActivityOverlay = addActivityDescription(schema, tag, user);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user