Compiling Java examples in to CDP
- This topic has 2 replies, 3 voices, and was last updated 13 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Compiling Java examples in to CDP
Tagged: Compile Java
How would you convert these Java apps in to CDP compiled apps?
ftp://ftp.matrixelectronica.eu/MTX-Terminals/Java%20examples/
examples are for:- send a SMS when GPIO changes, PPP conection with Java APIs, GPS location procedures
They are currently for Cinterion modules.
The CDP has java support using jamvm (which provides the java virtual machine). In general, one should be able to compile the apps into a jar file, copy it to the CDP and execute it.
It’s not as easy as posted before.
The examples are builded based on Cinterion library for AT command sending.
For instance, you should replace AT calling functions with a custom library that links to Multitech AT parser microcom
Likely, other classes adaptations would be necessary, for Unsolicited Codes (URC), COM classes, etc.