1

send route to garmin device

Topic: send route to garmin device

How to send route to garmin device using APIs ?

2

send route to garmin device

Re: send route to garmin device

samir.agile wrote:

How to send route to garmin device using APIs ?

If the command already created for unit send request to get command's info with request core/search_items and next parameters "itemsType": "avl_unit" and "flags": 513 (0x201 in HEX). In response you will see command name, access level, link type, command type. With this data make request exec_cmd to execute necessary command. The field "param" for Garmin route command has format below:

{
   "n":"route name",
   "w":[
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      },
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      }
   ]
}
3

send route to garmin device

Re: send route to garmin device

muev wrote:
samir.agile wrote:

How to send route to garmin device using APIs ?

If the command already created for unit send request to get command's info with request core/search_items and next parameters "itemsType": "avl_unit" and "flags": 513 (0x201 in HEX). In response you will see command name, access level, link type, command type. With this data make request exec_cmd to execute necessary command. The field "param" for Garmin route command has format below:

{
   "n":"route name",
   "w":[
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      },
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      }
   ]
}

in this param what is "n" and "c" ?

4

send route to garmin device

Re: send route to garmin device

muev wrote:
samir.agile wrote:

How to send route to garmin device using APIs ?

If the command already created for unit send request to get command's info with request core/search_items and next parameters "itemsType": "avl_unit" and "flags": 513 (0x201 in HEX). In response you will see command name, access level, link type, command type. With this data make request exec_cmd to execute necessary command. The field "param" for Garmin route command has format below:

{
   "n":"route name",
   "w":[
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      },
      {
         "n":"point name",
         "lat":"latitude",
         "lon":"longitude",
         "c":"address"
      }
   ]
}

To send route to garmin which command we need to use? Do we need to create custom for garmin(if yes, please explain where we need to configure).
And can you please define what is point name and address in above params ?

5

send route to garmin device

Re: send route to garmin device

samir.agile wrote:

To send route to garmin which command we need to use? Do we need to create custom for garmin(if yes, please explain where we need to configure).
And can you please define what is point name and address in above params ?

If the device type support command with type "send_route" then you can create it. Point name it's just your name of this point. For example, can be "Home" or "Work". Address it's string with point address.

6

send route to garmin device

Re: send route to garmin device

muev wrote:
samir.agile wrote:

To send route to garmin which command we need to use? Do we need to create custom for garmin(if yes, please explain where we need to configure).
And can you please define what is point name and address in above params ?

If the device type support command with type "send_route" then you can create it. Point name it's just your name of this point. For example, can be "Home" or "Work". Address it's string with point address.

If the device type support command with type "send_route" then you can create it.

Can you please explain this in more detail above point? Didn't get exactly

7

send route to garmin device

(edited by yavi 12/03/2019 13:32:23)

Re: send route to garmin device

samir.agile At first Garmin FMI interface should be supported by tracking device. After that all these features should be implemented in Wialon.
For example it's useless to send command to Garmin via Personal tracker because there is no any connection between tracker and Garmin.
The list of trackers which support Garmin you can find on our website using "Garmin" filter.
For most of these devices there is "send_route" command.

Viktor Yarovenko
Business Analyst
Wialon