Topic: send route to garmin device
How to send route to garmin device using APIs ?
How to send route to garmin device using APIs ?
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"
}
]
}
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" ?
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 ?
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.
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
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.