A quick orientation to the C API. The full reference — every file, struct, function and macro — is under Files and Data Structures.
The application initializes the HAL, configures the FSM and enters the main execution loop.
Everything else — sensor sampling, packet routing, logging, downlink — is driven from the FSM (fsm.h) through the publish/subscribe core (pubsub.h).