alviano.net/.com/.org

Mario Alviano's web site and blog

November, 2008

Patch for bfsms – Send SMS’s via bluetooth

There are programs which are simple and really useful, but for some reason their development were stopped. Probably, bfsms is one of this, stopped still 2004. This application allows to send SMS’s from a shell, connecting to a mobile phone via bluetooth. The only inconvenience is that such SMS’s must be no longer than 160 characters (or 70 for flash SMS’s).

Since I often send SMS’s longer than 160 characters, I tried to search the web the standard defining concatenated SMS’s (which are sended by modern mobile phone when an SMS of more than 160 character is typed). I lost an afternoon trying to understand the absurd choices of the authors of this protocol. Then, I give up this street and moved to a different approach: I will automatically divide the message in more than one SMS, avoiding (more…)

Seconda patch per bfsms – Inviare SMS concatenati tramite bluetooth

In un post precedente abbiamo parlato del programma bfsms per l’invio di SMS tramite bluetooth. Abbiamo inoltre visto come applicargli una patch per poter inviare SMS splittati, ovvero messaggi che, se di dimensione superiore ai 160 caratteri consentiti, vengono suddivisi in più SMS e spediti singolarmente.

Naturalmente sarebbe preferibile che il messaggio arrivasse al destinatario come un unico SMS, come avviene per i messaggi lunghi inviati dalla maggior parte dei cellulari moderni. Questo tipo di messaggi viene chiamato concatenated SMSes (SMS concatenati) e (more…)