callebtc
f909f01fec
integrate into main
2025-07-13 23:23:15 +02:00
callebtc
f9a639af2d
Merge branch 'main' into fix/android-ios-fragmentation-compatibility
2025-07-13 23:18:00 +02:00
callebtc
725dc01352
fix null delegate
2025-07-13 22:06:43 +02:00
callebtc
f7c68d2ff2
fix
2025-07-13 21:38:39 +02:00
callebtc
a68e14133b
wip refactor
2025-07-13 21:34:31 +02:00
callebtc and GitHub
d25d3bf991
Merge branch 'main' into fix/android-ios-fragmentation-compatibility
2025-07-13 21:25:11 +02:00
callebtc
930081bba0
add location services check
2025-07-13 20:27:43 +02:00
callebtc
887ca0119e
Merge branch 'main' into adjust-scan-intervals
2025-07-13 19:43:58 +02:00
callebtc
2cf6bf19b1
Merge branch 'main' into routingOpt
2025-07-13 17:20:49 +02:00
callebtc
2a0f84b53b
adjust scan intervals and reduce logging
2025-07-13 17:16:31 +02:00
callebtc
d54d470614
more logging
2025-07-12 16:36:00 +02:00
callebtc
035273011f
fix startup
2025-07-12 15:42:37 +02:00
GUVWAF
1b37f46d1e
Fallback to broadcast if direct send fails
2025-07-12 13:18:09 +02:00
GUVWAF
d1085fde0b
Cheap routing optimizations
...
- Don't relay back to sender or relayer
- Only send to connected device if recipientID matches one
- Don't relay our own ACK/read receipt
2025-07-12 13:18:09 +02:00
callebtc
e58cf4fd0d
fix null pointer
2025-07-12 12:53:01 +02:00
ShilohEye
33d273f268
Fix Android fragmentation for iOS/Rust compatibility
...
- Changed MAX_FRAGMENT_SIZE from 500 to 150 bytes to match iOS/Rust
- Fixed fragment ID generation to use 8 random bytes instead of string
- Implemented automatic fragmentation in BluetoothConnectionManager
- Added 20ms delay between fragments to match iOS/Rust implementation
- Updated fragment calculation to account for full packet overhead (34 bytes)
This ensures Android-generated fragments fit within iOS's default 185-byte BLE MTU,
fixing issues with commands like ?ls -la and ?ifconfig failing on iOS devices.
2025-07-10 19:25:52 -04:00
callebtc
b6f281275a
fixed
2025-07-09 21:51:04 +02:00
callebtc
3c0d145406
variable mtu clientside fix
2025-07-09 21:39:12 +02:00
callebtc
90750c2635
disable server, but client works
2025-07-09 21:10:20 +02:00
callebtc
250772a693
silent
2025-07-09 19:49:21 +02:00
callebtc
1d7defcbae
rate limiting
2025-07-09 18:29:49 +02:00
callebtc
dd8aa083b9
power saving
2025-07-09 15:47:54 +02:00
callebtc
d3e258b442
precvent duplicate connections
2025-07-09 15:34:20 +02:00
callebtc
3919373025
Add extracted components for BluetoothMeshService refactoring
...
- PeerManager.kt: Manages peer lifecycle, nicknames, and RSSI tracking (161 lines)
- FragmentManager.kt: Handles message fragmentation and reassembly (194 lines)
- SecurityManager.kt: Manages duplicate detection, replay protection, encryption (236 lines)
- StoreForwardManager.kt: Handles message caching for offline peers (295 lines)
- MessageHandler.kt: Processes different message types and relay logic (284 lines)
- BluetoothConnectionManager.kt: Manages BLE connections and GATT operations (611 lines)
- PacketProcessor.kt: Routes incoming packets to appropriate handlers (108 lines)
All components compile successfully and maintain same functionality as original monolithic service.
Total extracted: ~1789 lines into 7 focused components.
2025-07-08 23:44:24 +02:00