No access to Java StartStopPulseCounter | Thales IoT Developer Community
May 30, 2016 - 1:40pm, 1307 views
Hi,
I want to use the StartStopPulseCounter in Java with the EHS8. I've created a midlet with the following startApp:
public void startApp() {
try {
System.out.println("start counter app" + "\r");
StartStopPulseCounter pulseCounter;
pulseCounter = new StartStopPulseCounter();
pulseCounter.start();
} catch (IOException ex) {
ex.printStackTrace();
}
}
This results in the following error message:
java.io.IOException: GPIO MAN not letting take HW resource
I have no other running Java applications and removed all previous installed ones. Do I have to make additional settings with AT commands?
regards,
Kai Barkmann
I have found the solution: The GPIO **** is standard set to gpio instead of std:
AT^SCFG="GPIO/****/PULSE","std"