Add auto-sleep timeout setting and handle it in loop

Incremented settings count, added autoSleepMinutes to CrossPointSettings, updated save/load functions, and integrated auto-sleep logic based on the new setting.
This commit is contained in:
altsysrq
2026-01-03 22:27:02 -06:00
parent 490ae79ede
commit 9ab27f848c
10 changed files with 213 additions and 54 deletions

10
docs/test.sh Normal file
View File

@@ -0,0 +1,10 @@
# Test 1: Check if curl exists
which curl
echo "---"
# Test 2: Try simple HTTP request
curl -v "http://192.168.4.1/" 2>&1
echo "---"
# Test 3: Try file upload with simple filename (no spaces)
echo "test" > /sdcard/test.txt
curl -v -X POST -F "file=@/sdcard/test.txt" "http://192.168.4.1/upload?path=/" 2>&1