Changes

m
no edit summary
Line 7: Line 7:  
* [[FMM640]]
 
* [[FMM640]]
 
* [[FMB641]]
 
* [[FMB641]]
 +
 +
==How does it work?==
 +
Fleet management devices online log capturing is initiated using command <code>log2srv</code> and by setting right configuration. The device establishes a GPRS connection and activates the link to the computer, log starts to stream to the computer until the set time is elapsed. To stop streaming log immediately <code>log2srvstop</code> is used.
 +
 
==Steps to collect log file==
 
==Steps to collect log file==
 
Here are steps on how to capture [[LV-CAN200]], [[ALL-CAN300]], or [[CAN-CONTROL]] log from FM series devices. <br>
 
Here are steps on how to capture [[LV-CAN200]], [[ALL-CAN300]], or [[CAN-CONTROL]] log from FM series devices. <br>
1. Follow '''1''' and '''2''' step from "[[How to capture remote log from FM device?]]".<br>
+
# Follow '''1''' and '''2''' step from "[[How to capture remote log from FM device?]]".<br>
2. Make sure that the CAN adapter is '''connected properly''' to the vehicle and to the FM series device.<br>
+
# Make sure that the CAN adapter is '''connected properly''' to the vehicle and to the FM series device.<br>
3. '''Start vehicle engine'''.<br>
+
# '''Start vehicle engine'''.<br>
4. Send following '''SMS command''' to FM device: <br>
+
# Send following '''SMS command''' to FM device: <br>
* If you have set SMS login and password: <code>login pass log2srv 1,7,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',300,0”</code><p>'''APN''' - Operator APN name of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNusername''' - Operator APN username of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNpassword''' - Operator APN password of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''IP''' - External IP address of the computer to which the device will connect.</p><p>'''port''' - Opened TCP port (used in '''Hercules''') of external ip address to which the device will connect.</p><p>Command example: <code>opa opa log2srv 1,7,banga,,,212.59.13.226,7056,300,0</code></p><br>
+
#* If you have set SMS login and password: <code>login pass log2srv 1,7,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',300,0”</code><p>'''APN''' - Operator APN name of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNusername''' - Operator APN username of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''APNpassword''' - Operator APN password of the SIM card, which is inserted into the device from which the log will be captured.</p><p>'''IP''' - External IP address of the computer to which the device will connect.</p><p>'''port''' - Opened TCP port (used in '''Hercules''') of external ip address to which the device will connect.</p><p>Command example: <code>opa opa log2srv 1,7,banga,,,212.59.13.226,7056,300,0</code></p>
* If SMS login and password are not set leave two spaces before the command: <code><span style=
+
#* If SMS login and password are not set leave two spaces before the command: <code><span style="color:#f8f9fa">aa</span>log2srv 1,7,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',300,0”</code><p>If command was sent correctly you should receive SMS Response:<code>LOG2SRV OK=1, 7, IP, port, 300, 0</code></p><p>[[File:Alert.png|50px|left|link=]]<b>Up to 5 minutes delay could appear if wrong <code>log2srv</code> commands settings will be sent, during that time no SMS or GPRS command could be received. SMS will be hanging, after timeout, hanging SMS’s will be proceeded.</b></p>  
"color:#f8f9fa">aa</span>log2srv 1,7,'''APN''','''APNusername''','''APNpassword''','''IP''','''port''',300,0”</code><p>If command was sent correctly you should receive SMS Response:<code>LOG2SRV OK=1, 7, IP, port, 300, 0</code></p><p>[[File:Alert.png|50px|left|link=]]<b>Up to 5 minutes delay could appear if wrong <code>log2srv</code> commands settings will be sent, during that time no SMS or GPRS command could be received. SMS will be hanging, after timeout, hanging SMS’s will be proceeded.</b></p>  
+
# After successful '''SMS response''' device will start streaming log to '''Hercules''' program. '''(1)''' Logfile bytes will start increasing and '''(2)''' connected device will appear. Device log will be captured for '''5 minutes'''.<p>[[File:Hercules_connected.png|400px]]</p><p>If you want to stop log capturing immediately send following '''SMS command''' to FM device:</p>
</br>
+
#* If you have set SMS login and password: <code>login pass log2srvstop</code>
5. After successful '''SMS response''' device will start streaming log to '''Hercules''' program. '''(1)''' Logfile bytes will start increasing and '''(2)''' connected device will appear. Device log will be captured for '''5 minutes'''.<p>[[File:Hercules_connected.png|400px]]</p><p>If you want to stop log capturing immediately send following '''SMS command''' to FM device:</p>
+
#* If SMS login and password are not set leave two spaces before the command: <code><span style=
* If you have set SMS login and password: <code>login pass log2srvstop</code>
  −
* If SMS login and password are not set leave two spaces before the command: <code><span style=
   
"color:#f8f9fa">aa</span>log2srvstop</code><br>
 
"color:#f8f9fa">aa</span>log2srvstop</code><br>
6. Provide captured log to your '''Teltonika sales manager''' or '''Teltonika Support team''' for further investigation.
+
# Provide captured log to your '''Teltonika sales manager''' or '''Teltonika Support team''' for further investigation.
    
[[Category: Frequently Asked Questions - FAQ]]
 
[[Category: Frequently Asked Questions - FAQ]]