http://www.cncmods.net/files/cbsdump.zip contains the latest code I have got for testing Cell Broadcast SMS work. The files need to be compiled in a Scratchbox FREMANTLE_ARM environment with dbus and glib installed.
run cbsdump.sh to compile.
cbspatch.c will apply the needed patch to /usr/lib/libsms.so.0.0.0
Note that it does not back up the file before hand nor does it verify the correct checksums. Can someone who knows N900 shell scripting create a script to handle it all? (i.e. check the checksum, backup the file and run the patcher)

cbsdump.c is a program that, when run, sits there and listens for the IncomingCBS signal. It will then decode the Cell Broadcast SMS PDU (I have no idea what it will do with multi-page PDUs though since I have nothing I can use to test) and write it to /home/user/MyDocs/cbsms.log. Be aware that if you leave this running for too long it will simply keep expanding cbsms.log until it runs out of space. The only thing I have tested it on so far are the Cell Broadcast messages my local towers are sending (cell tower names on channel 50). Tomorrow I plan to go on a big trip as far as the bus/train system will take me and log as many different cell towers as possible :)

smsutil.c, smsutil.h, util.c and util.h are hacked/modified versions of the same files from ofono (modified to remove a few dependancies the bits I needed dont use)
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to