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:
10
docs/test.sh
Normal file
10
docs/test.sh
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user