OpenMTC/doc/training/onem2m-examples/onem2m-example-13.py

10 lines
222 B
Python
Raw Normal View History

2017-11-07 13:41:38 +00:00
# Example 13: Minimal application
from openmtc_app.onem2m import XAE
class MyAE(XAE):
# when this is called the application is registered
# and can start doing something
def _on_register(self):
pass