JObexFTP from Ricardo Schmidt
December 20, 2009 — Florent ClairambaultRicardo 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 applications. I can already see this one to help you deploy programs and files locally and my SMSOTAP to help you deploy programs remotely.
Here is the email Ricardo Schmidt sent me :
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
communication. - 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
contents)
TODOs:
- 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)
- Multilanguage
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,
Ricardo Schmidt

