Skip to Main Content

Embedded Technologies

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[ERROR] [DAAPI] iso=-1:There is unexpected error, when open GPIO pin

Ashok449Dec 18 2015 — edited Dec 21 2015

Hello All,

I'm working on Raspberry Pi with Java ME 8.1 and I want to use GPIO pin 17

        try {

            pin = (GPIOPin) DeviceManager.open(17);

        } catch (IOException ex) {

            Logger.getLogger(PiGPIOled.class.getName()).log(Level.SEVERE, null, ex);

            return false;

        }

I have give all API permissions, But When I run  midlet I see error:

[ERROR] [DAAPI] iso=-1:There is unexpected error, when open GPIO pin 17

Currently I have not connected anything to GPIO 17 pin, is this is the problem?

Some of the links suggested to run usertest.sh, when i tried that I see java running and few people mentioned it worked for them wonder how ?

Thanks,

Ashok

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2016
Added on Dec 18 2015
8 comments
2,202 views