예제 #1
0
    void init() {
        //router.addGateway(&gateway1);
        //router.addGateway(&gateway2);

#ifdef USE_UART_CONN
        gatewayUart.resetTopicsToForward();
        gatewayUart.addTopicsToForward(&counter1,&counter2);

        router.addGateway(&gatewayUart);
#endif

    }