Just checked the user manual from the internet, and found the commands as shown in the following image.
Thank you, if that document was what I based it on, I was already able to configure that part, I'll leave the commands as they are in case anyone needs it
AT$APN=internet,username,password (APN=internet, Username=username, Password=password)
OK
AT$HOSTS=1,0,60.148.19.10,5011
(“1” is the Index number of Hosts,
“0” is to use Static IP as the indication of server location,
“60.148.19.10” is the Server IP address,
“5011” is the port assigned for port listening.)
OK
AT$RETRY=5,10 (Message retry settings)
OK
AT$IPTYPE=1 (Using TCP/IP mode)
OK
AT$GPRSEN=1 (GPRS enable)
OK
AT$HB=60,0 (Heartbeat setting)
OK
Now I have the following problem, it doesn't report and in the log only this appears, does anyone know what I'm doing wrong?
2024-11-19 16:43:45 INFO: [T5aa75cb0] connected
2024-11-19 16:44:01 INFO: [T5aa75cb0: intellitrac < 200.68.186.72] 00010002000000003bb0366900ab0006162b2b180b13
2024-11-19 16:44:02 INFO: [T5aa75cb0: intellitrac < 200.68.186.72] 00020002000000003bb0366900ab0006162b39180b13
2024-11-19 16:44:15 INFO: [T5aa75cb0: intellitrac < 200.68.186.72] 00030002000000003bb0366900ab0006162c0b180b13
2024-11-19 16:44:31 WARN: [T5aa75cb0] error - Connection reset - SocketException (...)
2024-11-19 16:44:31 INFO: [T5aa75cb0] disconnected
It doesn't match the expected format. Do you have the protocol documentation for your device?
No, I only have its plot that comes to me by SMS
1001404003,20241120163045,-99.29824,19.41678,0.1,180.5,2236,4,13,0,0,3780,0,20241120163045
Without protocol documentation we probably won't be able to do anything.
Greetings, could someone help me, I have some intellitrac p1, I really know that they are a bit old now but I would like to put them to use since I have several, but when doing the command
ser.write(b'AT$HOSTS=193.193.165.165,20411 \r')
, I get an error. Does anyone have the commands or the guide to configure these devices?