No access to Java StartStopPulseCounter | Telit Cinterion IoT Developer Community
May 30, 2016 - 1:40pm, 1668 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 mode is standard set to gpio instead of std:
AT^SCFG="GPIO/mode/PULSE","std"