Tmt250 sending data over tcp/ip issue

Hello,

So we are trying to do a handshake between TMT250 and a server. We do reply 0x01 and tracker wont send the data to a server. Any help?

import socketserver

class MyTCPHandler(socketserver.BaseRequestHandler):
    """
    The request handler class for our server.

    It is instantiated once per connection to the server, and must
    override the handle() method to implement communication to the
    client.
    """

    def handle(self):
        # self.request is the TCP socket connected to the client
        self.data = self.request.recv(1024).strip()
        print("{} wrote:".format(self.client_address[0]))
        print(self.data)
        print("Sending Server Accept 0x01 byte to client")
        self.request.sendall(b'\x01')
        # here you can do self.request.sendall(use the os library and display the ls command)

if __name__ == "__main__":
    HOST, PORT = "0.0.0.0", 8999

    # Create the server, binding to localhost on port 9999
    with socketserver.TCPServer((HOST, PORT), MyTCPHandler) as server:
        # Activate the server; this will keep running until you
        # interrupt the program with Ctrl-C
        server.serve_forever()

Hello,
Could you please send me the screenshot of the data that you receive from the device?
Did you configure your server on the device?