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. |