To send GPRS command, device must send all records to the server first.
First, when module connects to server, module sends its IMEI. First comes short identifying number of bytes written and then goes IMEI as text (bytes).
For example, IMEI
356307042441013 would be sent as
First two bytes denote IMEI length. In this case
0x000F means, that IMEI is 15 bytes long.
After receiving IMEI, server should determine if it would accept data from this module. If yes, server will reply to module
01, if not -
00. Note that confirmation should be sent as binary packet. I.e. 1 byte
Then module starts to send first AVL data packet. After server receives packet and parses it, server must report to module number of data received as integer (four bytes).
If sent data number and reported by server doesn’t match module resends sent data.
Please check in the configurator Status->GSM info tab if sent records counter is growing (if records were succesfully sent to the server)
000000000000003608010000016B40D8EA30010000000000000000000000000000000105021503010101425E0F01F10000601A014E0000000000000000010000C7CF (data packet, codec 8, number of data: 01)
if there is no request from device send GPRS command