JNI interface for pcduino