WARNING: All the Cinterion related content from this blog will be removed to go to the javacint wiki soon. Please get used to going there.
Ricardo Schmidt made a great multi-platform TC65 control and file management tool called JOBextFTP. This can be used for anyone whose Module Exchange Suite (MES) doesn’t work or doesn’t work correctly.
The biggest effort is put on managing the OBEX file transmission protocol, but it also does offer some simple methods that can be integrated in your development process, like “turnOn”, “turnOff”, “getTime”, “runApp”.
I’m really sorry but I didn’t take the time to test it as I’m currently not making some TC65 development. But it looks very operational to me.
Maybe I should start a list of useful TC65 softwares. I can already see this one to help you deploy programs and files locally and my SMSOTAP to help you deploy programs remotely.
Update: JObexFTP 2.4
Thu, Feb 24, 2011 at 00:51
You recieved this email due your interest in JObexFTP.
JObexFTP have new cool features!
Now we can:
* move files and folder with mv command
* change mode of files and folder with chmod command
* see the total disk space and the free space.
Checkout the changelog from the past 2 releases:
* Added disk information in about command
* Added move (mv) operation
* Added change mode (chmod) operation
* Improved ObexClose.
* Improved estability.
* Faster operations.
* Code clean up.
* Fixed getContents of binary OBEXFile
Thank you for the attention!
Update: New interface
Sat, Jan 29, 2011 at 08:12
You received this email due your interest in JObexFTP.
New utilities: emulator and cmd_autoexec_off.sh
New TC65SH UI: An improved user interface based on TC65SH 1.2.0
Makefile: just type `make && sudo make install` and call it by
`jobexftp` from anywhere in your linux. (It also installs the rxtxlib)
Using JObexFTP emulator with your IDE your going to send files to
module, execute and follow their output, all in the IDE. Stack Traces
are automatically parsed by IDE and shown in a programmer friendly way.
Check out attached screen shot.
JObexFTP emulator also turns on your device if is not yet, and attempts
to leave data mode if no response to at commands (just using echo and
binaries, libraries and sources available to download in github
Any feature request, issues, experiences or improvements with JObexFTP
please contact me, I will be pleased in have your feedback.
Thank you for the attention,
Ricardo Guilherme Schmidt
Update : JObexFTP version 2.0
Ricardo Schmidt sent an other mail about his project on the javacint group, on Oct 22, 2010 at 14:51 :
I've just released JOBEXFTP 2.0 (beta), which brings tons of
improvements from last version due total refactoring of code. Its
better then never, check out sources!
Now the transfers are stable and 60% much faster. If you are a maniac
object oriented programmer, you going to love it, since it follow many
project patterns as listeners, notify, encapsulation.
The program API is a truly Java library, with easy Obex FTP calls.
Full information available in project README.
The project is released under LGPL and need your feedback.
Here is the email Ricardo Schmidt sent me on the 17 December 2009 :
I modified and formated some parts of the original mail.
With Ondrej ObexTool sources, that I met through your blog, I made up a new tool (think OO). So I made a library to help developers make multiplatform easy communication with TC65 and simmilar modules.
I'm already using it in a desktop configuration program for my M2M application and it just works great.
It have some TODOs and maybe some bugs, but it have a nice object oriented programming. Also I abused of the exceptions, becouse this project is not just an application, but also a library. You can use it to develop your configurator programs, its very easy to do with it.
The code is fully in english, but in future I pretend make it multilanguage. For now it just garantees that TC65 is going to work with it, but I belive TC65i and XT75 should work as TC65, since it under the same AT "platform".
Some nice features in the library :
- Auto turns on/off the module
- If for some previous crash it stayed in DATAMODE, it sends the +++
until it get the COMMANDMODE again.
- You can choose for seeing verbose messages and for seeing the AT
- You can send a String as a file to the module.
- You recieve a file as a String from module (since writing a file is easy).
- Working in windows platf (under test)
Some nice features in the application :
- Argument configurable on/off module, verbose and show atcomand.
- Download, upload and list files just in one connection (no limit) ex.: jobexftp /dev/ttyACM0 -u arq1.ext arq2.ext arq3.ext arq4.ext -l -d filetodown.ext -V -A
- Option to just stdout the file. (sometimes we just need to see the
- Documentation (kinda important)
- Auto run jars (in library is ready, just for app)
- Choose folder to send the file (easy task)
- MacOSX adaption (maybe its already working, I dont have any macs to test)
The listing comes in the XML from library, I think that this should be treated just in the applications, since the xml is very good for programming analyse.
Hope you like it.
You can get the latest sources from project kenai : http://www.kenai.com/projects/jobexftp
Kenai is NetBeans integrated, and it uses subversion. This project is opensource under GPL (application) and under LGPL (library).
Thank you for the attention,
Here is an other message Ricardo sent on the 18 March 2010 :
Due to the kenai closing, and to have the best control version system, JObexFTP have moved to github.com.
Now we can manage projects better with git control version. If you dont know Git, you should!
The Kenai's JObexFTP will be closed soon, the repository is already deleted.
Note: The old JObexFTP versions are lost due to new commit.
Please consider joining my project.
What is JObexFTP?
Its a fully opensource library (and application) to transfer files from/to obex server.
You can use it in any J2SE application to enable java communication to module without third party app. You can also use it as a MES in unsupported cinterion plataforms like Linux.
For now it just supports cinterion modules due to ATCommand spec.
It needs RxTx library to have the serial communication.
Now we have fully OO obex objects (files/folders).
The downloading files is speeded up.
Human readable folder listing
Deleting multiple files is buggy and needs reconnection. (Its also buggy in windows MES, but here is a way more buggy)
In Windows sometimes it takes more time to have obex ready to read folder listing (I hate you microsoft)