• params: child device id (string).
  • return: device_id (string) or nil in a case of an error.