Merge dev with main #27

Merged
8464960 merged 89 commits from dev into main 2026-01-28 10:54:23 +00:00
Showing only changes of commit 308a19bff2 - Show all commits

View File

@@ -27,7 +27,7 @@ class MainReceiver(ReceiverBase):
def _handle_port_negotiation(message):
endpoints = [socket.endpoint_description() for socket in state.sockets]
return {"endpoint": "negotiation/ports", "data": endpoints}
return {"endpoint": "negotiate/ports", "data": endpoints}
@staticmethod
def _handle_negotiation(message):
@@ -42,10 +42,10 @@ class MainReceiver(ReceiverBase):
"""
# In the future, the sender could send information like the robot's IP address, etc.
if message["endpoint"] == "negotiation/ports":
if message["endpoint"] == "negotiate/ports":
return MainReceiver._handle_port_negotiation(message)
return {"endpoint": "negotiation/error", "data": "The requested endpoint is not implemented."}
return {"endpoint": "negotiate/error", "data": "The requested endpoint is not implemented."}
def handle_message(self, message):
if "endpoint" not in message: