mirror of
https://github.com/aljazceru/meshcore-web.git
synced 2025-12-17 16:24:18 +01:00
refactor settings page and add latitude and longitude settings
This commit is contained in:
@@ -170,6 +170,10 @@ class Connection {
|
||||
await GlobalState.connection.setAdvertName(name);
|
||||
}
|
||||
|
||||
static async setAdvertLatLong(latitude, longitude) {
|
||||
await GlobalState.connection.setAdvertLatLong(latitude, longitude);
|
||||
}
|
||||
|
||||
static async setTxPower(txPower) {
|
||||
await GlobalState.connection.setTxPower(txPower);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user