<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Florent Clairambault &#187; Cinterion</title>
	<atom:link href="http://florent.clairambault.fr/tag/cinterion/feed" rel="self" type="application/rss+xml" />
	<link>http://florent.clairambault.fr</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 19:56:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
		<item>
		<title>Cinterion development materials removed</title>
		<link>http://florent.clairambault.fr/cinterion-development-material-removed?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cinterion-development-material-removed</link>
		<comments>http://florent.clairambault.fr/cinterion-development-material-removed#comments</comments>
		<pubDate>Thu, 13 Jan 2011 21:18:32 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[TC65]]></category>
		<category><![CDATA[TC65 tools]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=3248</guid>
		<description><![CDATA[Hi the Cinterion community, Cinterion France asked me to remove all the Cinterion TC65 / TC65i development materials I published on my blog. The good news is you can contact the Cinterion office of your country and sign a NDA to get the latest version of their manuals and SDK.]]></description>
			<content:encoded><![CDATA[<p>Hi the Cinterion community,</p>
<p>Cinterion France asked me to remove all the Cinterion TC65 / TC65i development materials I published on my blog. The good news is you can contact the Cinterion office of your country and sign a <a href="http://en.wikipedia.org/wiki/Non-disclosure_agreement">NDA</a> to get the latest version of their manuals and SDK.</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/cinterion-development-material-removed/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>TC65SH for Cinterion TC65/TC65i development</title>
		<link>http://florent.clairambault.fr/tc65sh-for-cinterion-tc65-tc65i-development?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tc65sh-for-cinterion-tc65-tc65i-development</link>
		<comments>http://florent.clairambault.fr/tc65sh-for-cinterion-tc65-tc65i-development#comments</comments>
		<pubDate>Mon, 10 Jan 2011 19:57:10 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=3219</guid>
		<description><![CDATA[Hi the TC65 community, There&#8217;s a new software in town, after JOBexFTP from Ricardo Schmidt, Christoph Vilsmeier decided to create the TC65SH tool which apparently does the same thing but faster. Best regards, Here is the mail that brouht the good news: Hello Florent, I&#8217;ve done some TC65 development recently and found your site very [...]]]></description>
			<content:encoded><![CDATA[<p>Hi the TC65 community,</p>
<p>There&#8217;s a new software in town, after <a href="http://florent.clairambault.fr/jobexftp-from-ricardo-schmidt">JOBexFTP from Ricardo Schmidt</a>, <a href="http://www.vilsmeier-consulting.de/">Christoph Vilsmeier</a> decided to create the <a href="http://www.vilsmeier-consulting.de/tc65sh.html">TC65SH</a> tool which apparently does the same thing but faster.</p>
<p>Best regards,</p>
<hr />
Here is the mail that brouht the good news:</p>
<div style="border: 1px solid gray; background-color: #eef; padding: 5px; text-align: justify">
Hello Florent,</p>
<p>I&#8217;ve done some TC65 development recently and found your site very helpful, especially your articles about TC65 development. Thank you for that!</p>
<p>I ran into some problems with the Cinterion SDK, especially the Module Exchange Suite (MES). Basically, it didn&#8217;t work for me. Cinterion support told us that MES doesn&#8217;t work on Windows 7 and they are working on a solution, well&#8230; (I tried it on WindowsXP too. There, it worked better but was still very unreliable.)</p>
<p>In the meantime, I checked out JObexFTP from Ricardo Schmidt, which I found via your blog. That tool did help me quite a lot, as it let me (after fixing it a little bit) upload files to the device via a USB-serial port adapter. But i missed an interactive mode. And I wasn&#8217;t too happy about the fact that for each file upload or download, JObexFTP does a complete connect-upload-disconnect cycle, which I found was pretty time-consuming.</p>
<p>Inspired by JObexFTP, I started to write my own Java tool for communicating with a Siemens/Cinterion TC65 device: TC65SH lets you upload, download and delete files, navigate the directory structure of the device, create and remove directories and completely erase the device&#8217;s flash memory.<br />
The program provides both an interactive command line (like a unix shell or a Windows command prompt) and a batch-processing function, which makes for easy integration into development build scripts.</p>
<p>I wanted to let you know that TC65SH is available free and Open Source from my web page at:</p>
<p>http://www.vilsmeier-consulting.de/tc65sh.html</p>
<p>Thank you for your attention and thank you for your great site.</p>
<p>Christoph Vilsmeier
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/tc65sh-for-cinterion-tc65-tc65i-development/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>TC65FM : TC65 Fast Manager</title>
		<link>http://florent.clairambault.fr/tc65fm-tc65-fast-manager?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tc65fm-tc65-fast-manager</link>
		<comments>http://florent.clairambault.fr/tc65fm-tc65-fast-manager#comments</comments>
		<pubDate>Wed, 21 Jul 2010 20:00:02 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[TC65]]></category>
		<category><![CDATA[TC65 tools]]></category>
		<category><![CDATA[TC65FM]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=2919</guid>
		<description><![CDATA[I did this program because I had to reprogram some chips without a working MES deployment environment. I could deploy the TC65 program on a server but not upload it on the chip. And then I thought it could do a nice application for all the people deploying TC65 programs in a production environment. What [...]]]></description>
			<content:encoded><![CDATA[<p>I did this program because I had to reprogram some chips without a working MES deployment environment. I could deploy the TC65 program on a server but not upload it on the chip. And then I thought it could do a nice application for all the people deploying TC65 programs in a production environment.</p>
<p>What this program basically does is to respond to &#8220;^SYSSTART&#8221; messages coming from the TC65 chip to launch an OTAP update and/or launch the program. But in the details it does a little bit more as it can auto-detect the port of the chip.</p>
<p>Some of the features might not be working great or even not working at all. The program will be improved with the time, my testings and your comments but it&#8217;s currently used for my own needs.</p>
<p><strong>You can <a href="http://florent.clairambault.fr/downloads/tc65fm.exe">download it</a>.</strong></p>
<p>Here is the &#8220;-h&#8221; output :</p>

<div class="wp_codebox"><table><tr id="p29196"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code" id="p2919code6"><pre class="sh" style="font-family:monospace;">TC65FM 0.1 - Fast Manager - Copyright WebIngenia 2010
&nbsp;
 -b  --behavior &lt;behavior&gt;     Behavior, can be : 
       i  / install              Install only
       r  / run                  Run only
       ri / run-and-install      Run and install
       n  / none                 Nothing
 -na --net-apn &lt;apn&gt;           Network APN
 -nu --net-user &lt;user&gt;         Network User
 -np --net-password &lt;password&gt; Network password
 -nd --net-dns &lt;dns&gt;           Network DNS
 -au --application-url &lt;url&gt;   Application url
 -sA --serial-autodetect       Serial auto-Detect
 -sp --serial-port &lt;port&gt;      Serial port (default: COM4)
 -ss --serial-speed &lt;speed&gt;    Serial speed (defau:t 9600)
 -tp --target-program          Target program
 -ni --no-ipr                  Desactivate IPR command (not recommended)
 -ae --autostart-enable        Enable autostart
 -ad --autostart-disable       Disable autostart
 -at --autostart-time          Time before autostart
 -pc --password-current        Current password
 -pn --password-next           Next password
 -h  --help                    This help</pre></td></tr></table></div>

<p>There&#8217;s also a &#8220;network autodetection&#8221; feature which is in a very early stage. So if you want to test it you can using the &#8220;-nA&#8221; option (but you shouldn&#8217;t).</p>
<p>Let&#8217;s say you want to automatically install the program each time a chip (configured with a serial baudrate of 9600) connects to the COM4 port :</p>

<div class="wp_codebox"><table><tr id="p29197"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p2919code7"><pre class="bash" style="font-family:monospace;">tc65fm <span style="color: #660033;">-sp</span> COM4 <span style="color: #660033;">-ss</span> <span style="color: #000000;">9600</span> <span style="color: #660033;">-na</span> <span style="color: #ff0000;">&quot;m2minternet&quot;</span> <span style="color: #660033;">-nu</span> <span style="color: #ff0000;">&quot;http://webingenia.com/myPath/myApp.jad&quot;</span> <span style="color: #660033;">-tg</span> <span style="color: #ff0000;">&quot;a:/wim2msoft.jad&quot;</span></pre></td></tr></table></div>

<p>The program creates two types of log files. One for the complete running time and one for each communication with the chip occuring after a restart (and the identification of the chip by its IMEI).</p>
<p>Here is the logs of what you should get at each chip startup with this app :</p>

<div class="wp_codebox"><table><tr id="p29198"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code" id="p2919code8"><pre class="txt" style="font-family:monospace;">TC65FM v0.1 - Copyright Webingenia - www.webingenia.com
2010-07-17 09:43:25.682 | &lt;-- AT
2010-07-17 09:43:25.733 | --&gt; AT
2010-07-17 09:43:25.748 | --&gt; OK
2010-07-17 09:43:25.766 | &lt;-- AT+IPR=9600
2010-07-17 09:43:25.828 | --&gt; AT+IPR=9600
2010-07-17 09:43:25.829 | --&gt; OK
2010-07-17 09:43:25.847 | &lt;-- AT+CFUN=1,1
2010-07-17 09:43:25.908 | --&gt; AT+CFUN=1,1
2010-07-17 09:43:26.932 | --&gt; OK
2010-07-17 09:43:30.164 | --&gt; ^SYSSTART
2010-07-17 09:43:30.169 | &lt;-- AT+CGSN
2010-07-17 09:43:30.228 | --&gt; AT+CGSN
2010-07-17 09:43:30.292 | --&gt; 353234023540741
2010-07-17 09:43:30.292 | --&gt; OK</pre></td></tr></table></div>


<div class="wp_codebox"><table><tr id="p29199"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code" id="p2919code9"><pre class="txt" style="font-family:monospace;">TC65FM v0.1 - Copyright Webingenia - www.webingenia.com
2010-07-17 09:43:31.174 | &lt;-- ATE1
2010-07-17 09:43:31.236 | --&gt; ATE1
2010-07-17 09:43:31.253 | --&gt; OK
2010-07-17 09:43:31.256 | &lt;-- AT^SJOTAP=,http://webingenia.com:8080/myPath/myApp.jad,a:,,,gprs,m2minternet,,,,,,
2010-07-17 09:43:31.413 | --&gt; AT^SJOTAP=,http://webingenia.com:8080/myPath/myApp.jar,a:,,,gprs,m2minternet,,,,,,
2010-07-17 09:43:31.461 | --&gt; OK
2010-07-17 09:43:31.477 | &lt;-- AT^SJOTAP
2010-07-17 09:43:31.540 | --&gt; AT^SJOTAP
2010-07-17 09:43:31.573 | --&gt; OK
2010-07-17 09:43:31.578 | &lt;-- AT^SCFG=&quot;Trace/Syslog/OTAP&quot;,&quot;1&quot;
2010-07-17 09:43:31.668 | --&gt; AT^SCFG=&quot;Trace/Syslog/OTAP&quot;,&quot;1&quot;
2010-07-17 09:43:31.685 | --&gt; SYSLOG ENABLED
2010-07-17 09:43:47.622 | --&gt; [OTAP] GPRS connection established.
2010-07-17 09:43:47.702 | --&gt; [OTAP] Try to get http://webingenia.com:8080/myPath/myApp.jad ...
2010-07-17 09:43:51.812 | --&gt; [OTAP] Connected.
2010-07-17 09:43:51.861 | --&gt; [OTAP] Transfer finished.
2010-07-17 09:43:51.941 | --&gt; [OTAP] Try to get http://webingenia.com:8080/myPath/myApp.jar ...
2010-07-17 09:44:01.781 | --&gt; [OTAP] Connected.
2010-07-17 09:44:02.340 | --&gt; [OTAP] Transfer finished.
2010-07-17 09:44:05.541 | --&gt; [OTAP] JAM status: 900 Success.
2010-07-17 09:44:11.524 | --&gt; [OTAP] Reboot now.
2010-07-17 09:44:11.540 | --&gt; ^SYSSTART
2010-07-17 09:44:11.544 | &lt;-- AT+CGSN
2010-07-17 09:44:11.605 | --&gt; AT+CGSN
2010-07-17 09:44:11.652 | --&gt; 353234023540741
2010-07-17 09:44:11.668 | --&gt; OK</pre></td></tr></table></div>


<div class="wp_codebox"><table><tr id="p291910"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code" id="p2919code10"><pre class="txt" style="font-family:monospace;">TC65FM v0.1 - Copyright Webingenia - www.webingenia.com
2010-07-17 09:44:12.048 | &lt;-- AT^SJRA=a:/secretApp.jad
2010-07-17 09:44:12.132 | --&gt; AT^SJRA=a:/secretApp.jad
2010-07-17 09:44:12.389 | --&gt; OK
2010-07-17 09:44:13.652 | --&gt; WIM2MSoft
2010-07-17 09:44:14.036 | --&gt; Thread-5 : [1/7] Initiating...
2010-07-17 09:44:14.534 | --&gt; Thread-5 : [2/7] Loading settings...
2010-07-17 09:44:15.126 | --&gt; Thread-5 : [3/7] main AT Command interface...
2010-07-17 09:44:15.222 | --&gt; Thread-5 : [4/7] Loading SMS Management...
2010-07-17 09:44:15.510 | --&gt; Thread-5 : [5/7] Checking SIM card...
2010-07-17 09:44:20.676 | --&gt; Thread-5 : [6/7] Loading M2MP network communication...
2010-07-17 09:44:21.908 | --&gt; Thread-5 : [7/7] Loading the main program...
2010-07-17 09:44:32.485 | --&gt; nwr : NetworkLayer.Connect : Could not connect to 84.14.33.44:3000 ex : class javax.microedition.io.ConnectionNotFoundException :  Remote host has rejected the connection.
2010-07-17 09:44:53.845 | --&gt; nwr : NetworkLayer.Connect : Could not connect to 84.14.33.44:3000 ex : class javax.microedition.io.ConnectionNotFoundException :  Remote host has rejected the connection.</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/tc65fm-tc65-fast-manager/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A little TC65 development document</title>
		<link>http://florent.clairambault.fr/tc65dev-document?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tc65dev-document</link>
		<comments>http://florent.clairambault.fr/tc65dev-document#comments</comments>
		<pubDate>Sun, 13 Jun 2010 16:47:19 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=2785</guid>
		<description><![CDATA[During the last months I spent some time writing a document on the TC65 development. It is primary aimed at TC65 project managers and developers. This document can be considered as a draft and I&#8217;m waiting for any of your comments to fix / improve / complete it. It&#8217;s currently 40 pages long. Here is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://i.mivi.fr/85978f19836fda42f7bc43e25d1c05e80ca0e15f.x.300.png" style="position: relative; float: right; margin-left: 10px" /></p>
<p>During the last months I spent some time writing a document on the TC65 development. It is primary aimed at TC65 project managers and developers.</p>
<p>This document can be considered as a draft and I&#8217;m waiting for any of your comments to fix / improve / complete it. It&#8217;s currently 40 pages long.</p>
<p>Here is <a href="http://www.webingenia.com/static/doc/TC65Dev.pdf">the document</a>. I also added it to our <a href="http://webingenia.com/cinterion-tc65i">Cinterion TC65i page on our website</a>.</p>
<p><strong>Oct 10, 2010 : Update</strong><br />
I updated the document to speak about libraries and fixed some few things.</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/tc65dev-document/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>JObexFTP from Ricardo Schmidt</title>
		<link>http://florent.clairambault.fr/jobexftp-from-ricardo-schmidt?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jobexftp-from-ricardo-schmidt</link>
		<comments>http://florent.clairambault.fr/jobexftp-from-ricardo-schmidt#comments</comments>
		<pubDate>Sat, 19 Dec 2009 22:20:31 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[JObexFTP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MES]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=2216</guid>
		<description><![CDATA[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&#8217;t work or doesn&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>Ricardo Schmidt made a great multi-platform TC65 control and file management tool called <a href="https://github.com/3esmit/JObexFTP">JOBextFTP</a>. This can be used for anyone whose <a href="http://florent.clairambault.fr/tag/mes">Module Exchange Suite (MES)</a> doesn&#8217;t work or doesn&#8217;t work correctly.</p>
<p>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 &#8220;turnOn&#8221;, &#8220;turnOff&#8221;, &#8220;getTime&#8221;, &#8220;runApp&#8221;.</p>
<p>I&#8217;m really sorry but I didn&#8217;t take the time to test it as I&#8217;m currently not making some TC65 development. But it looks very operational to me.</p>
<p>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 <a href="http://florent.clairambault.fr/sms-otap-program-for-the-tc65-updated">SMSOTAP</a> to help you deploy programs remotely.</p>
<p><a name="2011-02-24"></a><br />
<strong style="color: red">Update: JObexFTP 2.4</strong><br />
<em>Thu, Feb 24, 2011 at 00:51</em></p>
<div style="border: 1px solid gray; margin: 10px; padding: 10px; background-color: #eef">
Hello,</p>
<p>You recieved this email due your interest in JObexFTP.</p>
<p>JObexFTP have new cool features!<br />
Now we can:<br />
- move files and folder with mv command<br />
- change mode of files and folder with chmod command<br />
- see the total disk space and the free space.</p>
<p>Checkout the changelog from the past 2 releases:</p>
<p>JObexFTP 2.4<br />
- Added disk information in about command<br />
- Added move (mv) operation<br />
- Added change mode (chmod) operation<br />
JObexFTP 2.3<br />
- Improved ObexClose.<br />
- Improved estability.<br />
- Faster operations.<br />
- Code clean up.<br />
- Fixed getContents of binary OBEXFile</p>
<p>Thank you for the attention!
</p></div>
<p><a name="2011-01-29"></a><br />
<strong style="color: red">Update: New interface</strong><br />
<em>Sat, Jan 29, 2011 at 08:12</em></p>
<div style="border: 1px solid gray; margin: 10px; padding: 10px; background-color: #eef">
Hello,</p>
<p>You received this email due your interest in JObexFTP.</p>
<p>New utilities: emulator and cmd_autoexec_off.sh<br />
New TC65SH UI: An improved user interface based on TC65SH 1.2.0<br />
Makefile: just type `make &#038;&#038; sudo make install` and call it by<br />
`jobexftp` from anywhere in your linux. (It also installs the rxtxlib)</p>
<p>Using JObexFTP emulator with your IDE your going to send files to<br />
module, execute and follow their output, all in the IDE. Stack Traces<br />
are automatically parsed by IDE and shown in a programmer friendly way.<br />
Check out attached screen shot.<br />
JObexFTP emulator also turns on your device if is not yet, and attempts<br />
to leave data mode if no response to at commands (just using echo and<br />
cat).</p>
<p>binaries, libraries and sources available to download in github</p>
<p>https://github.com/3esmit/JObexFTP/</p>
<p>Any feature request, issues, experiences or improvements with JObexFTP<br />
please contact me, I will be pleased in have your feedback.</p>
<p>Thank you for the attention,<br />
Ricardo Guilherme Schmidt
</p></div>
<p><strong style="color: red">Update : JObexFTP version 2.0</strong><br />
Ricardo Schmidt sent an other mail about his project on the <a href="https://groups.google.com/forum/#!forum/javacint" target="_blank">javacint group</a>, on Oct 22, 2010 at 14:51 :</p>
<div style="border: 1px solid gray; margin: 10px; padding: 10px; background-color: #eef">
Hello community,</p>
<p>I&#8217;ve just released JOBEXFTP 2.0 (beta), which brings tons of<br />
improvements from last version due total refactoring of code. Its<br />
better then never, check out sources!<br />
Now the transfers are stable and 60% much faster. If you are a maniac<br />
object oriented programmer, you going to love it, since it follow many<br />
project patterns as listeners, notify, encapsulation.<br />
The program API is a truly Java library, with easy Obex FTP calls.<br />
Full information available in project README.</p>
<p>The project is released under LGPL and need your feedback.</p>
<p>Access: http://www.github.com/3esmit/jobexftp
</p></div>
<p>Here is the email Ricardo Schmidt sent me on the 17 December 2009 :<br />
<em>I modified and formated some parts of the original mail.</em></p>
<div style="border: 1px solid gray; margin: 10px; padding: 10px; background-color: #eef">
Hello Florent,</p>
<p>    With Ondrej ObexTool sources, that I <a href="http://florent.clairambault.fr/tc65-module-exchange-suite-mes-problems#comment-557">met through your blog</a>, 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.<br />
I&#8217;m already using it in a desktop configuration program for my M2M application and it just works great.<br />
     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.<br />
     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 &#8220;platform&#8221;.</p>
<p><strong>Some nice features in the library :</strong></p>
<ul>
<li>Auto turns on/off the module</li>
<li>If for some previous crash it stayed in DATAMODE, it sends the +++<br />
until it get the COMMANDMODE again.</li>
<li>You can choose for seeing verbose messages and for seeing the AT<br />
communication.</li>
<li>You can send a String as a file to the module.</li>
<li>You recieve a file as a String from module (since writing a file is easy).</li>
<li>Working in windows platf (under test)</li>
</ul>
<p><strong>Some nice features in the application :</strong></p>
<ul>
<li>Argument configurable on/off module, verbose and show atcomand.</li>
<li>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</li>
<li>Option to just stdout the file. (sometimes we just need to see the<br />
contents)</li>
</ul>
<p><strong>TODOs:</strong></p>
<ul>
<li>Documentation (kinda important)</li>
<li>Auto run jars (in library is ready, just for app)</li>
<li>Choose folder to send the file (easy task)</li>
<li>MacOSX adaption (maybe its already working, I dont have any macs to test)</li>
<li>Multilanguage</li>
</ul>
<p>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.</p>
<p>Hope you like it.</p>
<p>You can get the latest sources from project kenai : <a href="http://www.kenai.com/projects/jobexftp">http://www.kenai.com/projects/jobexftp</a></p>
<p><a href="http://kenai.com/">Kenai</a> is NetBeans integrated, and it uses subversion. This project is opensource under GPL (application) and under LGPL (library).</p>
<p>Thank you for the attention,<br />
Ricardo Schmidt
</p></div>
<p>Here is an other message Ricardo sent on the 18 March 2010 :</p>
<div style="border: 1px solid gray; margin: 10px; padding: 10px; background-color: #eef">
Hello developers,</p>
<p>Due to the kenai closing, and to have the best control version system, JObexFTP have moved to github.com.<br />
Now we can manage projects better with git control version. If you dont know Git, you should!<br />
The Kenai&#8217;s JObexFTP will be closed soon, the repository is already deleted.<br />
Note: The old JObexFTP versions are lost due to new commit.<br />
Please consider joining my project. </p>
<p><strong>What is JObexFTP?</strong><br />
Its a fully opensource library (and application) to transfer files from/to obex server.<br />
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.<br />
For now it just supports cinterion modules due to ATCommand spec.<br />
It needs RxTx library to have the serial communication. </p>
<p><strong>JObexFTP news:</strong><br />
Now we have fully OO obex objects (files/folders).<br />
The downloading files is speeded up. </p>
<p><strong>Under development:</strong><br />
Human readable folder listing<br />
Multilanguage</p>
<p><strong>Known issues:</strong><br />
Deleting multiple files is buggy and needs reconnection. (Its also buggy in windows MES, but here is a way more buggy)<br />
In Windows sometimes it takes more time to have obex ready to read folder listing (I hate you microsoft)
</div>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/jobexftp-from-ricardo-schmidt/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TC65 Module Exchange Suite (MES) problems</title>
		<link>http://florent.clairambault.fr/tc65-module-exchange-suite-mes-problems?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tc65-module-exchange-suite-mes-problems</link>
		<comments>http://florent.clairambault.fr/tc65-module-exchange-suite-mes-problems#comments</comments>
		<pubDate>Sat, 03 Oct 2009 19:20:12 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[MES]]></category>
		<category><![CDATA[OBEX]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=1748</guid>
		<description><![CDATA[Update (2011-06-28): You should look at the jOBEXFtp program if you don&#8217;t want to spend hours fixing a problem with a crappy software. When you want to locally deploy software on your TC65 chip, you need the Module Exchange Suite (MES). If it doesn&#8217;t work, it won&#8217;t tell you why, finding out why can be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update (2011-06-28):</strong></p>
<p>You should look at the <a href="http://florent.clairambault.fr/tag/jobexftp">jOBEXFtp program</a> if you don&#8217;t want to spend hours fixing a problem with a crappy software.
</p>
<p>When you want to locally deploy software on your TC65 chip, you need the Module Exchange Suite (MES). If it doesn&#8217;t work, it won&#8217;t tell you why, finding out why can be quite tricky. </p>
<p>If you want to find out why the communication with your TC65 failed, the best way is to use the <a href="http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx">portmon tool</a> and see what is exchanged between the MESServer.exe and the chip.</p>
<p>I collected 4 portmon captures that could help you diagnose your MES communication problems :</p>
<ul>
<li><a href="http://florent.clairambault.fr/wp-content/uploads/2009/10/florent_mes.txt">Here</a> is a successful MES files listing at 19200 bps. You can see that it sends the &#8220;AT+CGMM&#8221; at different bit rates unless it gets a good response. Then it sets some serial communication options. And then it sends the &#8220;AT^SQWE=100&#8243; commands which fails and then establish a successful link using the &#8220;AT^SQWE=3&#8243; command.</li>
<li><a href="http://florent.clairambault.fr/wp-content/uploads/2009/10/florent_mes_failed.txt">Here</a> is a failed MES file listing. Here, after the &#8220;&#8221;AT^SQWE=3&#8243;&#8221; is sent, MES sends a 26 bytes message and receives a 41 bytes message from the chip. Then it should request the file listing. But here, MES doesn&#8217;t request anything. Maybe MES doesn&#8217;t work well, or maybe the reply from the chip doesn&#8217;t satisfy his requirements.<br />
Anyway, after that it should send a 27 bytes message containing : &#8220;x-obex/folder-listing&#8221;, and it should get the file listing. But it doesn&#8217;t. It reads on the serial port like if it was still waiting for something. And finally, it closes the connection (with &#8220;+++&#8221;).</li>
<li><a href="http://florent.clairambault.fr/wp-content/uploads/2009/10/florent_mes_failed.txt">Here</a> is a totally failed communication. Here it&#8217;s because the modem gets stuck on waiting for the modem hardware flow control (&#8220;IOCTL_SERIAL_GET_MODEMSTATUS&#8221;) when it&#8217;s only a 3 wires (TX,RX,GND) communication. So MES never reads or writes anything.</li>
<li><a href="http://florent.clairambault.fr/wp-content/uploads/2010/11/nicolas_mes_failed.txt">Here</a> is communication that failed by not receiving anything. Everything seems ok but no data was received. It&#8217;s quite likely that the RX cable is disconnected.</li>
</ul>
<p>If you have the same kind of problem, you can send me your portmon capture file.</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/tc65-module-exchange-suite-mes-problems/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SMSOTAP v1.2.1</title>
		<link>http://florent.clairambault.fr/smsotap-v1-2-1?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=smsotap-v1-2-1</link>
		<comments>http://florent.clairambault.fr/smsotap-v1-2-1#comments</comments>
		<pubDate>Fri, 31 Jul 2009 07:37:54 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[SMSOTAP]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=1611</guid>
		<description><![CDATA[I have just made a little update to the SMSOTAP program so that the little message generation wizzard can add the NETUSER and NETPWD parameters in the OTAP SM sent to the TC65. Thank you John for this little feature request. This pretty useful, without it you could end up adding a new SM and [...]]]></description>
			<content:encoded><![CDATA[<p>I have just made a little update to the SMSOTAP program so that the little message generation wizzard can add the NETUSER and NETPWD parameters in the OTAP SM sent to the TC65. Thank you John for this little feature request. This pretty useful, without it you could end up adding a new SM and editing each message.</p>
<div style="text-align: center">
    <a href="http://florent.clairambault.fr/downloads/SMSOTAP_v1.2.1.zip">[ download SMSOTAP v1.2.1 ]</a>
</div>
<p>By the way, I have tested this program on Linux with mono and it works fine. </p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/smsotap-v1-2-1/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>One weird bug on the XT75</title>
		<link>http://florent.clairambault.fr/one-weird-bug-on-the-xt75?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=one-weird-bug-on-the-xt75</link>
		<comments>http://florent.clairambault.fr/one-weird-bug-on-the-xt75#comments</comments>
		<pubDate>Sat, 30 May 2009 18:57:30 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[TC65]]></category>
		<category><![CDATA[XT75]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=869</guid>
		<description><![CDATA[You might have faced this error with your X765 chip. The program crashes with this error : 1 2 3 ^EXIT 00010000,02d6414253485f4c434c2c70726f6365647572655265636f72645f702d3e6e756d6265724f66526567697374657265645461736b73203c3d204d41585f4e4f5f524547495354455245445f5441534b53 &#160; ^SHUTDOWN If you convert the hex array to some text, that will give you : 1 #ABSH_LCL,procedureRecord_p-&#62;numberOfRegisteredTasks &#60;= MAX_NO_REGISTERED_TASKS Which might mean something to someone. But the point is, you won&#8217;t find [...]]]></description>
			<content:encoded><![CDATA[<p>You might have faced this error with your X765 chip. The program crashes with this error :</p>

<div class="wp_codebox"><table><tr id="p86915"><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code" id="p869code15"><pre class="txt" style="font-family:monospace;">^EXIT 00010000,02d6414253485f4c434c2c70726f6365647572655265636f72645f702d3e6e756d6265724f66526567697374657265645461736b73203c3d204d41585f4e4f5f524547495354455245445f5441534b53
&nbsp;
^SHUTDOWN</pre></td></tr></table></div>

<p>If you convert the hex array to some text, that will give you :</p>

<div class="wp_codebox"><table><tr id="p86916"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p869code16"><pre class="txt" style="font-family:monospace;">#ABSH_LCL,procedureRecord_p-&gt;numberOfRegisteredTasks &lt;= MAX_NO_REGISTERED_TASKS</pre></td></tr></table></div>

<p>Which might mean something to someone. But the point is, you won&#8217;t find any help. Mostly because it&#8217;s an uncommon error.</p>
<p>The error comes from the GPRS connection management. I had it when I was using a wrong APN (with the &#8220;AT^SJNET&#8221; command) to connect to a host. In my program, connection failed with a classic IOException (&#8220;Profile not found&#8221;) but 1 or 2 minutes later, the chip was ALWAYS crashed (with the &#8220;^EXIT&#8221; URC). So, the only solution I found to correct this problem was to automatically detect which APN is required.</p>
<p>This might also improve the ease of deployment of your programs. I like putting as much as possible auto-detection / auto-configuration code as possible. It takes a little time to write it but saves a lot of troubles (last minute configuration, human errors, human explanations, etc.).</p>
<p>The APN auto-detection code is like that :</p>

<div class="wp_codebox"><table><tr id="p86917"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
</pre></td><td class="code" id="p869code17"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> AutoDetectApn<span style="color: #009900;">&#40;</span> ATCommand atc <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> apnList <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>objcobytel.com<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>, <span style="color: #666666; font-style: italic;">// Bouygues Telecom : &quot;Objet communiquant&quot; / &quot;ObjetCo&quot; / &quot;ObjCo&quot;</span>
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>m2minternet<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>internet-entreprise<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>a2bouygtel.com<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>b2bouygtel.com<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>ebouygtel.com<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>movistar.es<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>movistar<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>movistar<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange.fr<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>orange<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>,
        <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span>gprs<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>websfr<span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\&quot;</span>,<span style="color: #000099; font-weight: bold;">\&quot;</span>88.191.11.20<span style="color: #000099; font-weight: bold;">\&quot;</span>,0&quot;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
   <span style="color: #000000; font-weight: bold;">synchronized</span> <span style="color: #009900;">&#40;</span>atc<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Waiting 30s...&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Athread+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Thread</span></a>.<span style="color: #006633;">sleep</span><span style="color: #009900;">&#40;</span> <span style="color: #cc66cc;">30000</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Ainterruptedexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">InterruptedException</span></a> ex<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            ex.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> apnList.<span style="color: #006633;">length</span><span style="color: #339933;">;</span> <span style="color: #339933;">++</span>i<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> apn <span style="color: #339933;">=</span> apnList<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Trying apn &quot;</span> <span style="color: #339933;">+</span> apn <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;...&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                atc.<span style="color: #006633;">send</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;AT^SJNET=&quot;</span> <span style="color: #339933;">+</span> apn <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span>&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
                SocketConnection conn <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>SocketConnection<span style="color: #009900;">&#41;</span> Connector.<span style="color: #006633;">open</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;socket://88.191.11.20:80&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                conn.<span style="color: #006633;">close</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000000; font-weight: bold;">return</span> apn<span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aexception+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">Exception</span></a> ex<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Failed : &quot;</span> <span style="color: #339933;">+</span> ex.<span style="color: #006633;">getClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot; : &quot;</span> <span style="color: #339933;">+</span> ex.<span style="color: #006633;">getMessage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
    <span style="color: #666666; font-style: italic;">// We couldn't find any APN</span>
    <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>And it is only launched when the SIM Card has been changed. To detect that, I have some simple code like this :</p>

<div class="wp_codebox"><table><tr id="p86918"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code" id="p869code18"><pre class="java" style="font-family:monospace;"><span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// APN auto-detection</span>
&nbsp;
    <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> imsi<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">synchronized</span> <span style="color: #009900;">&#40;</span>atc<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
         imsi <span style="color: #339933;">=</span> Common.<span style="color: #006633;">getIMSI</span><span style="color: #009900;">&#40;</span> atc <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>settings.<span style="color: #006633;">confLastImsi</span>.<span style="color: #006633;">compareTo</span><span style="color: #009900;">&#40;</span> imsi <span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Asystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">System</span></a>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Sim card changed ! Auto-detecting APN...&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">synchronized</span> <span style="color: #009900;">&#40;</span>atc<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> apn <span style="color: #339933;">=</span> Common.<span style="color: #006633;">AutoDetectApn</span><span style="color: #009900;">&#40;</span> atc <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
            <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>apn <span style="color: #339933;">!=</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
                reg.<span style="color: #006633;">confAPN</span> <span style="color: #339933;">=</span> apn<span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        settings.<span style="color: #006633;">confLastImsi</span> <span style="color: #339933;">=</span> imsi<span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">// Whatever happens, we still need to save the current IMSI</span>
        settings.<span style="color: #006633;">Save</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Reference :<br />
- <a href="http://forums.sun.com/thread.jspa?threadID=5252341&#038;tstart=2623">The forum that helped me solve this problem</a><br />
- <a href="http://home2.paulschou.net/tools/xlate/">Translating Hex to Text</a></p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/one-weird-bug-on-the-xt75/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diagnose OTAP problems</title>
		<link>http://florent.clairambault.fr/diagnose-otap-problems?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=diagnose-otap-problems</link>
		<comments>http://florent.clairambault.fr/diagnose-otap-problems#comments</comments>
		<pubDate>Fri, 01 May 2009 11:43:30 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[OTAP]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=659</guid>
		<description><![CDATA[I was looking at my analytics stats (which are not so great, but I don&#8217;t really care) and I saw that some of you were accessing this blog by searching for &#8220;at^sjotap error codes&#8221;. This is quite weird. The only thing you need to test your Over The Air Provisioning (OTAP) is the command : [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking at my analytics stats (which are not so great, but I don&#8217;t really care) and I saw that some of you were accessing this blog by searching for &#8220;at^sjotap error codes&#8221;. This is quite weird.</p>
<p>The only thing you need to test your Over The Air Provisioning (OTAP) is the command :</p>

<div class="wp_codebox"><table><tr id="p65922"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p659code22"><pre class="txt" style="font-family:monospace;">AT^SCFG=&quot;Trace/Syslog/OTAP&quot;,&quot;1&quot;</pre></td></tr></table></div>

<p>But you have to make sure you type it right after you typed the &#8220;AT^SJOTAP&#8221; command. So, if you do it in a terminal. You should copy the syslog enable command, write the &#8220;AT^SJOTAP&#8221; command and immediatly past the syslog enable command.</p>
<p>What you should have is something like that :</p>

<div class="wp_codebox"><table><tr id="p65923"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code" id="p659code23"><pre class="txt" style="font-family:monospace;">--&gt; AT^SJOTAP
&lt;-- OK
--&gt; AT^SCFG=&quot;Trace/Syslog/OTAP&quot;,&quot;1&quot;
&lt;-- SYSLOG ENABLED
&lt;--
&lt;-- [OTAP] GPRS connection established.
&lt;-- [OTAP] Try to get http://www.yourwebsite.com/software.jad ...
&lt;-- [OTAP] Connected.
&lt;-- [OTAP] Transfer finished.
&lt;-- [OTAP] Try to get http://www.yourwebsite.com/software.jar ...
&lt;-- [OTAP] Connected.
&lt;-- [OTAP] Transfer finished.
&lt;-- [OTAP] JAM status: 900 Success.
&lt;-- [OTAP] Reboot now.
&lt;-- ^SYSSTART</pre></td></tr></table></div>

<p>For those who still want the answer to the &#8220;AT^SJOTAP error codes&#8221;, you can find it in &#8220;Java_UserGuide.pdf&#8221; file provided by Cinterion TC65 SDK, page 61 :</p>
<ul>
<li>900 Success</li>
<li>901 Insufficient memory in filesystem</li>
<li>902 &#8211; not supported-</li>
<li>903 &#8211; not supported-</li>
<li>904 JAR size mismatch, given size in JAD file does not match real size of jar file</li>
<li>905 Attribute mismatch, one of the mandatory  attributes MIDlet-name, MIDlet-version, MIDlet-Vendor in the JAD file does not match those given in the JAR manifest</li>
<li>906 Invalid descriptor, something is wrong with the format of the .jad file</li>
<li>907 invalid JAR, the JAR file was not available under MIDlet-Jar-URL, files could not be extracted from JAR archive, or something else is wrong with the format of the file.</li>
<li>908 incompatible configuration or profile</li>
<li>909 application authentication failure, signature did not match certificate</li>
<li>910 application authorization failure, tried to replace signed with unsigned version</li>
<li>911 -not supported-</li>
<li>912 Delete Notification</li>
</ul>
<p>The most common error you can make is to have a wrong JAD file, this what it should look like :<br />
The most common error you could make is to do not specify the complete path of your jar file in your jad file. You jad file should look like that :</p>

<div class="wp_codebox"><table><tr id="p65924"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code" id="p659code24"><pre class="txt" style="font-family:monospace;">MIDlet-1: Midlet, ,MySoft.Midlet
MIDlet-Jar-Size: 29180
MIDlet-Jar-URL: http://87.106.206.30/TC65/mysoft/mysoft.jar
MIDlet-Name: MySoft
MIDlet-Vendor: Cinterion
MIDlet-Version: 1.0
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: IMP-NG</pre></td></tr></table></div>

<p>If you still have problems with OTAP, you can leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/diagnose-otap-problems/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>SMS OTAP program for the TC65 updated</title>
		<link>http://florent.clairambault.fr/sms-otap-program-for-the-tc65-updated?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sms-otap-program-for-the-tc65-updated</link>
		<comments>http://florent.clairambault.fr/sms-otap-program-for-the-tc65-updated#comments</comments>
		<pubDate>Mon, 27 Apr 2009 18:17:13 +0000</pubDate>
		<dc:creator>Florent Clairambault</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Cinterion]]></category>
		<category><![CDATA[OTAP]]></category>
		<category><![CDATA[SMSOTAP]]></category>
		<category><![CDATA[TC65]]></category>

		<guid isPermaLink="false">http://florent.clairambault.fr/?p=621</guid>
		<description><![CDATA[Program updated ! As I told you in the comment where I released this TC65 SMS OTAP program, it didn&#8217;t support serial communication. Well, I have added this feature. The program is now able to directly send OTAP SMS, using a GSM modem. Download SMSOTAP The &#8220;config.bin&#8221; with your settings file isn&#8217;t compatible anymore. Please [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://florent.clairambault.fr/smsotap-1-2" style="color: red; text-decoration: underline">Program updated !</a></p>
<p>As I told you in <a href="http://florent.clairambault.fr/why-tc65-sms-otap-software-update-is-great/comment-page-1#comment-117">the comment</a> where I released this TC65 SMS OTAP program, it didn&#8217;t support serial communication. Well, I have added this feature. The program is now able to directly send OTAP SMS, using a GSM modem.</p>
<p><img src="http://i.mivi.fr/f185b765aef71d092ebcf52be34ea91a22b48e18.x.450.png" /></p>
<div style="text-align: center">
<a href="http://florent.clairambault.fr/downloads/SMSOTAP.zip">Download SMSOTAP</a>
</div>
<p>The &#8220;config.bin&#8221; with your settings file isn&#8217;t compatible anymore.</p>
<p>Please tell me if it works for you and/or if you find bugs. You can also ask me questions about the TC65 if you need some help.</p>
<p>So, to use this program :<br />
1. Extract at least SMSOTAP.exe from SMSOTAP.zip<br />
2. Launch &#8220;SMSOTAP.exe&#8221;<br />
3. Connect your TC65/XT65 modem to your serial port (or virtual serial port using USB interface)<br />
4. Build a short message (take care about the class and the PID)<br />
5. Click on the &#8220;Send&#8221; button</p>
<p>Note : When your type your message, the &#8220;\n&#8221; and &#8220;\r&#8221; are replaced by &#8216;\n&#8217; and &#8216;\r&#8217; chars. The carrier-return (CR) chars typed in the textbox are not sent. No other chars than &#8216;\n&#8217;,'\r&#8217; are converted (but I might change that if you need it).</p>
<p>Note 2 : You should always remember that the &#8220;AT^SJOTAP&#8221; parameters always override the SMS ones. So, if you want to be sure you will always be able to remotely update your chip, you should reset all parameters by sending the &#8220;AT^SJOTAP=&#8221; command.</p>
<p>Note 3 : There&#8217;s a pretty good chance that this program works on a lot of other GSM modems than the Cinterion TC65 chip. It has never been tested on any other chips but it uses standard AT commands (you can see them in the window).</p>
]]></content:encoded>
			<wfw:commentRss>http://florent.clairambault.fr/sms-otap-program-for-the-tc65-updated/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/47 queries in 0.013 seconds using disk: basic
Object Caching 1220/1311 objects using disk: basic

Served from: florent.clairambault.fr @ 2012-02-04 23:08:27 -->
