Template:FM36 GPRS Week Time

From Wiki Knowledge Base | Teltonika GPS

This parameter manages when it is allowed to open GPRS context. When module starts it is prohibited to open the context. When modem’s GPRS context is closing (for example changing network) it is allowed to open it only at a defined time. It is possible to allow connections every 10 minutes up to once per day.

Example value: 7F,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF,FF

Schedule parameter format:

Time is defined as 19 byte array (‘getparam’ 1545 returns 20 bytes). First byte of array defines week days; the rest 18 bytes define timestamps with 10 minute interval. In first byte, first bit (LSB) defines if module should connect to GPRS (send SMS) on Monday, second bit – on Tuesday and so on up to seventh bit – which means Sunday. Eighth bit (MSB) is not used. If bits value is 0 then device is not allowed to open GPRS context, but if it is already open – does not close it. If value is 1 it will work as day minutes are defined in rest of the bytes. Day’s minutes are defined by 18 bytes (144 bits). Every nth bit (beginning from the first bit (LSB) and ending 18 bytes 8th bit (MSB)) indicates every 10th minute of the day (day has 1440 minutes).

Sample: GPRS will be allowed on Monday to Friday at 8:00 and 16:00 GMT. The following value should be configured:

00011111 00000000 00000000 00000000 000000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000 000000001 00000000 00000000 00000000 00000000 00000000

Red bits indicate that GPRS will be allowed every day except Saturdays and Sundays. Blue bits indicate 480 and 720 minutes (480min = 8h and 720min = 16h). So the parameter value should be: 1F,00,00,00,00,00,00,01,00,00,00,00,00,01,00,00,00,00,00

It should be sent as UTF8 encoded string.