Tom Hensel
6c26e8b1b1
Merge 3bbd43cc1b
into e2efc61208
2024-11-20 21:39:44 +01:00
Mark Qvist
e2efc61208
Added Yggdrasil example to interface documentation
2024-11-20 20:50:08 +01:00
Mark Qvist
5de63d5bf2
Internal interface config handling for TCPClientInterface
2024-11-20 20:39:44 +01:00
Mark Qvist
c9d744f88a
Internal interface config handling for TCPServerInterface
2024-11-20 20:27:01 +01:00
Mark Qvist
18e0dbddfa
Internal interface config handling for UDPInterface
2024-11-20 20:20:40 +01:00
Mark Qvist
52c816cb27
Cleanup
2024-11-20 20:18:17 +01:00
Mark Qvist
582d2b91f5
Internal interface config handling for AutoInterface
2024-11-20 20:14:02 +01:00
Mark Qvist
28a0dbb0e0
Updated version
2024-11-20 19:56:02 +01:00
Mark Qvist
2895806541
Added IPv6 info to TCP interface documentation
2024-11-20 19:55:18 +01:00
Mark Qvist
5b8de73143
Correctly display IPv6 addresses in interface names
2024-11-20 19:24:06 +01:00
Mark Qvist
212af2f43b
Automatically select IPv6 address for IPv6-only interfaces
2024-11-20 19:16:15 +01:00
Mark Qvist
1282061701
Add interface scope for link-local IPv6 addresses
2024-11-20 18:02:50 +01:00
Mark Qvist
49dba483a9
Use address structure according to target address family
2024-11-20 17:10:08 +01:00
Mark Qvist
ebec63487f
Added prefer_ipv6 option to TCPServerInterface
2024-11-20 16:53:14 +01:00
Mark Qvist
9373819234
Add ability to bind to AF_INET6 sockets based on both device name and IP addresses
2024-11-20 16:44:39 +01:00
markqvist
04925d8004
Merge pull request #601 from deavmi/patch-2
...
Allow binding to IPv6 (if present)
2024-11-20 14:28:46 +01:00
markqvist
4284084fef
Merge pull request #600 from deavmi/patch-1
...
Determine AF FAMILY from getaddrinfo BEFORE socket ctor
2024-11-20 14:28:34 +01:00
gretel
3bbd43cc1b
Fix KISS beacon frame formatting and add sync pattern
...
Two issues were resolved with KISS interface beacon transmissions:
1. Fixed frame length handling to meet minimum length requirements (15 bytes) for
TNCs like Direwolf. Previously, raw beacon data was being sent directly,
causing frame length errors:
```
<<< Data frame from KISS client application, channel 0, total length = 11
000: c0 00 44 4e 39 54 54 2d 31 35 c0 ..FOOBAR-15.
Frame length 8 not in allowable range of 15 to 2123.
ERROR - Invalid KISS data frame from client app.
```
2. Added standard 0xAA 0xAA sync pattern to improve radio modem synchronization
and compatibility with packet radio protocols like FX.25 and IL2P.
This ensures:
- Proper frame length for TNC compatibility
- Better bit synchronization with standard sync pattern
- Improved reception reliability
- Compatible with both KISS TNCs and packet radio protocols
```
<<< Data frame from KISS client application, channel 0, total length = 18
000: c0 00 aa aa 44 4e 39 54 54 2d 31 35 00 00 00 00 ....FOOBAR-15....
010: 00 c0 ..
[0L 21:25:43 UTC] (Not AX.25)<0xaa><0xaa>FOOBAR-15<0x00><0x00><0x00><0x00><0x00>
IL2P frame, max_fec = 1, 49 encoded bytes total
000: f1 5e 48 87 b8 59 b7 a1 cc 24 57 d6 0b 36 7c f1 .^H..Y...$W..6|.
010: 7c d5 af 85 db 12 99 80 9d b8 6b bb 6b 05 df 1e |.........k.k...
020: 69 0e d8 69 05 f6 ff c4 24 fa 58 f7 e7 f2 a4 df i..i....$.X.....
030: a1 .
```
2024-11-19 20:55:16 +01:00
Tristan B. Velloza Kildaire
63ad2afe3f
Reapply "Allow binding to IPv6 (if present)"
...
This reverts commit 61712d322a
.
2024-11-04 13:25:55 +02:00
Tristan B. Velloza Kildaire
61712d322a
Revert "Allow binding to IPv6 (if present)"
...
This reverts commit f55004a574
.
2024-11-04 13:25:46 +02:00
Tristan B. Velloza Kildaire
3599066356
Revert "Test"
...
This reverts commit 18c2a38b97
.
2024-11-04 13:05:27 +02:00
Tristan B. Velloza Kildaire
18c2a38b97
Test
2024-11-04 13:02:45 +02:00
Tristan B. Velloza Kildaire
f55004a574
Allow binding to IPv6 (if present)
...
If an interface has an IPv6 address record associated with it then, and only then, prefer that.
Otherwise AF_INET is used (Ipv4 address)
2024-11-03 17:54:59 +02:00
Tristan B. Velloza Kildaire
1768ddc459
Determine AF FAMILY from getaddrinfo BEFORE socket ctor
...
Before we call the `socket.socket(...)` constructor function, let us first provide `self.target_ip` and `self.target_port` to `socket.getaddrinfo(...)` (static function) and then get the AF family from it. Then we pass this into the ctor
2024-11-03 14:37:28 +02:00
Mark Qvist
d002a75f34
Updated changelog
2024-10-20 14:09:12 +02:00
Mark Qvist
0b6d239551
Updated changelog
2024-10-20 14:07:54 +02:00
Mark Qvist
926b811a84
Updated docs
2024-10-20 14:04:48 +02:00
Mark Qvist
2bc8e11ad5
Updated version
2024-10-20 13:45:52 +02:00
Mark Qvist
f5412f5c0b
Fixed invalid link RSSI, SNR and Q data returned from API functions. Improved link physical layer stats updates.
2024-10-20 13:34:02 +02:00
Mark Qvist
5470f752b4
Cleanup
2024-10-20 12:26:54 +02:00
markqvist
48c006a94c
Merge pull request #589 from faragher/master
...
Fixed file access bug, added fail-safe access
2024-10-20 12:18:23 +02:00
faragher
8445417661
Fixed file access bug, added fail-safe access
2024-10-19 12:39:48 -05:00
Mark Qvist
30248854ed
Updated changelog
2024-10-11 17:13:03 +02:00
Mark Qvist
f34bc75588
Updated docs
2024-10-11 16:47:53 +02:00
Mark Qvist
3b23e2f37d
Improved RNode BLE reconnection reliability
2024-10-11 13:38:16 +02:00
Mark Qvist
7417cf5947
Add rnode battery state to rnstatus output
2024-10-11 10:14:10 +02:00
Mark Qvist
60d8da843c
Disable tty module dependency for rnx, since it is currently unused
2024-10-11 09:54:09 +02:00
Mark Qvist
f9667fd684
Fixed missing import on Android
2024-10-10 23:49:20 +02:00
Mark Qvist
d9269c6047
Updated version
2024-10-10 23:32:09 +02:00
Mark Qvist
6521f839cd
Fixed resource transfers hanging for a long time over slow links if proof packet is lost
2024-10-10 17:06:43 +02:00
Mark Qvist
d63bbcdc0a
Updated changelog
2024-10-10 00:45:09 +02:00
Mark Qvist
c36c7186de
Updated docs
2024-10-10 00:44:33 +02:00
Mark Qvist
6fec76205c
Added save directory option to rncp
2024-10-10 00:41:57 +02:00
Mark Qvist
715f4d9fcb
Updated version
2024-10-09 20:03:05 +02:00
Mark Qvist
8d7857c4e2
Fixed rncp fstrings for Android build
2024-10-09 19:53:07 +02:00
Mark Qvist
c9a2b45368
Added physical layer transfer rate output option to rncp
2024-10-09 19:39:39 +02:00
Mark Qvist
c57d927660
Cleanup
2024-10-09 19:38:46 +02:00
Mark Qvist
8d98c8751a
Fixed resource progress calculation bug. Actually fixes #522 .
2024-10-09 19:38:25 +02:00
Mark Qvist
527f6cc906
Fuxed typo
2024-10-07 22:10:17 +02:00
Mark Qvist
a0d61f6441
Added error descriptions for modem communication timeout
2024-10-07 20:55:34 +02:00