After learning about Ericsson AT commands yesterday I wrote up some Python to program my phone's contact list. It probably would have been faster to set up Outlook, but where's the sport in that? You can download the unsupported, disabled Python T616 code to check out.

The real challenge here proved to be doing serial I/O. The excellent PySerial helped. But I'd forgotten how hard it is to write code to read data from a device that's slow, particularly when you don't know how much you're reading. I should have tried out Twisted, like Matt Biddulph did, but asynchronous programming seems like overkill for a small project.

techphone
  2003-11-16 19:40 Z
The Sony Ericsson T616 has a Bluetooth adapter that acts like a serial port. If you put the phone in serial mode, it understands a wide range of AT commands. Some useful references: R320s_WP_R1A.pdf, 888_r1d.pdf, AT Test commands, Google search for [CPBR ericsson].

I hope to use this to modify my contact list

at+cpbr=1
+CPBR: 1,"14159990000",129,"Nelson/H"
at+cpbw=4,"999",129,"Test"
OK
I bet floAt's Mobile Agent uses this protocol. Other folks have hacked their phones to be remote controls (Python, Perl). Phonefront is a commercial control app.
techphone
  2003-11-15 23:00 Z