• params: device id (string), ready (bool).
  • return: none.