dont know how to send data via gt06 using traccar.

maani2 days ago

hi .
i have struggling with a problem that i cant send data to traccar using gt06(port). i want to send data using powershell but traccar doesnt show me any lat,lon And its status doesn't change to online. so i will put the .ps1 file below .
https://mega.nz/file/zrpkkIRR#b9pE2TwaVidLUNp5ukX3R3MGDkYyVMRCjRC_mmuV_1Q

the log that i'm getting from running this ps1(powershell file) program :

2025-01-20 16:06:52  INFO: [Taa3ee68c] connected
2025-01-20 16:06:52  INFO: [Taa3ee68c: gt06 < 127.0.0.1] 78781f1238393737313730363631323534363325012016065202406634f8b407380000180d0a
2025-01-20 16:06:52  INFO: [Taa3ee68c] disconnected

BUT THE FORMAT SHOULD CONTAINS < HEX "YOUR_PACKET"> as i put some correct log below:

2016-10-04 08:01:10  INFO: [7CC2D9B3] connected
2016-10-04 08:01:38 DEBUG: [7CC2D9B3: 5023 < 223.255.229.76] HEX: 78780d010351608080127173002423f10d0a78780d010351608080127173002532780d0a78780d010351608080127173002600e30d0a
2016-10-04 08:01:38 DEBUG: [7CC2D9B3: 5023 > 223.255.229.76] HEX: 787805010024af730d0a
2016-10-04 08:01:38 DEBUG: [7CC2D9B3: 5023 > 223.255.229.76] HEX: 787805010025befa0d0a
2016-10-04 08:01:38 DEBUG: [7CC2D9B3: 5023 > 223.255.229.76] HEX: 7878050100268c610d0a

can you anton and anyone help me about this ?
thanks.

Track-trace2 days ago

Why would you want to send data through powershell?

Anton Tananaev2 days ago

It doesn't seem like the format you're using is correct.

maani2 days ago

for first question te answer is that it is easier than using cURL and winsock at least for me .
and can you tell me more about how do you think that the format is not correct or where did you see the mistake? i mean i am just sending hex.
thanks for your responce

Anton Tananaev2 days ago

For once location message shouldn't have IMEI in it.