// initial job static void initfunc (osjob_t* j) { // reset MAC state LMIC_reset(); // start joining LMIC_startJoining(); // init done - onEvent() callback will be invoked... }
// initial job static void initfunc (osjob_t* j) { // intialize sensor hardware initsensor(sensorfunc); // reset MAC state LMIC_reset(); // start joining LMIC_startJoining(); // init done - onEvent() callback will be invoked... }