Add notice about field removal and add whitelist section
This commit is contained in:
@@ -8,6 +8,10 @@ This page is about the various sections in the config, their purpose, and how to
|
||||
|
||||
### cfg.version
|
||||
|
||||
{{% notice note %}}
|
||||
This field was removed in [fbb7cd9bc1](https://gitea.arsenm.dev/Arsen6331/itd/commit/fbb7cd9bc1f632fb52f14f10ee76ade06b68824c)
|
||||
{{% /notice %}}
|
||||
|
||||
This field is temporary and was added because I changed the config format a while ago and wanted to make sure no one was still using the old config with a new version of ITD.
|
||||
|
||||
---
|
||||
@@ -32,6 +36,20 @@ This field is a boolean that dictates whether ITD will attempt to reconnect to t
|
||||
|
||||
---
|
||||
|
||||
### conn.whitelist
|
||||
|
||||
This section allows filtering which watches will be connected to. Only the devices in the devices list will be connected to.
|
||||
|
||||
#### enabled
|
||||
|
||||
This field is a boolean which dictates whether the whitelist is enabled.
|
||||
|
||||
#### devices
|
||||
|
||||
This field is an array if strings which contains BLE addresses that should be allowed for connection. A PineTime's BLE address can be found in the third page of the about section in settings.
|
||||
|
||||
---
|
||||
|
||||
### on.connect
|
||||
|
||||
This section contains options for what happens when ITD first connects to a PineTime.
|
||||
|
||||
Reference in New Issue
Block a user