Commit Graph

2 Commits

Author SHA1 Message Date
altsysrq
32552e9d91 Enhance CrossPointSettings with hotspot scheduler settings and update related serialization methods 2026-01-05 21:30:31 -06:00
altsysrq
5bf721ae42 Add FTP server support with protocol selection and QR codes
This commit integrates FTP server functionality alongside the existing HTTP
server, allowing users to choose their preferred file transfer protocol.

Key changes:
- Added SimpleFTPServer library dependency (configured for SdFat2)
- Created CrossPointFtpServer wrapper for FTP server management
- Added network credentials to CrossPointSettings (ftpUsername, ftpPassword, httpUsername, httpPassword)
- Created ProtocolSelectionActivity for HTTP/FTP choice
- Created FileTransferActivity to replace CrossPointWebServerActivity
  - Supports both HTTP and FTP protocols
  - Shows QR codes for WiFi credentials (AP mode) and server URLs
  - Displays FTP credentials on screen for easy access
- Updated main.cpp to use FileTransferActivity instead of CrossPointWebServerActivity

The FTP server provides an alternative file transfer method that works well
with dedicated FTP clients and offers better performance for large file transfers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 21:01:33 -06:00