July 2016
Intermediate to advanced
300 pages
6h 49m
English
mod_example has been written to be, huh, an example, so I tried to stuff in it many useful features, in the simplest way. You can use it as a base, adding and subtracting features:
mod_example.c code layout:
example_load, example_runtime, example_shutdown)globals) we'll use to keep state and configurationexample_on_state_change) we'll execute when channel state changesexample_state_handler) describing which function to execute at which state changeexample_on_state_change) we'll execute when channel state changesdo_config) we use to read values from config file and initialize ...Read now
Unlock full access