From 82d1290927be17fa48396a8633d4cc3070d4bcb3 Mon Sep 17 00:00:00 2001 From: Stefal Date: Thu, 11 Sep 2025 20:12:47 +0000 Subject: [PATCH] update to manage new firmware. need testing with firmware older than 4.15.0 --- receiver_cfg/Septentrio_Mosaic-X5.cfg | 3 +++ web_app/gnss_rproxy_server.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/receiver_cfg/Septentrio_Mosaic-X5.cfg b/receiver_cfg/Septentrio_Mosaic-X5.cfg index e7bd148a..d97e7d92 100644 --- a/receiver_cfg/Septentrio_Mosaic-X5.cfg +++ b/receiver_cfg/Septentrio_Mosaic-X5.cfg @@ -9,9 +9,12 @@ setSBFOutput, Stream1, , +BDSRaw+BDSRawB1C+BDSRawB2a+BDSRawB2b setSBFOutput, Stream1, , +QZSRawL1CA+QZSRawL2C+QZSRawL5 setSBFOutput, Stream1, , +NAVICRaw setSBFOutput, Stream1, , +GEORawL1+GEORawL5 +setSatelliteTracking, -SBAS setSignalTracking, GPSL1CA+GPSL1PY+GPSL2PY+GPSL2C+GPSL5+GLOL1CA+GLOL2P+GLOL2CA+GLOL3+GALL1BC+GALE6BC+GALE5a+GALE5b+GALE5+GEOL1+GEOL5+BDSB1I+BDSB2I+BDSB3I+BDSB1C+BDSB2a+BDSB2b+QZSL1CA+QZSL2C+QZSL5+QZSL1CB+NAVICL5 setSBFOutput, Stream1, , +PVTGeodetic+ChannelStatus+ReceiverStatus+SatVisibility+ReceiverTime setPVTMode, Static setPPSParameters, sec1, Low2High, , UTC setUSBInternetAccess, on +setHttpsSettings, HTTP +login, basegnss, basegnss!, RxAdmin, S3pt3ntr10 #END \ No newline at end of file diff --git a/web_app/gnss_rproxy_server.py b/web_app/gnss_rproxy_server.py index 7c08a6e8..14b658b4 100644 --- a/web_app/gnss_rproxy_server.py +++ b/web_app/gnss_rproxy_server.py @@ -125,7 +125,7 @@ def redirect_to_API_HOST(path): #NOTE var :path will be unused as all path we n return response -@app.route('/login', methods=['GET', 'POST']) +@app.route('/gnsslogin', methods=['GET', 'POST']) def login_page(): if current_user.is_authenticated: return redirect(url_for('index')) @@ -146,7 +146,7 @@ def login_page(): return render_template('proxy_login.html', title='Sign In', form=loginform) -@app.route('/logout') +@app.route('/gnsslogout') def logout(): logout_user() return redirect(url_for('login_page'))