1

Driver Image

Тема: Driver Image

Hi All,
I am trying to get the image from a driver, the API documentation seems to be a little bit vague how to achieve this.
https://sdk.wialon.com/wiki/en/sidebar/ … iver_image
First of all, what should be the request ID to be specified in the URL?

http://{host}/avl_driver_image/<rid>/<did>/<max_border>/<any.png>

I tried using Resource ID in place of rid and it returned 404.

http://{host}/avl_driver_image/12345678/3/32

Any help would be appreciated, thanks in advance.

2

Driver Image

Re: Driver Image

m-ram, just add "/<whatever>.png".

Head of Wialon Local Department
Gurtam
3

Driver Image

(28/05/2017 09:57:40 отредактировано kaippally)

Re: Driver Image

The  format is the following

https://dev-api.wialon.com/avl_driver_image/<resource_id>/<driver_id>/<size in pixels>/img.png

for example

https://dev-api.wialon.com/avl_driver_image/14506958/95/2/img.png
Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

"Computer science is no more about computers than astronomy is about telescopes."
4

Driver Image

Re: Driver Image

m-ram, kaippally, just one note:
you can pass "ck" driver's value instead of "whatever". This method allows browser to show cached icon until it was changed and will prevent showing cached image in case of image changed.
"ck" driver's propery is a counter of icon changes.

Head of Wialon Local Department
Gurtam
5

Driver Image

Re: Driver Image

.