I am also one of the person which I need help in building TCP Listener .
I am building a TCP Listener in Python for my FMB 920 Device which I purchased last week.
First our server got the IMEI from the device and our script successfully acknowledged with 01 byte as below.
ba = bytearray()
ba.append(0x01)
conn.send(ba)
The device accepted our acknowledgement and sent AVL Data Packet as below.
00000000000004d60813000001695ecc119000000000000000000000000000000000000c05ef00f0001503c80045020
Here 08 is codec and 13 is number of records as per Protocol File.
Now the server has to respond to the device with the number of records. To do so, I did like this
ba = bytearray()
ba.append(0x13)
conn.send(ba)
Unfortunately, the device is not recognizing this byte and again sending the same data in the next attempt.
Could somebody please help on this.
Whats wrong in this. I tried to send the exact binary also as raw_data[9:10]. Still there is no luck.
Please help.