• params: device id (string).
  • return: an array of items (table) or nil in a case of an error.