Commit Graph

29 Commits (d9645e6544406960ef094d6816217bf689f0c46f)

Author SHA1 Message Date
DJ2LS e2450d2266 add iamalive and buffer command 2025-05-06 12:13:26 +02:00
DJ2LS 41370087ec add iamalive and buffer command 2025-05-06 11:33:46 +02:00
DJ2LS 0527637ae5 adjusted logging 2025-05-05 21:27:55 +02:00
DJ2LS 258cc05f32 adjustment to arq session handling 2025-05-05 20:53:36 +02:00
DJ2LS 9516019e16 more p2p adjustments 2025-05-02 14:34:01 +02:00
DJ2LS caf33d5429 fixes to p2pcon 2025-05-01 22:35:36 +02:00
DJ2LS 363520cac5 fixes to p2pcon 2025-05-01 21:42:32 +02:00
DJ2LS 554f3c5ff7 Merge branch 'refs/heads/ls-winlink' into ls-appcontext
# Conflicts:
#	freedata_server/demodulator.py
#	freedata_server/p2p_connection.py
2025-05-01 21:15:33 +02:00
DJ2LS 5f32ad1e18 more work 2025-04-29 12:52:40 +02:00
DJ2LS 653afee648 first commit containing introduction of context object 2025-04-28 21:43:29 +02:00
DJ2LS b0cb2eb6ce adding winlink session support 2025-04-28 11:09:58 +02:00
DJ2LS cc00c48081 added disconnect and abort functions 2025-02-24 11:52:47 +01:00
DJ2LS 80aa0a3614 enable CWID and fidx connected message 2025-02-23 18:38:13 +01:00
DJ2LS 8455f3f700 fixing callsign exchange 2025-02-22 18:55:20 +01:00
DJ2LS d8ec3f3438 radio manager now sending PTT ON OFF - next step: fixing instance of socket interface manager for data. 2025-02-22 14:28:56 +01:00
DJ2LS 76fe73bc10 Merge remote-tracking branch 'origin/dev-connected-mode' into dev-connected-mode
# Conflicts:
#	freedata_server/p2p_connection.py
#	freedata_server/socket_interface_commands.py
2025-02-12 10:41:13 +01:00
DJ2LS 351e5f8408 test related work in progress - still improving automated testing. Whats working for now is catching command socket for IRS and ISS. Pushing data on ISS side to data socket is working as well. But we are still trying to get data on IRS. 2025-02-12 10:38:38 +01:00
modernham d17639bd53 Added same code for DataSocket class as the CommandSocket class to make sure the handlers are accessible.
Started work on getting the client to accept several callsigns as connection methods, and passing the correct connecting one to the receiving client.

For now, storing some variables that need used later within the SocketInterfaceHandler.
2025-02-11 21:24:57 -05:00
DJ2LS c919df71c7 adjustments to command handling 2025-02-11 08:41:01 +01:00
modernham ac0d756751 Added same code for DataSocket class as the CommandSocket class to make sure the handlers are accessible.
Started work on getting the client to accept several callsigns as connection methods, and passing the correct connecting one to the receiving client.

For now, storing some variables that need used later within the SocketInterfaceHandler.
2025-01-25 23:20:57 -05:00
modernham 4065f8df20 Returned SocketInterfaceHandler(self) to service_manager creation call as the reference to socket_interface_manager. Not sure if intention, but nothing was returned prior on line 69 of service_manager.py
Started work to store some info we will receive from CMD client. Not sure where to store this data yet. We will need to make an array of several callsigns the client will listen for, and add an exception for them within the "is_frame_for_me" method in frame_handler.py.

Before, all instances of socket_interface_manager were None within the actual command handlers, and it's created P2PSessions, as nothing was passed for it. When I passed the SocketInterfaceHandler to the CommandSocket as the socket_interface_manager, it was still invalid to use within P2PSessions because it was referencing self.socket_interface_manager.command_server as a CustomThreadedTCPServer, and not a CommandSocket type, so the command_handler was an invalid reference.
Adding the hasattr seems to make sure the command_handler is accessible. Not very sure about this solution, but I can now access the command_handler methods from within each session using self.socket_interface_manager.command_server.command_handler.

When connecting to another station using a "CONNECT" command in the command socket, the other station will not reply to the P2P_CONNECTION_CONNECT packet unless lines 221/222 are present within the connected_irs method. Not sure if this is intentional, or if this was only partially complete due to a move to use an ARQ connection. For now the connection command still calls P2PConnectionCommand, so need to find out when ARQ comes into play.
2025-01-24 19:00:42 -05:00
DJ2LS 93b4e74dd9 adjustments to handling socket interface instance 2025-01-22 09:12:19 +01:00
modernham af2aef8aad Socket IP within the config.ini file is now used instead of localhost.
Removed trailing '\n' for command socket interface as most clients only expect the \r.
2025-01-21 22:14:27 -05:00
DJ2LS d71ede983c adjusted arq session stuff 2025-01-21 19:55:11 +01:00
DJ2LS 387df53307 error handling for connecting 2025-01-21 13:55:23 +01:00
DJ2LS d8a82c5066 adjsuted socket responses 2025-01-21 13:52:55 +01:00
DJ2LS 25edbacd85 adjsuted socket responses 2025-01-21 13:51:53 +01:00
DJ2LS cb105afb6f some small work on socket interface 2024-06-04 15:12:26 +02:00
DJ2LS d5097b8b94 another folder renaming 2024-04-18 11:04:25 +02:00