← All posts

AMX official examples map: from wait_for to greeter

Grow through practice

No need to finish reading — test now

There are many official examples; do not read one big pile. One article per example, smallest first.

The map

ExampleSizeArticle
baapi/wait_for1 C, no ODL01 wait_for
datamodel/amx-scheduler2 C + 2 ODL02 amx-scheduler
datamodel/cpu-info8 C + 3 ODL03 cpu-info
datamodel/greeter_app6 C + 4 ODL04 greeter_app
datamodel/localagent_thresholdmany C + 3 ODL05 localagent_threshold
ODL parsing (using 02)mechanismODL parsing (1)
%config parsingmechanism%config parsing
ODL parsing (2): greeterbigger ODLODL parsing (2)
ODL reference handbooksyntax/attributesODL reference
datamodel/greeter_plugin4 C + 4 ODL06 greeter_plugin
datamodel/wifi-scheduler3 C + 3 ODLcoming
datamodel/ssh-servermany C + 5 ODLcoming
collections/llist_contacts etc.2 C + datacoming
baapi/async_call / subscribesmallcoming
webui/webuifrontendcoming
  1. wait_for: runtime/bus only, 1 C;
  1. amx-scheduler: minimal data model, 2 C + 2 ODL;
  1. cpu-info: read-only/instances/actions, 8 C;
  1. greeter_plugin: instances/history/persistence/events;
  1. greeter_app: embed in an existing event loop;
  1. 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.

Practice

Found this useful?

I write about AI agents × embedded / edge AI. Subscribe, or email me a concrete problem.

Guestbook →Subscribe (RSS)Support

Comments 0

No comments yet — be the first!

No login required; name is optional.