Kannel on Cygwin and Nokia 6230
Posted in Techno Stuffs on June 23rd, 2006
After much tinkering on making Kannel work on a Linux box and use a GSM phone as a SMSC, well sad to say I had no luck in doing so. It seems to me that the available GSM phone data cables we have in the office are not compatible with the linux drivers and Kannel. Since I’m on a tight deadline I didn’t have that much luxury to spend several days just to make it work.
So what I did is to install Kannel on Cygwin running on a Windows 2000 server. At least this way, I don’t have to worry about the linux drivers for my data cables since I can use the Windows native drivers for it. Moreover, I can also make use of bluetooth connection by emulating a serial connection between the PC and the mobile phone. The available GSM phone I have is a Nokia 6230 and I decided to make use of the data cable instead of the bluetooth connection. Regarding the drivers for the data cable, it’s included on the latest Nokia PC Suite.
Here’s the step I did on making things work.
- Download the latest stable release of Kannel (Cygwin build) from their website.
- Build Kannel using the online documentation from Kannel’s site.
- Wrote my own kannel.conf file for a customized version for my needs.
- Connected the phone and data cable to the USB port of my PC.
- Started bearerbox and smsbox.
Well, that did the trick and I was able to start sending/receiving SMS messages using Kannel either through the the HTTP interface or through my Java application.
For those having problems and would like to know the details of my installation, just contact me and I would be more than willing to help you out. ![]()
[tags]Kannel, Cygwin, SMS, MMS, Linux, Windows, Java, Nokia, Nokia 6230, GSM, mobile phone, WAP[/tags]