╔═══════════════════════════════════════════════════════════════════════════════╗ ║ RFID SCANNER INTEGRATION - USAGE GUIDE ║ ╚═══════════════════════════════════════════════════════════════════════════════╝ 📱 HOW TO USE RFID SCANNER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. OPEN APPLICATION → Open harta.php in your web browser → Make sure application window has focus 2. SCAN RFID CODE → Point your RFID scanner at the tag → Scanner will automatically send the code 3. FORM OPENS → RFID modal appears with scanned code (read-only) → Location shows automatically IF code was used before → If NEW code: Click "Ia locatia din centru hartii" 4. FILL DESCRIPTION → Type at least 10 characters → Example: "Bec ars in lampa" or "Gropă mare pe drum" 5. SELECT CATEGORY → Choose from dropdown: • Gropi / carosabil • Iluminat public • Trafic / semnalizare • Salubritate • Vandalism • Altele 6. SUBMIT REPORT → Click "Trimite sesizarea" → Report saved with RFID code and location → Form closes automatically ✨ FEATURES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ✓ RFID CODE READ-ONLY → Cannot edit the scanned code → Prevents accidental changes ✓ AUTO-LOCATION DETECTION → If RFID used before → Location fills automatically → Quick entry for repeat locations ✓ MANUAL LOCATION SELECTION → New RFID? Use map center button → Gets coordinates from map center point ✓ SMART VALIDATION → Description: Minimum 10 characters → Category: Always required → Location: Required (auto or manual) ⌨️ KEYBOARD SHORTCUTS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • Scanner Scan + Enter → Opens RFID form with code • Escape → Close RFID form • Tab → Navigate form fields 🧪 TESTING WITHOUT SCANNER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. Type any text (simulates RFID code) 2. Press Enter 3. RFID form opens 4. Fill in details 5. Submit Example test: Type "TEST12345" then press Enter 📊 DATA SAVED ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Each RFID report includes: • RFID Code (from scanner) • Location (auto or manual) • Description (your text) • Category (dropdown selection) • Timestamp (automatic) All saved in: sesizari.json 🔄 REUSING LOCATIONS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ First scan of RFID: 1. RFID opens 2. Location not found (new code) 3. Click "Ia locatia din centru hartii" 4. Fill description & category 5. Submit Second scan of SAME RFID: 1. RFID opens 2. Location auto-fills immediately! ✓ 3. Just fill description & category 4. Submit faster! 💡 TIPS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • FASTER WORKFLOW: Pre-register RFID locations first • MAP CENTERING: Move map to exact location before scanning • BULK SCANNING: Multiple codes build location database • ACCURACY: Location taken from map center when needed 🚨 TROUBLESHOOTING ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Problem: Form not opening when scanning → Make sure browser window is focused → Check scanner is sending keyboard data → Test by typing manually Problem: Location not found for known RFID → Check sesizari.json for previous reports with that code → Use map center button to set location → Next scan will remember it Problem: Can't edit RFID code → This is intentional! RFID is read-only → Prevents accidental modification 📞 SUPPORT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ See additional guides: • RFID_README.md - Full documentation • RFID_SETUP.md - Technical setup guide ═══════════════════════════════════════════════════════════════════════════════ 🎯 READY TO SCAN! YOUR RFID INTEGRATION IS COMPLETE 🎯 ═══════════════════════════════════════════════════════════════════════════════