[−][src]Function app::main
#[no_mangle]
extern "C" fn main() -> !
Main program that initialises the sensor, network driver and starts reading and sending sensor data in the background. main() will be called at Mynewt startup. It replaces the C version of the main() function.