/* * Xnode Base */ #include #include #include #include #include void setup() { // Build system modules XSystem.registrateSystemModule(&XBNetwork); XSystem.registrateSystemModule(&XBRadio); // Init system modules XSerial.begin(); XSystem.begin(&XBHardware); XBHardware.begin(); XBNetwork.begin(); XBRadio.begin(); // Mark device booted XSystem.bootDone(); } void loop() { XSerial.loop(); XSystem.loop(); XBHardware.loop(); XBNetwork.loop(); XBRadio.loop(); }