View Single Post
Posts: 56 | Thanked: 11 times | Joined on Jan 2010
#37
Originally Posted by digitalvoid View Post
I made a two part Python script for the CLI (control app & background daemon) which does just the same and more...

Control app:

Code:
Nokia-N900:~# smscon
== smscon - remote control utility ==
Options:
  -start   : start smscon
  -stop    : stop smscon
  -boot    : set start at device boot
  -unboot  : remove start at device boot
  -status  : get smscon_daemon status
  -log     : show the logfile
  -clear   : erase the log file
  -help    : this help menu
It also creates a log file:

Code:
Nokia-N900:~# smscon -log
(Tue Aug 17 13:28:05 2010) START: smscon_daemon active
(Tue Aug 17 13:28:05 2010) DAEMON: no arguments passed for daemon
(Tue Aug 17 13:28:05 2010) DAEMON: reading valid IMSI code (XXXXXXXXXXXXXXX) from file
(Tue Aug 17 13:28:05 2010) DAEMON: authorized IMSI code found
(Tue Aug 17 13:28:05 2010) DAEMON: smscon autoloads at boot
I can send specific SMS messages to my phone and so can control my phone with it.

The current functions are: reboot, shutdown, show remaining battery charge, send current gps coordinates, send frontcam picture to my own server, set up ssh connection with available connection (WLAN/GPRS) to my own server)
perhaps ik would be good to combine your programs? sounds like you could help each other allot!