Exemplo n.º 1
0
int main(int argc, const char * argv[]) {
    // insert code here...
    initAccessorySet();
    setupPort();

    PHKNetworkIP networkIP;
    do {
        networkIP.handleConnection();
    } while (true);
    return 0;
}
Exemplo n.º 2
0
int main(int argc, const char * argv[]) {
    
#if PowerOnTest==1
    printf("poweron: %d\n", poly1305_power_on_self_test());
#endif
    
    // insert code here...
    if (argc > 1) {
	//If there's some argument
	//Currently means reset
	resetControllerRecord();
    }

    initAccessorySet();
    //setupPort();

    PHKNetworkIP networkIP;
    do {
        networkIP.handleConnection();
    } while (true);
    return 0;
}