No announcement yet.

FMI command example

  • Time
  • Show
Clear All
new posts

  • FMI command example

    Hi all,

    I would like to asking questions about FMI command, lets say for PVT protocol (page 46) stated:
    Server to client:
    49 – Turn On PVT Data Command ID
    50 – Turn Off PVT Data Command ID

    But, how to make that command when I want to send it via serial port?
    Can someone give me the example?

    Thanks in advance

  • #2
    here is the received data

    ASCII: 3@Xù B1…ËByšíBM?¥B…ËByšíBM?¥Bæ¡»¿ŠîÕBŒÐý?
    ORD: 16 51 64 88 249 160 66 49 133 203 66 121 154 237 66 77 63 165 66 1 133 203 66 121 154 237 66 77 63 165 66 1 26 230 161 187 191 138 238 213 66 140 208 253 63 30

    According to Garmin FMI document:
    first byte value is 16 which mean Data Link Escape
    second is 51 which mean PVT Data Packet ID (client to server)
    third is 64 which mean size of packet data?

    how about the remaining values? can someone help me to figure it out?



    • #3
      Try to read this
      Dowload Fleet Management Interface Developer Kit
      extract files and start your journey with Fleet Management Controller.exe


      • #4
        Hi ANTONIXX, thanks for your reply
        I've downloaded the FMI sdk, including the documentation and source code, but actually I am not familiar with C++
        The plan is to make my tracking device can communicate with the Garmin device, so I need to re-create the program code in other language (my tracking device is uses Python)
        If you can provide me the example of command protocol, for example: what should I send to the Garmin device to turning on the PVT data, including the format (in hex, string, etc), it would be very helpful

        Thanks again


        • #5
          ANTONIXX gave good advice. Simply run the Fleet Management Controller.exe program that comes in the developer kit. It is delivered in precompiled form, even though source code is also provided. Look at the packet log and you can easily see the packet contents.