Commit Graph
57 Commits
Author SHA1 Message Date
callebtc 0bc6cd4929 small fixes 2025-07-21 22:37:33 +02:00
callebtc 0fb23f4c09 no signature in private message 2025-07-21 19:48:30 +02:00
callebtc bfb9a535ac better 2025-07-21 19:18:46 +02:00
callebtc 554b687ad8 clean code and fix signature to null 2025-07-20 22:33:19 +02:00
callebtc 9ba7dc5181 iniator works now 2025-07-20 21:19:41 +02:00
callebtc b275ad7308 decrypt correctly 2025-07-20 20:50:01 +02:00
callebtc 75cc4615c7 Fix Noise session race condition with elegant per-peer actor serialization
- Use Kotlin coroutine actors for per-peer packet processing
- Each peer gets dedicated actor that processes packets sequentially
- Eliminates race conditions in session management without complex locking
- Single surgical change in PacketProcessor - minimal, maintainable
- Leverages Kotlin's native concurrency primitives
2025-07-20 18:45:21 +02:00
callebtc ce5a6dee76 use singleton 2025-07-20 16:53:45 +02:00
callebtc d507996da8 simplify session manager 2025-07-20 11:08:32 +02:00
callebtc 15bf49cfd1 peer ID hex 2025-07-19 21:38:35 +02:00
callebtc b5d062a0a9 wip, use noise encryption 2025-07-19 21:31:02 +02:00
callebtc 342796dc01 hashing 2025-07-19 19:03:26 +02:00
callebtc 03ac7ba09b wip noise 2025-07-17 11:36:40 +02:00
callebtc 10e5e9fff3 8 byte peer ID 2025-07-17 03:18:28 +02:00
callebtc 7681d96df2 fix peer ID 2025-07-17 03:14:10 +02:00
callebtc 9cc73722c4 subnet 2025-07-17 03:08:51 +02:00
callebtc 113cb47455 werk 2025-07-17 01:30:59 +02:00
callebtc ad36ee50d2 barely working 2025-07-17 01:18:57 +02:00
callebtc f4d00fed67 wip: use subnet 2025-07-17 00:34:20 +02:00
callebtc a06bb32e26 better 2025-07-16 16:33:47 +02:00
callebtc d76644e58a temporary 2025-07-16 16:01:49 +02:00
callebtc 57f870fff9 noise 2025-07-16 14:04:59 +02:00
callebtc e0f727647a chore: refactor 2025-07-14 00:24:00 +02:00
callebtc 7ecdb1426b revert comment 2025-07-14 00:18:15 +02:00
callebtc 193918d81a track rssi correctly 2025-07-14 00:13:45 +02:00
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 0e2614d3eb fix build 2025-07-13 22:52:50 +02:00
callebtc 362f9b0ff2 log 2025-07-13 22:39:41 +02:00
callebtc f40283694d logs 2025-07-13 22:35:18 +02:00
callebtc cac3b9ec6c better logging of device id 2025-07-13 22:18:31 +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
callebtcandGitHub 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