Preserve main GNSS and volume behavior while porting verified TLS, receive fixes and full-handshake optimizations. Add MQTT connection diagnostics and route MQTT through banban.api.talkingq.com:1883. Include migration documentation and regression tools. Firmware builds and package checks passed; user confirmed new-board connectivity after switching the MQTT host to the domain.
18 lines
985 B
Batchfile
18 lines
985 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0.."
|
|
if not exist artifacts\wss mkdir artifacts\wss
|
|
where cl >nul 2>nul
|
|
if errorlevel 1 call "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\Auxiliary\Build\vcvars64.bat" >nul
|
|
if errorlevel 1 exit /b 1
|
|
cl /nologo /W4 /WX /D_CRT_SECURE_NO_WARNINGS /TC /Iql-application\threadx\interface\custom_app\inc /Iql-application\threadx\interface\custom_app\lib\librws\inc tools\test_wss.c ql-application\threadx\interface\custom_app\talkingq_wss.c ql-application\threadx\interface\custom_app\lib\librws\src\rws_handshake.c /Foartifacts\wss\ /Feartifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
artifacts\wss\test_wss.exe
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_io.py
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_receive.py
|
|
if errorlevel 1 exit /b 1
|
|
ql-cross-tool\win32\owtoolchain\Python\python.exe tools\test_wss_handshake.py
|
|
exit /b %errorlevel%
|