Thinking about ways to wake up the iPhone to respond to pings, I came across a script to post a twitter message. I modified it to send a directed message. By enabling badge notifications in the iPhone twitter app, it wakes up for about 10 seconds. It only takes about 5 seconds for the badge push to arrive at the iPhone. When I get time, I will be incorporating this into my "who is home" ping scripts. This method is less intrusive than the pushmail method.
You have to define a developer app with twitter to get the authorization keys required for the OAuth login. The process only takes a few minutes.
Here is the place to get the scripts:
http://www.internoetics.com/2011/01/12/ ... ing-oauth/I replaced the last few lines of the example.php script with the syntax to send a directed message instead of a generic status message like this:
$user = "twitter_Username";
$message = "This is a direct test wakeup message.";
$tweet->post('direct_messages/new', array('user' => "$user", 'text' => "$message"));