mirror of
https://github.com/OpenMTC/OpenMTC.git
synced 2025-01-02 19:26:50 +00:00
10 lines
222 B
Python
10 lines
222 B
Python
|
# 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
|