AMX official examples map: from wait_for to greeter
Grow through practice
No need to finish reading — test nowThere are many official examples; do not read one big pile. One article per example, smallest first.
The map
| Example | Size | Article |
|---|---|---|
baapi/wait_for | 1 C, no ODL | 01 wait_for |
datamodel/amx-scheduler | 2 C + 2 ODL | 02 amx-scheduler |
datamodel/cpu-info | 8 C + 3 ODL | 03 cpu-info |
datamodel/greeter_app | 6 C + 4 ODL | 04 greeter_app |
datamodel/localagent_threshold | many C + 3 ODL | 05 localagent_threshold |
| ODL parsing (using 02) | mechanism | ODL parsing (1) |
| %config parsing | mechanism | %config parsing |
| ODL parsing (2): greeter | bigger ODL | ODL parsing (2) |
| ODL reference handbook | syntax/attributes | ODL reference |
datamodel/greeter_plugin | 4 C + 4 ODL | 06 greeter_plugin |
datamodel/wifi-scheduler | 3 C + 3 ODL | coming |
datamodel/ssh-server | many C + 5 ODL | coming |
collections/llist_contacts etc. | 2 C + data | coming |
baapi/async_call / subscribe | small | coming |
webui/webui | frontend | coming |
Recommended order
- wait_for: runtime/bus only, 1 C;
- amx-scheduler: minimal data model, 2 C + 2 ODL;
- cpu-info: read-only/instances/actions, 8 C;
- greeter_plugin: instances/history/persistence/events;
- greeter_app: embed in an existing event loop;
- localagent_threshold: a real TR-181 object.
compile/test on the AMX base environment
The full environment setup, ubusd + provider + example run, is in 01 wait_for's compile/test on the AMX base environment.
One sentence
Run the smallest first, read the biggest last; each example teaches one thing. One article per example keeps the concepts from colliding.
Series: AMX Official Examples (individual articles) · this page is the map.
Comments 0
No comments yet — be the first!