Topic: Flags incorrect in docs?
I'm looking here: https://sdk.wialon.com/wiki/en/sidebar/ … properties
This is my request:
$params = json_encode(array(
"spec" => array(
"itemsType" => "avl_unit",
"propName" => "sys_id",
"propValueMask" => "*",
"sortType" => "sys_id"
),
"force" => 1,
"flags" => 257,
"from" => 0,
"to" => 0
));
$svc = "core/search_items";
I'm getting back nm, cls, id, mu, act, dactt, and uacl. I think act and dactt are the 2 that come from the 256 flag which is the one I wanted to use to get the hardware type.
Am I doing something wrong or are the docs wrong?