1

Export to WLP - Unit

Topic: Export to WLP - Unit

I'm trying to export to WLP by choosing following option

1. Export From as "Unit"
2. export option as "General properties"

and getting the following content in the WLP file.

{"general":{"hw":"Wialon IPS","n":"Unit Name","ph":"","ph2":"","psw":"","uid":"","uid2":""},"mu":0,"type":"avl_unit","version":"b4"}

Which API you are using to read hw vaue "Wialon IPS". I have tried to get that value using the below API, but no use.

{"svc":"core/search_item","params":{"id":*****,"flags":9007199254740991}}

Thanks
J Prabhu
2

Export to WLP - Unit

Re: Export to WLP - Unit

Try this

{"svc":"core/search_item","params":{"id":****,"flags":257}}
Nishad Hussain Kaippally
Implementation Specialist, Middle East, Gurtam

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

Export to WLP - Unit

Re: Export to WLP - Unit

In the result I'm getting hardware type ID as "96266", but I'm expecting string value ("Wialon IPS").

"hw":<long>,    /* hardware type */

Thanks
J Prabhu
4

Export to WLP - Unit

Re: Export to WLP - Unit

prabhu.janakiraman, use this request https://sdk.wialon.com/wiki/en/sidebar/ … t_hw_types
to to get hw name by it's id.

Head of Wialon Local Department
Gurtam