![]() |
Re: [Announce] The One Ring
Quote:
|
Re: [Announce] The One Ring
I posted a request for a command line utility to send and receive manually as a bug. Is this the correct spot to post this?
I am working on a solution to push a request to my n900 to check for new messages whenever I receive a sms message. I just need a script that will force my device to check for new sms messages. Is the reset_state_machine debug command only supposed to reset the countdown? When I run that command, it appears to set the countdown to ~20seconds, so there is a delay before I receive any new messages. Is there any command that will force an immediate check? |
Re: [Announce] The One Ring
Quote:
Quote:
|
Re: [Announce] The One Ring
If I run reset_state_machine in the debug prompt, it resets the voicemail timeout to 60 seconds, even if it is disabled. The contacts and sms polling rates are kept though.
Is there a way to send a command to the debug console via dbus? I have tried using the following command, but it goes to the open window instead of the debug prompt: Code:
run-standalone.sh dbus-send --type=method_call --dest=:1.113 /org/freedesktop/Telepathy/Connection/theonering/gv/username_40gmail_2ecom/channel6 org.freedesktop.Telepathy.Channel.Type.Text.Send uint32:0 string:"reset_state_machine textsnow" |
Re: [Announce] The One Ring
Quote:
EDIT: And that sounds like a bug that it resets voicemail even when disabled. |
Re: [Announce] The One Ring
Can you give me any hints on how to call a function in state_machine.py from an external python script? I added the following two functions to state_machine.py:
Code:
def update_now(self):Code:
self._conn.session.textsStateMachine.update_now() |
Re: [Announce] The One Ring
Quote:
Quote:
Quote:
|
Re: [Announce] The One Ring
Quote:
Quote:
EDIT: I've also added a command to force TOR to completely shutdown immediately so you can reload a modified version. |
Re: [Announce] The One Ring
I had been just killing the TOR process (it restarts itself), but after it started again, it was having some issues (it would have some messages shown twice).
Thanks again for your help by the way. I have the rest of my script working, so I can notify my n900 when new text messages arrive. I just need to get TOR to check for new text messages via a command, and the script will be ready to go. |
Re: [Announce] The One Ring
Quote:
Sorry I'm taking so long on getting the script ready to send commands to the debug prompt. It'll probably be a couple more days. |
| All times are GMT. The time now is 23:38. |
vBulletin® Version 3.8.8