doc: Mention ping() in NDSP tutorial

This commit is contained in:
architeuthis 2024-06-27 10:42:18 +08:00 committed by Sebastien Bourdeauducq
parent 114084b12e
commit 23444d0c03

View File

@ -129,6 +129,13 @@ Now it can be added using ``self.setattr_device("hello")`` in the ``build()`` ph
self.hello.message("Hello world!") self.hello.message("Hello world!")
.. note::
In order to be correctly started and stopped by a controller manager, your controller must additionally implement a ``ping()`` method, which should simply return true, e.g. ::
def ping(self):
return True
Remote execution support Remote execution support
------------------------ ------------------------