-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
P1-HighHigh priority - fix before betaHigh priority - fix before betaarchitectureArchitectural refactoring/fixesArchitectural refactoring/fixesphase-2Phase 2: P1-High fixesPhase 2: P1-High fixes
Description
Phase: 2 - P1-High
Category: Protocol Standardization
Files: All protocol files
Description
Centralize MTU constants and fragmentation logic
Current Problem
Hardcoded values: BLE_MTU=247, LORA_MAX=242, BLE_CHUNK=100, WIFI_CHUNK=1400
Key Tasks
- Create
lib-network/src/mtu.rswith centralized constants - Create
lib-network/src/fragmentation.rs - Implement
fragment_message(payload, mtu) - Implement
reassemble_message(fragments) - Delete hardcoded chunk sizes
Acceptance Criteria
- MTU values centralized
- Fragmentation logic unified
References
See ARCHITECTURAL_FIXES_IMPLEMENTATION_PLAN.md Ticket 2.6
Metadata
Metadata
Assignees
Labels
P1-HighHigh priority - fix before betaHigh priority - fix before betaarchitectureArchitectural refactoring/fixesArchitectural refactoring/fixesphase-2Phase 2: P1-High fixesPhase 2: P1-High fixes