Tmt250 sending data over tcp/ip issue


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

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

if __name__ == "__main__":
    HOST, PORT = "", 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

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