Xteink-X4-crosspoint-reader/docs/test.sh
altsysrq 9ab27f848c 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.
2026-01-03 22:27:02 -06:00

10 lines
337 B
Bash

# 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