diff -r 45532de22b75 -r 4127c64df073 runtime/eRPCServer.py --- a/runtime/eRPCServer.py Wed Oct 16 12:18:14 2024 +0200 +++ b/runtime/eRPCServer.py Wed Nov 13 23:10:36 2024 +0100 @@ -85,7 +85,7 @@ self.transport = None self.servicename = servicename self.ip_addr = ip_addr - self.port = port + self.port = int(port) self.servicepublisher = None def _to_be_published(self): @@ -118,7 +118,7 @@ # transport = erpc.transport.SerialTransport(device, baudrate) # initialize TCP transport layer - self.transport = erpc.transport.TCPTransport(self.ip_addr, int(self.port), True) + self.transport = erpc.transport.TCPTransport(self.ip_addr, self.port, True) self.server = erpc.simple_server.SimpleServer(self.transport, erpc.basic_codec.BasicCodec) self.server.add_service(service)