![]() |
Re: [Announce] SMScon (control your device with SMS)
1 Attachment(s)
I prepared and attached a script file that enables debug logging while the smscon daemon processes sms comands. To use this debug script you need the ability to become root. Usage:
1) copy the debug script somewhere onto the N900 device and name it "smscon1.sh". 2) start xterm 3) become root 4) change directory to the folder containing the debug script. 5) enter command: Code:
chmod +x smscon1.sh Code:
./smscon1.sh 8) go to 6) in case you want to repeat debugging. 9) post the generated smscon-debug.log file here that I can analyse it (it is anonymized). I hope that this will help us to find out reason of twice sent SMS. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Can't test with two phones at the moment (master number is a friend's), but if it helps here's the log from the editor of yesterday's test.
Code:
2012-03-19 14:36:11[SMSCON] INFO: Daemon smscon_daemon requested to start. I didn't access SMSCON or SMSCON Editor, at all that day. There's an ERROR in there! |
Re: [Announce] SMScon (control your device with SMS)
IIRC, when I've reported it last time, I also mentioned about error about "failed to send sms", despite fact that sms was send successfully. Also, despite 15 minutes time between re-try, another sms was sent instantly.
This may be the bugger ;) /Estel |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
I'm trying to provide some useful log from start, but the funniest thing is that now I'm unable to reproduce the problem anymore. (no matter if I use script to create debug log, or not). Yet, when I was hit by the bug, it looked exactly same as for sixwheeledbeast.
--- During testing, I noticed two small glitches: 1. When "silence phone on first command" is set, it works great, but vibration isn't disabled. Could it be also implemented? At the same time, it could also disable indicator LED (so, no way for "thief" to notice phone activity, without directly using it). Is it doable without too much hassle? 2. When "reply messages" is set to "none" (thus, no "reply on battery status", "reply on each command", nor "reply on keyboard open"), smscon doesn't send any messages *at all*. So, basically, deamon is working and noticing commands, yet, it doesn't answer. Only one way to make it working as it should, is to set "reply messages" to SMS, email, or both, yet, *uncheck* battery status, each command, and keyboard open (if we don't want them). Should it be working this way? If yes, what's the point of having daemon working, yet unable to send location/status/whatever? --- Thumbs up for working on it great application, thanks a lot :) /Estel |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Hopefully at least sixwheeledbeast can reproduce it. Quote:
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Quote:
Ho ever, take this with a grain of salt, as it may be user fault. To simplify "debugging" (by filtering out GPS fix related problems), after 1st fail, I switched to more straightforward command (battery status) for testing purposes. Will try to re-test that one soon. /Estel |
Re: [Announce] SMScon (control your device with SMS)
If your telecom provider did not change it seems to be a timings problem (although that does not explain why it does not happen in 0.7 :confused: ). I assume others still have the problem and I hope they help me to find it (hello sixwheeledbeast :) ).
|
Re: [Announce] SMScon (control your device with SMS)
Sorry, I haven't forgotten.
I will get back to you when I next see my friend to borrow his N900 (master number). Haven't got another phone to test with ATM. |
All times are GMT. The time now is 04:23. |
vBulletin® Version 3.8.8