1

gps-трекер Laipac

Topic: gps-трекер Laipac

Уважаемые форумчане! Кто из вас встречался с трекером Laipac starfinder avl 110?
Может кто обладает информацией о возможности удаленной настройки прибора по смс. Нужны команды для прописания IP и порта.

2

gps-трекер Laipac

Re: gps-трекер Laipac

Есть на AVL-115 корейский и Laipac-S911 старый

3

gps-трекер Laipac

Re: gps-трекер Laipac

Попробуйте эту команду:
Send: $AVCFG, PSW, c, APN, Username, Password, TCP Server, Port, DNS 1, DNS 2* CHKSUM
Receive: $AVRSP, Unit ID, RESPCode*CHKSUM
$AVCFG Sentence
PSW <= 8 bytes
APN <= 32 char
Username <= 15 or 31 char (refer to Table 15)
Password <= 15 or 31 char (refer to Table 15)
TCP Server <= 15 or 31 char (refer to Table 15)
Port <= 5 char (0-99999)
DNS 1 <= 15 (199.199.199.199)
DNS 2 <= 15 (199.199.199.199)
CHKSUM = 2 bytes
$AVRSP Sentence
Unit ID <= 8 bytes
RESPCode = 2 bytes (00: OK, 01: invalid command, 02: invalid password, 03: invalid
chksum, 04: invalid parameter, 05: sentence too long)
CHKSUM = 2 bytes
Example:
$AVCFG,00000000,c,internet.fido.ca,fido,fido,laipgw1.com,1688,209.148.64.42,207.136.100.41*4D
$AVRSP,99999999,00*46


Calculation of Check Sum
Calculation of checksums i s based on the National Marine Electronics Association (NMEA) standard.
This standard is supported by most GPS systems.
The format of an NMEA sentence is as follows:
$GPRMC,235947.000,V,0000.0000,N,00000.0000,E,,,041299,,*1D<Carriage return>
The checksum immediately follows the ‘*’ (asterisk) character and is computed by taking the bit-wise
Exclusive-OR of all characters between the ‘$’ and the ‘*’. The checksum is reported in hexadecimal
and is 1D (decimal 29) for the example sentence above.
The following standard C code demonstrates the checksum calculation.
#include <stdio.h>
unsigned char calc_checksum(const char *s)
{
unsigned char result;
result = 0;
s++; // Skip dollar sign
while ((*s != '*') && (*s != '\0'))
result ^= *s++;
return result;
}
int main()
{
unsigned char checksum;
checksum = calc_checksum
("$GPRMC,235947.000,V,0000.0000,N,00000.0000,E,,,041299,,*");
printf("Checksum = %02X\n", checksum);
return 0;
}
When executed, the program produces the following output: Checksum = 1D

Владимир Тихончук
Gurtam