query data from device server