mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-30 12:22:49 -08:00
example 'meshtastic': add map with (known) positions of all radios
This commit is contained in:
parent
7713ce57a6
commit
671e7f91c8
17 changed files with 248 additions and 8 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "qt.h"
|
||||
#include "ble_meshtastic.h"
|
||||
#include "tile_server.h"
|
||||
#include <ecl_fun.h>
|
||||
#include <QSqlQuery>
|
||||
#include <QSqlError>
|
||||
|
|
@ -170,4 +171,14 @@ QVariant QT::localIp() {
|
|||
return QVariant();
|
||||
}
|
||||
|
||||
QVariant QT::startTileServer() {
|
||||
static bool start = true;
|
||||
int port = 1702;
|
||||
if (start) {
|
||||
start = false;
|
||||
new TileServer(port);
|
||||
}
|
||||
return port;
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue