python script for receive GPS data
I receive the information sent from the GPS device to the Python script, but the information I receive is not understandable to me. Help me understand this information through Python and I can display it on Google Maps.
import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock_ip = '192.168.150.2' sock_port = 5000 sock.bind((sock_ip, sock_port)) sock.listen(1) while True: c, addr = sock.accept() print('one client connect !!') data = c.recv(2048) print(data) c.close()
The output of this script is as follows: https://i.stack.imgur.com/gZy8h.png