Cannot find com.cinterion.io.file.* on EHS6 | Telit Cinterion IoT Developer Community
March 24, 2015 - 9:07pm, 5310 views
Hi...
I'm currently porting my EGS5 code to the EHS6. However, the compiler refuses to find com.cinterion.io.file.* ("package does not exist"). This means that I cannot use FileConnection. etc.
Also ATCommand cannot be found at its usual location (com.cinterion.io.*).
I'm using Netbeans 7.2.
In my EHS6 project configuration I am configured as a "IMP_NG_EHS5" device. My device configuraiton is "CLDC-1.1" and my device profile is "IMP-NG". I have ticked the following optional packages: Cinterion Classes 1.0, Java Crypto..., PDA Optional Packages..., XML API for Java...
The project abilities are: CLDC, CWM, IMPNG, JSR280, JSR75 and SATSACRYPTO
Can anyone tell me what I'm doing wrong here.
many thanks
Liam
OK, I managed to find FileConnection in javax.microedition.io.file.*;
however, I cannot seem to get access to the AT related stuff such as ATCommand. The compiler does not see these classes as being in com.cinterion.io.*
The IMP-NG documentation supplied with the EHS5 SDK suggests that the classes should be there.
Hello,
One of the differences to EGS5 is that the javax.microedition.io.file.FileConnection is now used but the API is the same and the behaviour also nearly the same.
To use the AT commands you need to add the cwmlib library to Libraries & Resources in the project properties.
You will find it in "\Cinterion\CMTK\EHS5\WTK\resources".
Best regards,
Bartłomiej
Thank you Bartłomiej. I found this out just as you were writing. For the record, here is the section from the Java Users Guide: