Steps:
Remember to try to send the commands below with and without theoretical password, as we cannot be sure if the SMS password is actually inputted in the configuration.
Send SMS getapn, refer to 1.1for information of what must be checked.
Send SMS gsminfo, refer to 1.2for information of what must be checked.
Send SMS coords, refer to 1.3for information of what must be checked.
Send SMS imei, refer to 1.4for information of what must be checked.
If device does not respond to SMS you can refer to 1.5.
More information about these SMS commands can be found in SMS commands list.
1.1 getapn
getapn allows to check if connection and APN settings are set correctly.
Response example: APN: ruptela.tele2.com User: PSW: IP1: 92.62.134.34 Port1: 7001 IP2: 193.193.165.165 Port2: 21043 TCP/UDP: 1
Note: TCP=0, UDP=1
1.1.1 APN settings:
For device to connect to GPRS, APN settings must be entered according to the SIM card.
Bellow you can find APN for Ruptela SIM cards:
Teliasonera: ruptela.ts.m2m
Vodafone: m2m.ruptela.com
Tele2: ruptela.tele2.com
Telenor: ruptela.cxn
Note: If two IPs are configured and „Two servers“ option is not enabled, device can switch to 2nd server if 1st server is not available. In such case, to switch back to 1st server, you would need to restart the device by sending SMS command reset
Note: If client is using their own SIM cards, you may need to confirm with client if APN settings are set correctly.
Note: Sometimes the APN may appear wrong but it can be that configuration (especially if it is factory one), is using AutoAPN function, in order to work with many different SIM providers. In that case the first APN will appear in the answer but many more are available in the list.
1.1.2 Connection settings (IP and Port):
To connect to server, correct IP address must be set. Also correct PORT must be chosen according the selected data sending protocol.
TrustTrack IP/Port:
IP: 92.62.134.34
TCP protocol PORT: 9015
UDP protocol PORT: 7001
Note: If client is using their own server, you may need to confirm with client if IP/Port/Protocol are set correctly.
1.2 gsminfo
gsminfo - SMS message is used to get GSM and GPRS information.
Response example: ST:2018.11.23 09:27:21; OP 64901,lvl 23,LAC 123, CID: 12022, GSM; M:I 8815, R 8814, SP: 0; GPRS 0:O 2, C 0, E 8803; LK:O 5, E 7, TMO 1; RS: 14; P 1
Important fields to check:
ST - Start Time, Date & time (GMT) from the last FM device reset/power ON. If Start time is starting with 1970 year, it means that device has not GPS fix and internal clock did not sync with GPS time. In such case device will not generate any records.
lvl – represents GSM signal level, low level could be the reason for data delay. In case level is low – check if device is in good coverage area. If device is located in known area of good coverage but level is low – might be a physical problem / device installation place.
GPRS – Status of GPRS. There are two possible values: 0 – no GPRS / 1 – attached to GPRS. If GPRS is 0, device cannot connect to the Internet nor send data. Check if incorrect APN may be set in device configuration or temporary blacklist may not be enabled.
TMO - The number of server response timeout. Big number of timeouts indicates that there might be a problem from server side (Device not receiving ACK from server). However, pay attention to „ST“ field, because „TMO“ field also represents the number of timeout since last restart. You may need to restart the device to check if number of timeouts is still increasing. In case it is increasing, report issue to SW (GUI- project).
1.3 coords
coords - SMS message is used to get current GPS status.
Response example: 2018-11-29 22:33, lat. 0.0000000, long. 0.0000000, alt. 0.0, sat. 0, dir. 0.00, hdop 0, state 2
Important fields to check:
Time - Current GMT date & time. Device will generate records only if it has current timestamp. Timestamp is presented in GMT+0. If time starts with 1970... – there was no GPS fix established after device restart. Make sure that GPS antenna (labelled face of the device) is facing clear sky and without metallic obstructions inbetween.
Sat. - Number of satellites linked to the device at each moment. Minimum are 3, but for accurate positioning at least 5 are necessary.
hdop - Positioning distortion. The lower the better, only values lower than 150 are considered acceptable for accurate positioning.
State - Current GPS/GLONASS state: 1-off, 2-on no fix, 3-on got fix, 4-not responding, 5-sleep, 6- disabled.
1.4 Imei
imei - SMS message is used to get device IMEI number. This SMS command can be used to double check if object is created with correct IMEI number on server side. IMEI is the most important information when creating an object on server side. If IMEI is entered incorrectly, server will not accept any data from the device.
Response example:
IMEI: 862462036839800
1.5 List of possible reasons why device does not reply to SMS commands:
Device is disconnected from power supply and thus cellular module is not working.
SIM card is not active. Check SIM card state.
SMS command was sent with incorrect SMS password. Check if password matches the one in device configuration.
SMS command was sent from unauthorized number. Check valid numbers list in device configuration.
SMS to Vodafone, usually starting with 2040... (or other m2m type sim) was sent from a regular phone. Vodafone SIM cards receive messages only from LCM SMS module or operator platform.
Device is currently located in area with no GSM coverage. You can refer to raw data report to check how often and in what area GSM signal level drops to 0.