How to capture CAN adapter log from FM device?

From Wiki Knowledge Base | Teltonika
Main Page > Fleet management > Fleet management FAQ > How to capture CAN adapter log from FM device?

Solution applies for these devices[edit | edit source]

FMA110 FMA120 FMB630 FMB640 FM6320 FM6300 FM3612 FM3622 FM36M1

Here are steps how to capture LV-CAN200, ALL-CAN300, CAN-CONTROL log from FM series devices.

  1. Follow 1 and 2 step from "How to capture remote log from FM device?".
  2. Make sure that CAN adapter is connected properly to the vehicle and to FM series device.
  3. Start vehicle engine.
  4. Send following SMS command to FM device:
    • If you have set SMS login and password: login pass log2srv 1,7,APN,APNusername,APNpassword,IP,port,300,0”

      APN - Operator APN name of the SIM card, which is inserted into the device from which the log will be captured.

      APNusername - Operator APN username of the SIM card, which is inserted into the device from which the log will be captured.

      APNpassword - Operator APN password of the SIM card, which is inserted into the device from which the log will be captured.

      IP - External IP address of the computer to which the device will connect.

      port - Opened TCP port (used in Hercules) of external ip address to which the device will connect.

      Command example: opa opa log2srv 1,7,banga,,,212.59.13.226,7056,300,0

    • If SMS login and password are not set leave two spaces before command: aalog2srv 1,7,APN,APNusername,APNpassword,IP,port,300,0”

      If command was sent correctly you should receive SMS Response:LOG2SRV OK=1, 7, IP, port, 300, 0

      Alert.png
      Up to 5 minutes delay could appear if wrong log2srv 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.

  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.

    Hercules connected.png

    If you want to stop log capturing immediately send following SMS command to FM device:

    • If you have set SMS login and password: login pass log2srvstop
    • If SMS login and password are not set leave two spaces before command: aalog2srvstop
  6. Provide captured log to your Teltonika Sales manager or Teltonika Support team for further investigation.