com0com : Create double paired virtual ports

Just a quick note for an interesting project I recently discovered : The com0com project enables you to create pairs of virtual ports connected with each other. What is so great with that ? You still have a lot of tools that use com ports to communicate (industrial hardware, old software, gps chips, etc.). It enables you to emulate this software or to make them communicate with “something else” as you wish. ...

May 20, 2009 · Florent Clairambault

Lighttpd + Mono ASP.Net : The right configuration

As I already told before, I love the Mono project. It enables to run the powerful Microsoft .Net Framework on UNIX/Linux/BSD systems. I recently wanted to test a very cool feature of ASP.Net on a mono server. So I did a little apt-get install lighttpd mono-fastcgi-server2 -y The feature I wanted to try was a web scripting method ( with the [WebMethod] attribute) exporting some JSON directly from your method return value. ...

May 18, 2009 · Florent Clairambault

TC65 : Slow UDP reception

Introduction Receiving UDP datagrams on the TC65 is easy but inefficient. You need to create a new thread if you want to receive data asynchronously. There’s no way of knowing if a new datagram has been received or not without hanging on the ::receive( Datagram ); method. This is quite weird considering you can do it in TCP. The real problem is it’s freaking slow. The Cinterion documentation just tells you “This method blocks until a datagram is received.”. What it doesn’t say is that nearly each time, it blocks for 100 to 700 ms after UDP datagrams have actually been received. And worse, this slowness/sleeping avoids the program from treating data and finally throws a little java.io.IOException exception : “No buffer space available”. I tried to give the udp receiving thread a higher priority than the other threads, I tried to make the TCP reception thread sleep a lot just in case it would lock some kind of network object, I looked on how could this method be implemented but couldn’t find a solution and don’t believe there’s one. ...

May 10, 2009 · Florent Clairambault

Cinterion TC65 development tools work on Windows 7

I’ve installed Windows 7 on my PC. I made an upgrade from vista. Everything was saved except the deploy/debug connection to the Cinterion’s SDK. But a little repair operation with the setup installer made it work. It’s pretty cool because when I switched from XP to Vista, well… I switched back to XP due to that problem. 22/12/09 update : MES doesn’t work fine on any other system than XP. You should try the JObexFTP tool instead. ...

May 9, 2009 · Florent Clairambault

Diagnose OTAP problems

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. This page now is on the javacint wiki.

May 1, 2009 · Florent Clairambault

SMS OTAP program for the TC65 updated

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. Program updated ! As I told you in the comment where I released this TC65 SMS OTAP program, it didn’t support serial communication. Well, I have added this feature. The program is now able to directly send OTAP SMS, using a GSM modem. ...

April 27, 2009 · Florent Clairambault

Cinterion TC65’s TCP stack limits

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. If you use the TC65 to transmit some frequent (with a transmission interval of less than 700 ms) data, you should know that the TC65’s has a poor TCP implementation considering the ACK management of sent messages. ...

April 26, 2009 · Florent Clairambault

The tomato firmware

Tomato is firmware for the WRT54G router. The firmware is simple and it has a very simple and powerful QoS management interface. It enables you do everything you should require from your router. It just lacks VPN and IPv6 support, both functionalities I used on my previous OpenWRT firmware. But with this one, I didn’t have to type a single command line. Here are some screenshots : Sorry for the stupid gray margins. I didn’t realized that screengrab (Firefox extension) would take them. And now I’m too lazy to take new screenshots. ...

April 22, 2009 · Florent Clairambault

I tried the Androïd 1.5 SDK

I tried the Androïd 1.5 SDK, it’s my first step on Androïd. I made a simple program to do a background calculation which brings back results to the UI, it counts the number of time it has been launched (by using the preferences data storage), it also takes pictures on the camera. I still can’t manage to display the preview (even if I do manage to get the data of the preview on the PreviewCallBack). ...

April 21, 2009 · Florent Clairambault

Why TC65 SMS OTAP software update is great

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. Update anything Cinterion gives specifications on how to send SMS messages to launch a remote Over The Air Provisionning (OTAP) operation. Recently, someone asked me : We have a little program on some TC65 chips that only send SMS, we would like to connect it to the software that you built. What would we have to do. Well that where the magic comes. You don’t have to touch any of the hardware. The only concrete thing you might have to do is enable GPRS on the sim cards of your M2M fleet. ...

March 28, 2009 · Florent Clairambault