C# 4.0

I tested it in VS2010. Which is beautiful by the way, I like the WPF rendering. And I’m happy they didn’t disable the possibility to generate .Net 2.0 assemblies. I wanted to test the new historical debugger functionnality, which enable you to see the state of variable in the past time, but I didn’t take the Team System Edition (and I’m too lazy to download it again). named and optionnal arguments ...

June 16, 2009 · Florent Clairambault

MOSS 2007 : Managing search properties

In Microsoft Office Sharepoint Server, you have a powerful search service. It can’t say I like everything in sharepoint but the MOSS Search Engine is really amazing. It enables to search fulltext on everything and also to filter precisely your results by searching on columns at the same time. But the MOSS search engine isn’t as easy as searching directly in CAML. You have to prepare managed properties (from your lists columns) to be able to search on them. ...

June 13, 2009 · Florent Clairambault

SMSOTAP 1.2

I made some few changes to the SMSOTAP program for the TC65 : I removed the time limit, it’s stable enough to do not force you to update it frequently. It now uses class 1, PID 7d messages instead of class 0, PID 00 compatibility mode (it doesn’t change anything). It generates OTAP SMS only with the parameters you specifiy and use as few SMS as possible. Most of the time, you can use only one OTAP SMS It will prevent you from sending SMS above 140 chars in 8 bits and 160 chars in 7 bits. I fixed a little bug, I replaced “APORNUM:” by “APNORNUM:” Configuration file from the previous v1.1 version will still work on this one. ...

June 12, 2009 · Florent Clairambault

Sharepoint : The 0x80020009 (DISP_E_EXCEPTION) error

If you’re faced with that error, you should know that it doesn’t mean anything except you have a problem. Lots of people have written posts about it, but most of their explanations are wrong. It just means that sharepoint didn’t like what you did somewhere in your masterpage, your page, your webpart, your user control or anything else. For me, it was because I used the SPWeb.GetListFromUrl method to test if the user actually had access to a list. If it didn’t, I was just catching the exception thrown. ...

June 3, 2009 · Florent Clairambault

One weird bug on the XT75

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. You might have faced this error with your X765 chip. The program crashes with this error : ^EXIT 00010000,02d6414253485f4c434c2c70726f6365647572655265636f72645f702d3e6e756d6265724f66526567697374657265645461736b73203c3d204d41585f4e4f5f524547495354455245445f5441534b53 ^SHUTDOWN If you convert the hex array to some text, that will give you : #ABSH_LCL,procedureRecord_p->numberOfRegisteredTasks <= MAX_NO_REGISTERED_TASKS Which might mean something to someone. But the point is, you won’t find any help. Mostly because it’s an uncommon error. ...

May 30, 2009 · Florent Clairambault

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